Old 02-07-2008, 11:11   #1 (permalink)
JesseLY
Registered User
 
JesseLY's Avatar
 
Join Date: May 2007
Location: Seattle
Posts: 33
Javascript window and SEO

If JavaScript is used for a pop-up window, to keep it to a specific size, does the script prevent the search engines from reading the content in that window?

My understanding is that it would, but I just want to make sure.

Thanks...

-Jesse
  Reply With Quote
Old 02-07-2008, 11:38   #2 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
Depends if you code the link to the popup to degrade if javascript isn't used. If you do then it will be indexed. if you don't, it probably won't.
__________________
  Reply With Quote
Old 02-07-2008, 11:49   #3 (permalink)
JesseLY
Registered User
 
JesseLY's Avatar
 
Join Date: May 2007
Location: Seattle
Posts: 33
Thanks. That's what I figured. So I disabled JS on the page and the pop-ups don't work. Can I assume that the SE's won't be able to read those pages?

How would I go about making it so it "degrades"?

-Jesse
  Reply With Quote
Old 02-07-2008, 12:22   #4 (permalink)
Bill Posters
trouble free and loverlee
 
Join Date: Mar 2003
Location: YooKay
Posts: 2,935
v basic e.g.

Code:
function doPop(url) { var newWin = window.open(url,'popup','width=500,height=300'); } … <a href="destination.html" onclick="doPop(this.href); return false;">destination</a>
  Reply With Quote
Old 02-07-2008, 12:32   #5 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
^ what bill said
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8