|
|
|
|
|
|
|
![]() |
#1 |
Don't let a programmer design your front-end pages!
Join Date: Aug 2003
Location: currently on the road in CA
Posts: 781
|
![]() [sorry - I'm lazy - I'm sure I could find it on Google]
What script or function makes sure that if somebody tries to enter on a framed web site into a sub-frame, that the entire frame set is loading? Typical sample set-up: top header frame, left navigation frame, large center content frame; someone links (only) to the center content frame, but when a visitor enters I want to make sure that all 3 frames are displayed! THANX! ![]()
__________________
Have a nice day! ![]() |
![]() |
![]() |
![]() |
#2 |
Bonged
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
|
[sorry - I'm lazy - I can't be bothered answering!]
![]() DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<< DangerDave.com.au - Adult Links to Free Porn |
![]() |
![]() |
![]() |
#3 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Put this between your head tags. Replace the Apple URL with the URL of your frame set.
<script language="JavaScript"> <!-- onload=function(){ if( document.location == top.location ) { top.location.replace("http://apple.com/"); } } //--> </script> |
![]() |
![]() |
![]() |
#4 |
Bonged
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
|
![]() but I am unsure of the syntax... DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<< DangerDave.com.au - Adult Links to Free Porn |
![]() |
![]() |
![]() |
#5 | |
Don't let a programmer design your front-end pages!
Join Date: Aug 2003
Location: currently on the road in CA
Posts: 781
|
![]() Quote:
__________________
Have a nice day! ![]() |
|
![]() |
![]() |
![]() |
#6 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
The only problem with mine is that if they have javascript turned off it doesn't work.
This is how Adobe does it in Photoshop's help files so I'm guessing it is about the best way to do it even if there is another way of doing it. I love/hate frames. |
![]() |
![]() |
![]() |
#7 |
Bonged
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
|
Depending on the site... you could put the framses in a sub-dir and htaccess surfers back to the index?
just a thought... DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<< DangerDave.com.au - Adult Links to Free Porn |
![]() |
![]() |
![]() |
|
|