This is a discussion on "Javascript menu - does not work on title page, but does work on other pages" within the Starting Out section. This forum, and the thread "Javascript menu - does not work on title page, but does work on other pages are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Javascript menu - does not work on title page, but does work on other pages
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Javascript menu - does not work on title page, but does work on other pages
www.bookfest.ca
I designed this site & it worked with no problems, until I tried to mess with the pages "fading" in & out. Now, on the title page, the drop down menu from the "presenters" button on the menu does not work. It does work on all the other pages in the site. I have examined the code line by line, and it seems identical to me. Any help would be appreciated. Also, when I validate the html, it gives me error messages about missing ALT tags - I don't know how to fix this. |
|
|
|
||||
|
Re: Javascript menu - does not work on title page, but does work on other pages
I can see the problem you're having, but can't find the issue. That's some seriously messy WYSIWYG code in there!
alt tags are required for accessible markup, used to describe images for those that have them disabled, or are unable to see them. For example;
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
|||
|
Re: Javascript menu - does not work on title page, but does work on other pages
Hmmm - thanks.
I corrected the "alts" - there were some graphics I didn't think needed alt tags but have now put them on - it now reads clear on the html validator. Don't know how to go about cleaning up the WYSIWYG - I have (up 'til now) used mainly design view in Dreamweaver, using "code" to fix errors I couldn't find otherwise, but I'm unsure what I can "clean up" and what I shouldn't - might be why my page "messed up" in the first place. Any suggestions? |
|
||||
|
Re: Javascript menu - does not work on title page, but does work on other pages
Errm .. don't use design view!
Sorry, but the best way to have control over your code, is write your code. Plus table layouts are considered an old fashioned technique. It might be worth checking out CSS layouts, as these make far neater code, better control and lighter, semantic markup Head over to the CSS forum, or read up at W3Schools and Sitepoint. Sorry, but I really can't find the root of this menu issue!
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
||||
|
Re: Javascript menu - does not work on title page, but does work on other pages
Ok, I had a think, and this is the best I can come up with.
Put all your Javascript in an external .js file, then link to it in your HTML in the <head> like so:
Plus, you'll get neater lighter markup and it'll be easier to mod your Javascript in the future!
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My Pages Dont Work In I.E ???? Can Anyone Help | I Look On | Web Page Design | 14 | Sep 30th, 2007 15:33 |
| Javascript Navigation Will Not Work With Firefox | cpando1974 | JavaScript Forum | 2 | Apr 1st, 2007 14:56 |
| Horizontal PopUp Menu (as z-index) on Flash does not work | blanktruth | Web Page Design | 2 | Feb 16th, 2006 09:38 |
| My javascript won't work outside of IE. HELP! | courtjester | JavaScript Forum | 9 | Nov 22nd, 2003 00:44 |