Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Image Swaps not working correctly... Need help please
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Draemus




PostPosted: Sun Nov 23, 2003 11:39 pm   Post subject: Image Swaps not working correctly... Need help please

Ok, for the layout on this page there is one page, and on that page is the banner for the site with the links to each section. Now, displayed on the banner is the name of each section, with colourful photoshopped text. This is a separate image.

The problem is that I'm trying to have it so that when you click a link it loads the file into the iframe (where the content goes, underneath the banner) and also changes the location image as well. Of course, the links are also images and there are image swaps on them for onMouseOver and onMouseOut. Here is the code I have:

code:
<div id="header"><img src="images/main_big.jpg" name="contentimg" width="193" height"50"></div>

<div id="mainbutton"><a href="http://neurotic.sabatos.net/band/news.php" onMouseClick="document.contentimg.src='images/main_big.jpg'" target="content" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Main','','images/main_button2.gif',1)"><img src="images/main_button1.gif" alt="News" name="Main" width="105" height="17" border="0"></a></div>


Ok, that's for the one button. The others are similar, but with different filenames for images, obviously. Anyway, could someone please tell me why it won't work? Is there some kind of conflict with the double image swaps, or is it some other mistake I can't figure out.

Thanks in advance.

P.S.

Yes I let Dreamweaver do the image rollovers for me, because I'm lazy.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: