Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,073
    Thanks
    11
    Thanked 98 Times in 96 Posts

    javascript + mozilla issue

    in this page ..(I have stripped out all the content to make it a liitle more readable) http://www.consciousliving.net.au/test.html

    the mouseovers on the 'Practitioners','courses' and 'articles' links all do strange things in Mozilla and IE5 for mac

    What puzzles me most is that this whole page is generated by script, so if one mouseover does not work then none of them should ? but its just those 3 links?

    anyone see where I stuffed up? (in this regard at least )
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    349
    Thanks
    2
    Thanked 0 Times in 0 Posts
    what sort of strange things? --> try to be more specific as I am not on a mozilla or mac..yet, if you can describe the issue,,we might have run across it before...

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I also see the error on Moz for Windows. I'll check it out and get back to you...

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You've given the wrong images the wrong ID's.

    This is what you've got:
    Code:
    <tr><td><img src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog1.html" onmouseover="iswap('uber1');">
    <img id="uber1" src="img/uber1.gif" alt="" border="0" /></a></td></tr>
    
    <tr><td><img id="uber2" src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog2.html" onmouseover="iswap('uber2');">
    <img id="uber2" src="img/uber2.gif" alt="" border="0" /></a></td></tr>
    
    <tr><td><img id="uber3" src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog3.html" onmouseover="iswap('uber3');"> 
    <img id="uber3" src="img/uber3.gif" alt="" border="0" /></a></td></tr>
    
    <tr><td><img id="uber4" src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog4.html" onmouseover="iswap('uber4');">
    <img id="uber4" src="img/uber4.gif" alt="" border="0" /></a></td></tr>
    This is what you should have:
    Code:
    <tr><td><img src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog1.html" onmouseover="iswap('uber1');">
    <img id="uber1" src="img/uber1.gif" alt="" border="0" /></a></td></tr>
    
    <tr><td><img src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog2.html" onmouseover="iswap('uber2');">
    <img id="uber2" src="img/uber2.gif" alt="" border="0" /></a></td></tr>
    
    <tr><td><img src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog3.html" onmouseover="iswap('uber3');"> 
    <img id="uber3" src="img/uber3.gif" alt="" border="0" /></a></td></tr>
    
    <tr><td><img src="img/bull_smallO.gif" border="0" /></td>
    <td><a href="catalog4.html" onmouseover="iswap('uber4');">
    <img id="uber4" src="img/uber4.gif" alt="" border="0" /></a></td></tr>
    Hope this helps!

  • #5
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,073
    Thanks
    11
    Thanked 98 Times in 96 Posts
    agghhhhhh - bangs head against wall

    I thought that all of the left hand menus were generated by (PHP) script which is why I was so totally confused as to why all but three worked...

    looking at the page builder though those first 4 'uber' categories are hand coded.. so I stuffed up


    Cheers Skyzyx ! - I stared at that code for I dont know how long and did not see that ! , much appreciated.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •