SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 12th, 1999, 12:06 PM
BigMac
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I have a site built on frames, and I would like to make sure that if people visit a page after i.e. getting a link to it from a search engine, the page will be opened in the frameset I meant for them to belong to, and not as a "stand-alone" page.
Is there a javascript-way to do this?

Reply With Quote
  #2  
Old September 12th, 1999, 03:33 PM
Bjoern
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hi BigMac!

You could check the location of the topframe (wich should be your frameset-page). If the url is different you could set it to your frameset-page.
Code could look something like this:
if (top.document.location != whatever_url.htm)
{
top.document.location = whatever_url.htm
}

regards
Bjoern

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > how do I make sure a page opens in a framset


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway