Welcome to WebmasterWorld Guest from 54.198.237.87

Forum Moderators: open

Message Too Old, No Replies

Javascript-type dropdown without Javascript in HTML?

How is this done?

     
11:56 pm on Oct 9, 2006 (gmt 0)

New User

10+ Year Member

joined:Nov 1, 2005
posts:16
votes: 0


I swear I've seen dropdown menus before that look like javascript dropdowns, and may have even been javascript dropdowns, but the content of the dropdowns was in regular code on the page - not within a javascript tag.

So either it wasnt javascript or it was hidden somehow?

I'm trying to figure out how to tell our engineers to do a dropdown menu that will be spiderable by search engines basically.

Any pointers?

Thx :)

1:21 am on Oct 10, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2006
posts: 3123
votes: 0


I'm trying to figure out how to tell our engineers to do a dropdown menu that will be spiderable by search engines...

There is no reason why a regular JavaScript dropdown shouldn't be spiderable by search engines... having unordered lists of links which is "regular code on the page" and using 'unobtrusive' JavaScript to assign events etc.

Although it is also possible to create CSS dropdown menus, often with a bit of JavaScript to help IE6 and below (because IE6 only supports the pseudo :hover class on <a> tags) - but I have also seen dropdown menus built solely with CSS (no JS at all), that work cross-browser.

(Try googling for "css dropdown" or "css drop down".)