iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2008, 01:38 PM
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?
Reply With Quote
  #2 (permalink)  
Old 05-07-2008, 08:00 PM
Uncle Dog's Avatar
WebProWorld Pro
 
Join Date: Apr 2008
Location: Scotland
Posts: 269
Uncle Dog RepRank 5Uncle Dog RepRank 5Uncle Dog RepRank 5Uncle Dog RepRank 5Uncle Dog RepRank 5Uncle Dog RepRank 5
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
  #3 (permalink)  
Old 05-27-2008, 05:38 PM
WebProWorld Member
 
Join Date: Jun 2004
Location: U.K. - Sussex
Posts: 50
thebigdishman RepRank 0
Default Re: How do I make sure my framed documents are displayed inside their frameset?

You can use the rarer IFRAME to embed frames within a TABLE cell.
__________________
Regards
The Big Dish Man bdfoto99@yahoo.co.uk
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

BB 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 01:24 PM
controlling frameset with javascript pagetta Web Programming Discussion Forum 6 06-28-2005 11:36 AM
framed pages markhallgate Search Engine Optimization Forum 2 07-08-2004 03:45 PM
Frameset Problem milan1216 Graphics & Design Discussion Forum 0 04-27-2004 09:11 AM
link to pages within frameset??? adyblain Google Discussion Forum 6 01-09-2004 03:14 PM


All times are GMT -4. The time now is 11:25 AM.



Search Engine Optimization by vBSEO 3.3.0