Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-18-2004, 03:08 AM   PM User | #1
nmajdan
New Coder

 
Join Date: Nov 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
nmajdan is an unknown quantity at this point
Menu Question (based on brothercake's menu)

Ok, I'm trying to implement brothercake's menu on my website. Here's the website: http://ccc.domaindlx.com/nmajdan/dev/linksdev.html. It works great when I'm using his one.html, but when I move the code into my website, as you can see, it messes up. What is going wrong?

Another question. How can I turn off a link? Meaning some of my highest level categories (ie. Ranking & Odds, Sooner Sites) should not link to anything but should just pop up the lower level menu. Any way to do this? I've tried putting in ,' ',, ,,, and null but nothing worked. I've never touched javascript before but I have very low level experience (college courses) in C, Java & VB.
nmajdan is offline   Reply With Quote
Old 11-18-2004, 06:31 PM   PM User | #2
nmajdan
New Coder

 
Join Date: Nov 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
nmajdan is an unknown quantity at this point
ok, i've made some progress. but i still have these black bars around my menu and I cant figure out how to get rid of them. and i still have the problem with turning off a link.
nmajdan is offline   Reply With Quote
Old 11-18-2004, 08:44 PM   PM User | #3
nmajdan
New Coder

 
Join Date: Nov 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
nmajdan is an unknown quantity at this point
Ok, so apparently is a Firefox issue. Works fine in IE but not FF.
nmajdan is offline   Reply With Quote
Old 11-18-2004, 08:52 PM   PM User | #4
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
Your code claims XHTML 1.0 strict via it's DTD but then it also contains <font> tags which are definitely not kosher for a "strict" page so I'd say you should start by eliminating that conflict. Try running the page through a validator and making it valid would be a good place to start on resolving this since this problem could easily be caused by that kind of mismatch between declaration and actual html.

http://validator.w3.org/check?verbos.../linksdev.html
__________________
Check out the Forum Search. It's the short path to getting great results from this forum.
Roy Sinclair is offline   Reply With Quote
Old 11-18-2004, 09:50 PM   PM User | #5
nmajdan
New Coder

 
Join Date: Nov 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
nmajdan is an unknown quantity at this point
Quote:
Originally Posted by Roy Sinclair
Your code claims XHTML 1.0 strict via it's DTD but then it also contains <font> tags which are definitely not kosher for a "strict" page so I'd say you should start by eliminating that conflict. Try running the page through a validator and making it valid would be a good place to start on resolving this since this problem could easily be caused by that kind of mismatch between declaration and actual html.

http://validator.w3.org/check?verbos.../linksdev.html
nothing like having a hundred problems with your website pointed out. I'm trying to iron out the kinks right now.
nmajdan is offline   Reply With Quote
Old 11-18-2004, 10:30 PM   PM User | #6
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
Those validator services aren't polite but they can be very valuable since they help ensure your html doesn't have problems that browsers might handle in an ambigous fashion.
__________________
Check out the Forum Search. It's the short path to getting great results from this forum.
Roy Sinclair is offline   Reply With Quote
Old 11-19-2004, 03:02 AM   PM User | #7
nmajdan
New Coder

 
Join Date: Nov 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
nmajdan is an unknown quantity at this point
well, i think i corrected most of the problems it found. it found a lot of problems with my links, but i dont think i need to worry about those. i'm still having the problem with Firefox adding huge black borders around my menu items. and i still dont know how to turn off the links. thanks for the help.
nmajdan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 09:50 PM.


Advertisement
Log in to turn off these ads.