homepage Welcome to WebmasterWorld Guest from 54.205.188.59
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Javascript-type dropdown without Javascript in HTML?
How is this done?
sfgirl




msg:3114853
 11:56 pm on Oct 9, 2006 (gmt 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 :)

 

penders




msg:3114919
 1:21 am on Oct 10, 2006 (gmt 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".)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved