Rollover image links - eek...why aren't they working??

This is a discussion on "Rollover image links - eek...why aren't they working??" within the Web Page Design section. This forum, and the thread "Rollover image links - eek...why aren't they working?? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 14th, 2007, 22:21
New Member
Join Date: Aug 2007
Location: Berkhamsted
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question Rollover image links - eek...why aren't they working??

Hi

i've created a test page, which i am currently hosting within my own website. the link is http://www.n-design.eu/test/index2.html. BUT!! the menu rollover links don't work!! I just can't figure out why!. It is an image rollover that doesn't roll over!!

The HTML for the link (first one, home button) is:

<td><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/menu2/home2.png',1)"><img src="images/menu2/home1.png" alt="Home" width="100" height="25" border="0" /></a></td>

I've compared it to another site i built where the rollover links worked, and the HTML is exaxtly the same, so i would be grateful for any advice as to why it won't roll over!

Thanks,
Nova
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 14th, 2007, 22:46
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover image links - eek...why aren't they working??

Hmm, sounds like a Dreamweaver auto-generated code! Here's what I say. FORGET IT!!! That sort of code requires javascript! And what's worse, it's in a table! Yuck! No offense but this is a terrible way to make navigation. What you should use is CSS with a <ul>. It's much easier! Look at this tutorial for starters... If you have problems, I'll be glad to help.

Cheers,
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 14th, 2007, 22:47
Most Reputable Member
Join Date: Dec 2006
Location: San Francisco
Age: 57
Posts: 1,567
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover image links - eek...why aren't they working??

uh, do you have your images linked to the page you want them to go to?
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 14th, 2007, 22:52
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover image links - eek...why aren't they working??

Oh, one more thing: HOLY CRAP! You have 125 validation errors! Take a look. Those need to be fixed...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Nov 14th, 2007, 23:05
New Member
Join Date: Aug 2007
Location: Berkhamsted
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover image links - eek...why aren't they working??

it was created in dreamweaver, but about 80% of websites are created in DW, so there's no need to assume it will automatically be wrong. here is another site i created (in DW) the day before where the links do work, and the code is exactly the same..

http://www.n-design.eu/abactive/index.html

RE: the second message, the rollover images are linked to the page i want them to go to, although most of the pages are not actually created yet. that doesn't seem to matter though - i have tested it by adding the original index page to the test folder and the home button still doesn't work. see this, though the majority of files have not been copied over....

http://www.n-design.eu/test/index.html

would still appeciate some advice!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Nov 14th, 2007, 23:09
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover image links - eek...why aren't they working??

OK, what browser are you using? If you happen to be using Firefox, use Tools>Options>Content (Globe), and uncheck "Enable JavaScript". Now, go to http://www.n-design.eu/test/index.html (the second link you posted), and see what your menu does. Nothing! So, what if someone with JavaScript disabled comes to your site and thinks 'Why don't the menu work?'. That's why css is much better.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)

Last edited by Stuart; Nov 14th, 2007 at 23:25.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Nov 15th, 2007, 08:32
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover image links - eek...why aren't they working??

Quote:
Originally Posted by supanova75 View Post
it was created in dreamweaver, but about 80% of websites are created in DW, so there's no need to assume it will automatically be wrong.
It is estimated that over 95% of websites are created with invalid (X)HTML.

That's invalid, also known as wrong. This is not a matter of taste or judgement; if your code is invalid, then it's simply wrong.

To cope with all this crud, browsers have sophisticated error-correcting routines, which in the absence of valid code attempt to guess what the author intended.

Nevertheless, they often guess incorrectly. Moreover, different browsers, and new versions of old browsers, make different guesses.

The most effective way to ensure consistent and stable results across browsers is to write valid code. With valid code, browsers do not need to guess what you meant. Admittedly IE6 will still be a problem, requiring special attention; IE7 less so.

Last edited by MikeHopley; Nov 15th, 2007 at 08:35.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Nov 15th, 2007, 12:47
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover image links - eek...why aren't they working??

Loose the JS ... you don't need it.

We have a great tutorial on this subject in the Creative Coding Newsletter - CSS Hover Effects
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] multiple image rollover not restoring image snappy JavaScript Forum 4 Nov 5th, 2007 14:38
Rollover image with links on new image stoob JavaScript Forum 2 Feb 8th, 2007 22:05
image rollover renren Web Page Design 3 Feb 13th, 2006 12:54
Rollover Image Problem! edejo JavaScript Forum 2 Dec 16th, 2005 01:44
Bad day---now rollover links not working autumn_whispers2me Flash & Multimedia Forum 4 Feb 15th, 2005 12:24


All times are GMT. The time now is 20:19.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42