|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > how do I make sure a page opens in a framset |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|