iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Visual Design > Your Design and Layout

Reply
 
LinkBack Thread Tools
Old March 21st, 2008, 12:50 PM   #1
New Member
 

Join Date: Mar 2008
Location: Nanaimo, BC, Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Crystal Phoenix is on a distinguished road
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.
Crystal Phoenix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 21st, 2008, 03:48 PM   #2
Aso
Most Reputable Member
 

Join Date: Oct 2007
Location: UK
Posts: 1,633
Blog Entries: 2
Thanks: 22
Thanked 84 Times in 79 Posts
Rep Altering Power: 0 Aso is on a distinguished road
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;
Code:
<img src="cow.jpg" alt="A Cow" width="..." height="..." />
Aso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 21st, 2008, 04:05 PM   #3
New Member
 

Join Date: Mar 2008
Location: Nanaimo, BC, Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Crystal Phoenix is on a distinguished road
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?
Crystal Phoenix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 21st, 2008, 04:28 PM   #4
Aso
Most Reputable Member
 

Join Date: Oct 2007
Location: UK
Posts: 1,633
Blog Entries: 2
Thanks: 22
Thanked 84 Times in 79 Posts
Rep Altering Power: 0 Aso is on a distinguished road
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!
Aso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 24th, 2008, 04:40 PM   #5
Aso
Most Reputable Member
 

Join Date: Oct 2007
Location: UK
Posts: 1,633
Blog Entries: 2
Thanks: 22
Thanked 84 Times in 79 Posts
Rep Altering Power: 0 Aso is on a distinguished road
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:
Code:
<script type="text/javascript" src="http://www.bookfest.ca/path/to/script.js"></script>
That way, every page is using the exact same javascript, and it'll be easier to deduce the problem (if it still exists).

Plus, you'll get neater lighter markup and it'll be easier to mod your Javascript in the future!
Aso is offline  
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

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
My Pages Dont Work In I.E ???? Can Anyone Help I Look On HTML, XHTML and CSS 14 September 30th, 2007 11:33 AM
Javascript Navigation Will Not Work With Firefox cpando1974 JavaScript 2 April 1st, 2007 10:56 AM
Horizontal PopUp Menu (as z-index) on Flash does not work blanktruth HTML, XHTML and CSS 2 February 16th, 2006 05:38 AM
My javascript won't work outside of IE. HELP! courtjester JavaScript 9 November 21st, 2003 08:44 PM


Search Engine Optimization by vBSEO 3.2.0 RC8