[WSG] pop up windows and Google

2011-05-12 Thread Bob Schwartz
I have several sites where i use pop-up windows to present certain types of 
information.

When someone does a Google search sometimes Google lists results from these 
pop-up pages.

When the searcher clicks on the Google result he gets the pop-up window as a 
stand-alone page in his browser with no links to anywhere on the actual site.

Savvy people would just delete the part after the domain in the url bar, hit 
enter and be at the site, but I'm discovering not all are savvy.

So, is anyone aware of any clever javascript that would detect if the page had 
not been opened as a pop-up and write a link to the actual site (and not write 
the link if opened as a pop-up)?
Or, any other suggestion (besides don't use pop-ups)?

Thank you,

Bob Schwartz



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] pop up windows and Google

2011-05-12 Thread tee
A simple back link should work, if the popup can be accessed in every page, 
maybe you need to link to home, if not, link to the page where the popup link 
shows.

IMHO, you may want to re-evaluate the technicality of the popup. If the 
certain types of information belong to a section of a page, you can still use 
popup, but make sure that when JS turns off, the certain types of information 
is treated as part of the page, not a link that pulls a page of content  via 
Ajax fetch (and I assume that is what you used); you can achieve this by using 
combination of simple show/hide and absolute positioning for the popup div, 
this way, there will be no issue with google search result.

tee

On May 12, 2011, at 2:14 AM, Bob Schwartz wrote:

 I have several sites where i use pop-up windows to present certain types of 
 information.
 
 When someone does a Google search sometimes Google lists results from these 
 pop-up pages.
 
 When the searcher clicks on the Google result he gets the pop-up window as a 
 stand-alone page in his browser with no links to anywhere on the actual site.
 
 Savvy people would just delete the part after the domain in the url bar, hit 
 enter and be at the site, but I'm discovering not all are savvy.
 
 So, is anyone aware of any clever javascript that would detect if the page 
 had not been opened as a pop-up and write a link to the actual site (and not 
 write the link if opened as a pop-up)?
 Or, any other suggestion (besides don't use pop-ups)?
 
 Thank you,
 
 Bob Schwartz
 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



[WSG] Re: WSG Digest

2011-05-12 Thread Mevlana Sari
Bob,

The following site may give you an idea:

http://javascript.about.com/library/blpoptest.htm

http://javascript.about.com/library/blpoptest.htmBasically, each popup
window has an 'opener'.
If the 'opener' exists, then user has come to the page via a popup, else the
user has come via another method.

Regards

Mevlana


On Fri, May 13, 2011 at 10:19 AM, wsg@webstandardsgroup.org wrote:

 *
 WEB STANDARDS GROUP MAIL LIST DIGEST
 *


 From: Bob Schwartz b...@fotografics.it
 Date: Thu, 12 May 2011 11:14:59 +0200
 Subject: pop up windows and Google

 I have several sites where i use pop-up windows to present certain types
 of information.

 When someone does a Google search sometimes Google lists results from
 these pop-up pages.

 When the searcher clicks on the Google result he gets the pop-up window
 as a stand-alone page in his browser with no links to anywhere on the
 actual site.

 Savvy people would just delete the part after the domain in the url bar,
 hit enter and be at the site, but I'm discovering not all are savvy.

 So, is anyone aware of any clever javascript that would detect if the
 page had not been opened as a pop-up and write a link to the actual site
 (and not write the link if opened as a pop-up)?
 Or, any other suggestion (besides don't use pop-ups)?

 Thank you,

 Bob Schwartz


 **
 Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 **





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***