homepage Welcome to WebmasterWorld Guest from 54.196.199.46
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
mouse-over in different position - code for netscape?
kat




msg:601568
 12:41 am on Jun 26, 2001 (gmt 0)

Hey all,
i'm having a spot of trouble in uhm suprise "Netscape" with the mouse-over script dreamweaver creates. This is for an image to appear in a different spot when i mouse over my main links. This works fine in Internet Explorer but netscape just brings nothing up...
Is there something special i should put in my script for netscape?
To have a look what i'm talking about check out:
[216.246.64.34...] (in ie)
then the dreaded netscape..
If anyone could help, it would be greatly appreciated.
Thanks a bunch,
Kat

 

tedster




msg:601569
 3:50 am on Jun 26, 2001 (gmt 0)

Nice looking design, kat.

You've stumbled onto a current hobby of mine — trying to update the Dreamweaver JavaScript for mouseovers. The bad news is, the code you have doesn't work in Explorer 6 either. BTW, it works fine for me in Opera.

I have inherited a couple sites with similar problems (I don't use Dreamweaver personally.) They use text, rather than images, on mouseover — but the failure on level 6 browsers is the same. I haven't had the time to focus on the problem to the degree of resolving it, but I know there are tons of sites out there that are going to fail in the next round of browsers.

At least your design degrades gracefully, and the mouseover images aren't required functionally, but it sure would be nice to get cross browser code working.

I'll let you know if I find definitive answers, and in the mean time, maybe someone else will come along who has resolved it for us both.

kat




msg:601570
 5:58 am on Jun 26, 2001 (gmt 0)

Geez, number 6 is out already.. i've been stuck in ie5 for ages.. i best upgrade.. but is it still buggy or is the latest a-okay??

Phewwy glad to see it's okay in Opera..thats one i don't get to check.

Is there a html editor like Dreamweaver that makes codes that can actually work in other browsers. You'd think it would be um... fundamental for Dreamweaver to have cross browser capabilities for such functions like simple mouse-overs, i cant believe it doesn't work.
Anyways..it's got me stumped too.. glad i not the only one for a change heehehee.. well if ya have anymore luck with it Tedster, please let me know and i'll do the same.

Steph




msg:601571
 7:51 am on Jun 26, 2001 (gmt 0)

try to not put the mouseover, mouseout,... in the image tag but in the a href tag, and it will work on netscape (to me it works fine).
ex :
<a href="XXXXXX.html" onMouseOut="....." onMouseOver="....."><IMG SRC="images/XXXXX.jpg" name="XXXXX" alt="XXXXXXX" ......></a>

Hope this work for you to

PS : it would work on IE to, but i only have a 5.5 version

tedster




msg:601572
 1:14 am on Jun 28, 2001 (gmt 0)

Apologies to all — kat's page works fine in Explorer 6. I had turned off javascript (and forgot that I did).

I'm pretty sure that Steph's observation is on the money; put the event handlers in the anchor tag, rather than in the image tag.

kat




msg:601573
 11:14 pm on Jun 28, 2001 (gmt 0)

Thanks heaps Tedster and Steph,
you've helped me heaps.. i appreciate that.
Ya it does work in the anchor tag, but made nasty spaces between my other images tho, but
I will have more of a play with it, and get it right!

Thanks again, this is very useful information for me...
cheers

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved