navwin » Tech Talk » How Do You Spell HTML? » image mouseovers
How Do You Spell HTML?
Post A Reply Post New Topic image mouseovers Go to Previous / Newer Topic Back to Topic List Go to Next / Older Topic
Local Parasite
Deputy Moderator 10 Tours
Member Elite
since 2001-11-05
Posts 2527
Transylconia, Winnipeg

0 posted 2002-12-12 12:40 PM


well I just discovered something that bothered me...

I niftied up my website by making the images change on mouseover.  I used a javascript code that I just copy/pasted from a web help page on the subject (I don't know anything about javascript at all)
http://solutions.forplanetearth.com

The thing is, the mouseovers work fine for me (I use netscape), so I assumed they were perfectly fine.  But my friend using IE said she had to try really hard to click the little dot in the middle of the page to enter my site.  

Seems IE doesn't support javascript or something?  Is there any other way to get the mouseover effect in my images?  Or is there just something I'm doing wrong?

© Copyright 2002 Brian James Lee - All Rights Reserved
Christopher
Moderator
Member Rara Avis
since 1999-08-02
Posts 8296
Purgatorial Incarceration
1 posted 2002-12-12 02:26 AM


I'm using IE v6.0 and have no problem seeing it or using it, Brian.

Both IE and Netscape support JavaScript. The problem is that they support it differently - both as individual browsers and based on version. I'm going to assume that your friend has an older version of IE and it doesn't comply with the JavaScript code you used, though Netscape does. Have you checked older versions of Netscape? You may have a problem there as well.

If you'd like, you can paste the code into here and we can look at it to see if we can make it more cross-browser compliant.

Local Parasite
Deputy Moderator 10 Tours
Member Elite
since 2001-11-05
Posts 2527
Transylconia, Winnipeg
2 posted 2002-12-12 03:54 AM


Thanks Chris, but I just fixed it... my friend Katie helped me.

It was a problem with the codes.

Next time be a bit quicker.  

Christopher
Moderator
Member Rara Avis
since 1999-08-02
Posts 8296
Purgatorial Incarceration
3 posted 2002-12-12 04:52 AM


rofl - glad you got it. What was it?
Ron
Administrator
Member Rara Avis
since 1999-05-19
Posts 8669
Michigan, US
4 posted 2002-12-12 09:30 AM


Rollover code guaranteed to work with every browser would probably run close to the length of a small book. And you know what? It would still bomb when a visitor hit your page with JavaScript turned off (as about 8 percent of surfers still do).

When testing your pages, the last test should be to turn off both JS and images to make sure the functionality of the page remains intact. It's okay to be fancy, but your web site shouldn't depend on fancy, especially for navigation. Equal Opportunity Browsing for all.

Local Parasite
Deputy Moderator 10 Tours
Member Elite
since 2001-11-05
Posts 2527
Transylconia, Winnipeg
5 posted 2002-12-12 12:41 PM


She just told me to change "img1" to "pics1" and get rid of some other things I had in there with values of 0.  Then it seemed to work fine for some reason I myself have no clue about.

I'm just learning CSS... Javascript is too much for me.  

Okay Ron, in that case, how do I do browser detection?

There's something you guys can help me out on.      


[This message has been edited by Local Parasite (12-12-2002 12:44 PM).]

Post A Reply Post New Topic ⇧ top of page ⇧ Go to Previous / Newer Topic Back to Topic List Go to Next / Older Topic
All times are ET (US). All dates are in Year-Month-Day format.
navwin » Tech Talk » How Do You Spell HTML? » image mouseovers

Passions in Poetry | pipTalk Home Page | Main Poetry Forums | 100 Best Poems

How to Join | Member's Area / Help | Private Library | Search | Contact Us | Login
Discussion | Tech Talk | Archives | Sanctuary