Reply
loading top frame of a page
Old 06-10-2005, 04:39 PM loading top frame of a page
ChancesAre's Avatar
Skilled Talker

Posts: 84
How do i make a page load a top frame? Coz i have these pages that loads in a frame. But sometimes the url of the pages inside the frame gets opened tru search engine links. Thats why i need these pages to load the top frame on their own.
ChancesAre is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-10-2005, 08:28 PM
chrishirst's Avatar
Super Moderator

Posts: 13,511
Location: Blackpool. UK
Self Referencing Frameset
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-28-2005, 07:39 PM
Skorch's Avatar
Super Talker

Posts: 115
Location: California
OPEN FRAMESET< FORCED
<script>


if (parent.location.href == self.location.href){
window.location.href = 'index.html'
}

</script>

this script will force any page to open the named page, in this case your frameset. It will not load any other pages than what your frame document opens. Add some content as a spider/robot will ignore the reload command, I think.
__________________
Check out my Cliff Diving website!
Skorch is offline
Reply With Quote
View Public Profile Visit Skorch's homepage!
 
Reply     « Reply to loading top frame of a page
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11289 seconds with 12 queries