SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast jrphil's Avatar
    Join Date
    Jul 2004
    Location
    El Cajon, CA 92020
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    will this mouseover work on Netscape?

    Here's my code for a mouseover I'm doing at http://brookeolivares.com/main.html

    Code:
    function swapImage(imgName, imgSrc){
    	//alert("got here");
    	if (document.images){
    		//alert(imgName + " " + imgSrc);
    		document.images[imgName].src = imgSrc;
    	}
    }
    
    ...
    <td>
    		<a href="#" onmouseover="swapImage('Canvas', 'images/illBrooke.jpg');"><img src="http://brookeolivares.com/thumbs/illBrooke.jpg" border="0"><div class="clearer"></div></a>
    		</td>
    It works on my home computer. I'm new to page design. Will it work on netscape? I've read that different browsers use different DOMs. Does anyone know for sure?

  2. #2
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't post duplicates. And the simple answer to your question is download Netscape and test for yourself.
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky


Bookmarks

Posting Permissions

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