NetTalk Central

Author Topic: Browse Row Selected Color with NT6.35  (Read 4084 times)

springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Browse Row Selected Color with NT6.35
« on: June 28, 2012, 03:56:48 PM »
When this app was running on NT5, I used the template to select a color to highlight a netbrowse row that was clicked.  Worked great.

Just updated the app to NT6 and want the same effect - a specific row background color when the browse row is clicked.  I've created a CSS named ms-browse-selected-color.  It's contents are:

.ms-browse-selected-color
{
background-color:#00FF00;
}

That color (00FF00) is a standard web lime green color. 

For testing, I've entered 'ms-browse-selected-color' in the browse's CSS tab in the Color section in the Highlighted Style field.

I've also unchecked the combining and compressing check boxes in the web server, and I have the CSS file in the \web\styles folder. 

The result is no green highlight when the row is clicked.  When I look at the web page source in firebug for the clicked row, the CSS file is not listed.

What am I overlooking?  BTW - this is a static page with dynamic content application in case that might be a factor in NT6.

Any suggestion?
Mike Springer

springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Re: Browse Row Selected Color with NT6.35
« Reply #1 on: June 29, 2012, 02:32:54 AM »
Update...
In firebug, I see that the browse with 'ms-browse-selected-color' CSS shows this for the selected row html:

<tr class="nt-browse-table-row 65280"

instead of

<tr class="nt-browse-table-row nt-browse-selected"

Does that help?


springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Re: Browse Row Selected Color with NT6.35
« Reply #2 on: June 29, 2012, 02:44:34 AM »
And, a little more...
In firebug, if I change the selected row html to replace that 65280 that the server is generating to include my CSS:

<tr class="nt-browse-table-row ms-browse-selected-color"

then the proper (desired) background color shows up for that selected row.  That seems to confirm that the CSS is correct, but that the webserver is generating that strange 65280 entry instead of ms-browse-selected-color.

And, recall that this is a static page with dynamic content, if that helps.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse Row Selected Color with NT6.35
« Reply #3 on: June 29, 2012, 03:58:18 AM »
looks like a bug.

springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Re: Browse Row Selected Color with NT6.35
« Reply #4 on: June 29, 2012, 01:44:41 PM »
Yeah, I had that feeling - but I was hoping I was doing something wrong.

I would like to see it fixed because the customer doesn't like the default grey color.  Any sense of when the fix might be available?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse Row Selected Color with NT6.35
« Reply #5 on: June 30, 2012, 03:48:17 AM »
should be fixed in the next build.
however you don't need to change the css class used to change the name of the color. Simply override the value in that css class in your own custom css file.

cheers
Bruce

springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Re: Browse Row Selected Color with NT6.35
« Reply #6 on: June 30, 2012, 03:52:57 PM »
Thanks Bruce,
I took your advice and it worked perfectly - as your advice always does.
Mike