Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image links embedded in javascript, how bad are they? 1

Status
Not open for further replies.

slickwillyslim

Programmer
May 28, 2004
25
US
currently on my website i have link buttons made of images. i thought about using some simple Jscript to make it so that onMouseover and onMouseout would toggle between two images. so, how do spiders view links that are embedded in Jscript? tnx fellas... [pipe]
 
if the links are simply a standard href with onMouse events such as <a href="url" onMouseOver="swapimage(...) etc it will be crawled.
What doesn't get crawled are scripted methods using document.write to create the link or the jump menus where the link is in a document.location("url") etc

general rule, if you can view source and read <a href="url"... etc it will be fine.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
thanks once again Chris, you are truly a head-full of quality information. hey man, i love that quote about indifference... that's irony in its purest form. i wonder who thought it up? anyway thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top