House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Issue: Change row color on mouse over in Netscape 4 7

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hello Everyone:
James Blaha
12/17/02 01:22 P
Jon,
James Blaha
12/17/02 03:43 P
>get it to work in Netscape 4.7 any ideas?
Thomas Chiverton
12/18/02 05:08 A
Costas Piliotis writes:
charlie griefer
12/17/02 03:23 P
Costas Piliotis wrote:
Jochem van Dieten
12/18/02 04:57 P
Steve,
James Blaha
12/18/02 05:28 P
Steve,
James Blaha
12/18/02 05:34 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Blaha
12/17/2002 01:22 PM

Hello Everyone: I’ve spent too many hours on this I hit a wall. I’m using the code below to alternate row color for my table and when you mouse over each row it should change the background color for the row. It works in IE 5+ and Netscape 6+ but I can’t get it to work in Netscape 4.7 any ideas? <TR valign="top" bgcolor="###iif(currentrow MOD 2,DE('BFCCE6'),DE('D8DFE1'))#" onmouseover="this.style.backgroundColor='##FAF7B8'; window.status='My Window Message';return true;" onmouseout="this.style.backgroundColor='###iif(currentrow MOD 2,DE('BFCCE6'),DE('D8DFE1'))#'; window.status=''; return true;"> Bonus Question: I’m working within a framed page it possible when the user mouse’s over the row to send a value to a window.status for Netscape 4.7? Regards, James Blaha

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
jon hall
12/17/2002 03:28 PM

Netscape 4 does not support changing table background colors like that... -- jon mailto:jonhall@ozline.net Tuesday, December 17, 2002, 1:17:33 PM, you wrote: JB> Hello Everyone: JB> I’ve spent too many hours on this I hit a wall. I’m using the code below JB> to alternate row color for my table and when you mouse over each row it JB> should change the background color for the row. It works in IE 5+ and JB> Netscape 6+ but I can’t get it to work in Netscape 4.7 any ideas? JB> <TR valign="top" JB> bgcolor="###iif(currentrow MOD 2,DE('BFCCE6'),DE('D8DFE1'))#" JB> onmouseover="this.style.backgroundColor='##FAF7B8'; window.status='My JB> Window Message';return true;" JB> onmouseout="this.style.backgroundColor='###iif(currentrow MOD JB> 2,DE('BFCCE6'),DE('D8DFE1'))#'; window.status=''; return true;"> JB> Bonus Question: I’m working within a framed page it possible when the JB> user mouse’s over the row to send a value to a window.status for JB> Netscape 4.7? JB> Regards, JB> James Blaha JB>

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Blaha
12/17/2002 03:43 PM

Jon, Thanks for the post, I guess I'm stuck on this one. Regards, James Blaha j >Netscape 4 does not support changing table background colors like >that... > >   >

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Pete Ruckelshaus
12/17/2002 03:55 PM

You won't get it to work, NS 4.7's CSS and DHTML support is very weak. I'm also real sure that you can't use an onMouseOver event on a TR or a TD in 4.7 However, from a philosophical perspective (and I don't mean to get OT or cause a furor), if your users are about average as far as browser stats, I wouldn't even bother to offer anything beyond a basic, presentable layout in NS4.x since they are a very small minority (<5% on our site).  But that's just me, I love browsers with solid CSS support :-) Pete ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Thomas Chiverton
12/18/2002 05:08 AM

>get it to work in Netscape 4.7 any ideas? Forget about it ? http://theregister.co.uk/content/6/28601.html - "most popular browsers on the web are ... 4.  Netscape Navigator 4.0  1.1%" -- Thomas C "Does google know ?"

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Costas Piliotis
12/17/2002 03:13 PM

I'm not sure, but does nutscrape 4.7 even support dhtml?  I'm not sure it supports the onmouseover/onmouseout events...   Why bother?  Nutscrape 4.xx users are fast on the decline, so if you make it look okay for them and great for everyone else, don't worry about it... There's a tonne of sites that forego features when nutscrape users hit their sites.  Just the way it works.  If you use a crappy, four year old browser, you don't deserve the right to see the eye candy.  What's next, rollovers in Lynx? Let the flames begin! Hello Everyone: I've spent too many hours on this I hit a wall. I'm using the code below to alternate row color for my table and when you mouse over each row it should change the background color for the row. It works in IE 5+ and Netscape 6+ but I can't get it to work in Netscape 4.7 any ideas? <TR valign="top" bgcolor="###iif(currentrow MOD 2,DE('BFCCE6'),DE('D8DFE1'))#" onmouseover="this.style.backgroundColor='##FAF7B8'; window.status='My Window Message';return true;" onmouseout="this.style.backgroundColor='###iif(currentrow MOD 2,DE('BFCCE6'),DE('D8DFE1'))#'; window.status=''; return true;"> Bonus Question: I'm working within a framed page it possible when the user mouse's over the row to send a value to a window.status for Netscape 4.7? Regards, James Blaha

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
charlie griefer
12/17/2002 03:23 PM

Costas Piliotis writes: >snip< > If you use a crappy, four year old browser, > you don't deserve the right to see the eye candy.  What's next, rollovers in > Lynx? > > Let the flames begin! sorry for a meaningless post...but i just had to LOL @ rollovers in Lynx :) but for the record, i happen to agree 100%.  Well, maybe 99.8%.  I'm not terribly concerned with NS 4.x...and I don't have any intention of trying to apply styles or DHTML to my pages that will be functional in 4.x...but I do try to make sure it doesn't break the page.  I'm willing to forego the eye candy aspect...but try to keep functionality. Just my $0.02 (still LOL @ rollovers in Lynx...dunno why it's so funny, but it is) :)

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Costas Piliotis
12/18/2002 02:43 PM

I actually think it's getting to be a good time to force them to upgrade. There was a time where websites started coming along that had a minimum Nutscrape 4/IE 4 requirement.  Why not take a moment and raise the bar to IE 5 / Nutscrape 6 /Opera 6 / Mozilla 1.0...  Makes sense to me... You won't get it to work, NS 4.7's CSS and DHTML support is very weak. I'm also real sure that you can't use an onMouseOver event on a TR or a TD in 4.7 However, from a philosophical perspective (and I don't mean to get OT or cause a furor), if your users are about average as far as browser stats, I wouldn't even bother to offer anything beyond a basic, presentable layout in NS4.x since they are a very small minority (<5% on our site).  But that's just me, I love browsers with solid CSS support :-) Pete ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
12/18/2002 04:57 PM

Costas Piliotis wrote: > I actually think it's getting to be a good time to force them to upgrade. > There was a time where websites started coming along that had a minimum > Nutscrape 4/IE 4 requirement.  Why not take a moment and raise the bar to IE > 5 / Nutscrape 6 /Opera 6 / Mozilla 1.0...  Makes sense to me... Why not raise it to HTML 4 Strict, CSS Level 1 Core and DOM Level 1? Jochem

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
S. Isaac Dealey
12/18/2002 02:51 PM

----- Excess quoted text cut - see Original Post for more ----- NS 7 -- if you raise it to 6 you preclude people being able to see / use a lot of Flash MX stuff... which is funny because the Mozilla build 6 came from didn't have that problem. but it was fairly well documented on Bugzilla at the time. s. isaac dealey                954-776-0046 new epoch                      http://www.turnkey.to lead architect, tapestry cms   http://products.turnkey.to certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Steve Drucker
12/18/2002 02:55 PM

Yeah, you will not get it to work in Netscape 4.x.  The only way to swap background colors effect to work in Netscape 4.x is to make each table row a <LAYER> and then use document.write on an onmouseover event to rewrite the contents of the layer with a different color.  VERY painful.  You might want to look at the nav-bar solution we developed for www.frbatlanta.org (visit using netscape 4, then do view-source) to get a sense of what real PAIN is like! Regards, Steve Drucker CEO Fig Leaf Software w. www.figleaf.com p. (877) FIG-LEAF ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Blaha
12/18/2002 05:28 PM

Steve, Thanks for your input its greatly appreciated. I'll be sure to check out our your site you noted. Have a great holiday! Regards, James Blaha Steve Drucker wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Blaha
12/18/2002 05:34 PM

Steve, Ouch! I checked out the site that code is painful. Would you happen to have any simplified code that demonstrates this using a table? I need to create a table with this option your using. Thanks again and great job on the site! -JB Steve Drucker wrote: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

June 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference