WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2008, 12:38 PM
lukeosborne lukeosborne is offline
WebProWorld New Member
 

Join Date: Apr 2008
Posts: 3
lukeosborne RepRank 0
Default How do I make sure my framed documents are displayed inside their frameset?

Hi

I want to know about this......
How do I make sure my framed documents are displayed inside their frameset?
__________________
_____Luke
WpDental - Santa Monica cosmetic dentistry.
Reply With Quote
  #2 (permalink)  
Old 05-07-2008, 07:00 PM
Uncle Dog Uncle Dog is offline
WebProWorld Member
 

Join Date: Apr 2008
Posts: 37
Uncle Dog RepRank 0
Default Re: How do I make sure my framed documents are displayed inside their frameset?

Nobody likes frames anymore* but...
(if you'd just like them to restart at your index page)
when a page loads use javascript to detect an attribute (the title is simple) of the 'top' document that you know is the frameset. If it's not what you expect then relocate the whole lot to the frameset page.

otherwise:
pretty awkward. Depending on browser/ethics/time/security/bothered/effort

- try and find out what's calling your page before sending it (then DO/DON'T)

- on load/reload the top document you might be able to access history (previous locations) and then extract the last document url (if appropriate) and load it to the appropriate frame once everything else has loaded.

- leave a cookie, check a cookie, read a cookie, use a cookie

- call/create your frameset via cgi with variables but... that's just a very hard way of doing what other stuff does easily.

I've always liked (sensible) frames. It allowed you to load data at the start of a session (keep it) and use it to call more content without resorting to 'say that again?' & 'once more for luck' & 'oh, I say, have you seen this picture before?'

*Give it a little while and somebody'll reinvent a way of including bits of pages in other pages to make things smooth, quick and reduce demands on bandwidth... ahem!

Oh Uncle Dog... we don't like javascript! we love PHP, rss, mxm, pqr, sqvp, rsvp
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Framed top on site mm1320 Search Engine Optimization Forum 4 08-28-2006 12:24 PM
controlling frameset with javascript pagetta Web Programming Discussion Forum 6 06-28-2005 10:36 AM
framed pages markhallgate Search Engine Optimization Forum 2 07-08-2004 02:45 PM
Frameset Problem milan1216 Graphics & Design Discussion Forum 0 04-27-2004 08:11 AM
link to pages within frameset??? adyblain Google Discussion Forum 6 01-09-2004 02:14 PM


Search Engine Friendly URLs by vBSEO 3.0.0