Hey, I am trying to figure this out. The hyperlinks on my page open
up a small popup window. I have no reason to refresh the parent page
or what have you. I was living in a very happy world, with no
problems or disturbances. However, a problem has since arisen: The
search engines have indexed these popup pages. So, you load them, but
there are no links on them, and there is no parent page. Many people
would not check out the url and go to the base domain or what have
you. So, I feel I'm losing visitors. I had thought, if it's
possible, I'd like to have the popups refresh the parent page on
loading. This is not for the people visiting from within my site,
that have the parent page open, but for the ones that don't - people
who get to the popup urls from the Search Engines. Therefore, I was
wondering if it's possible to do this so that, if the parent page does
not exist (is not open), it will be loaded (in another window of
course)?
Is this possible, and if so, how would I go about this?
Thanks!! 2 1846
"Bill S." wrote Hey, I am trying to figure this out. The hyperlinks on my page open up a small popup window. I have no reason to refresh the parent page or what have you. I was living in a very happy world, with no problems or disturbances. However, a problem has since arisen: The search engines have indexed these popup pages. So, you load them, but there are no links on them, and there is no parent page. Many people would not check out the url and go to the base domain or what have you. So, I feel I'm losing visitors. I had thought, if it's possible, I'd like to have the popups refresh the parent page on loading. This is not for the people visiting from within my site, that have the parent page open, but for the ones that don't - people who get to the popup urls from the Search Engines. Therefore, I was wondering if it's possible to do this so that, if the parent page does not exist (is not open), it will be loaded (in another window of course)? Is this possible, and if so, how would I go about this?
The popped up document should check whether the reffering page is one of
yours. If not, show users your alternative message, possibly auto-redirect
(less user-friendly). A script in the popup could also check if it has an
opener (if not, it isn't a popup - I think this is what you mean with
"parent", which I find confusing because they are from the frames
terminology) but this is less reliable because some search engines alos make
their results open in a new window.
HTH
Ivo
"Ivo" <no@thank.you > wrote in message news:<40******* *************** *@news.wanadoo. nl>... "Bill S." wrote Hey, I am trying to figure this out. The hyperlinks on my page open up a small popup window. I have no reason to refresh the parent page or what have you. I was living in a very happy world, with no problems or disturbances. However, a problem has since arisen: The search engines have indexed these popup pages. So, you load them, but there are no links on them, and there is no parent page. Many people would not check out the url and go to the base domain or what have you. So, I feel I'm losing visitors. I had thought, if it's possible, I'd like to have the popups refresh the parent page on loading. This is not for the people visiting from within my site, that have the parent page open, but for the ones that don't - people who get to the popup urls from the Search Engines. Therefore, I was wondering if it's possible to do this so that, if the parent page does not exist (is not open), it will be loaded (in another window of course)? Is this possible, and if so, how would I go about this?
The popped up document should check whether the reffering page is one of yours. If not, show users your alternative message, possibly auto-redirect (less user-friendly). A script in the popup could also check if it has an opener (if not, it isn't a popup - I think this is what you mean with "parent", which I find confusing because they are from the frames terminology) but this is less reliable because some search engines alos make their results open in a new window. HTH Ivo
Thanks a lot for the info. Ok, the first option is perfect. But can
I have instead of auto direct, a full screen popup? So people that
come from within the referring page (can I do two or 3 referring
pages?), they would have a null and nothing would happen, but from
anything outside, it would load the main page as a "normal page"
popup? How would I write this? I'm not too swift at javascript, so
any pointers would be appreciated!!
Thanks!! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve |
last post by:
I'm working in PHP, but am also using JavaScript, so perhaps there is
a better way to do this using more PHP code......
I setup a search screen for my database, the user enters data and
submits a form via POST
From that I get a results list screen, based on data I submit via a
form from the search screen
In the results list screen, I...
|
by: Scott |
last post by:
I have a clickable graph that resides on page 1. If user clicks a data point
on the graph, the page runs again yeilding a 2nd graph that shows a more
detailed graph.
Problem is, I have a recordset table on the 2nd graph page and because the
user gets to it by clicking the graph, the page doesn't properly post to
render the recordset table....
|
by: JPL Verhey |
last post by:
Hi,
I have a little test script in a pop up window. The pop up page
refreshes every 2 seconds. I want it to check with every refresh if a
certain page (log3.htm) is loaded in the opener window. If that is the
case, another page (log4.htm) must be loaded in the opener window.
In pop up page:
<script>
|
by: Judy Ward |
last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based authentication and think I know how to accomplish this part. My problem is that the top frame does not reload to get to the "If...
|
by: darrel |
last post by:
I have this structure:
mypage.aspx (class = mypage)
myusercontro.ascx
On the mypage.aspx I can declare a variable:
animal = "monkey"
I can read this from the UC by simply doing this:
mypage.animal
| |
by: Ben Schumacher |
last post by:
How can I refresh the parent page from a popup window that was created using
window.showmodaldialog? I would like to accomplish this using vbscript if
possible.
|
by: Jessica |
last post by:
Hi,
I'm sorry if this has been asked before. I'm a designer and occasional
javascript hacker, not a javascript writer. I cannot believe I have
spent over 4 hours searching for this on Google and nothing I have found
solves this silly little problem.
Background
----------
I have been assigned a poorly-designed site to SEO. It has a...
|
by: =?Utf-8?B?Sm9obg==?= |
last post by:
Hi,
I used the following code to refresh the parent page, and it works very well
(Thanks to Peter Bromberg ").
Response.Write("<script language='javascript' type='text/javascript'{
window.opener.location = 'Default.aspx?Reload=100'; }</script>");
Response.Write("<script language='javascript' type='text/javascript'{
self.close();...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |