Forum Moderators: open

Message Too Old, No Replies

javascript to put orphaned frame pages into frameset

help need with frames javascript.

         

stevenjm

7:12 am on Sep 25, 2003 (gmt 0)

10+ Year Member



Hi all, trying to come up with an idea for a javascript and having no luck.

I am trying to write a script for getting an orphaned page to load within its parent - as opposed to just loading the parent with the default frame src pages.

What I have tried is writing a script to detect the reffering url ,make sure it belongs to mysite.com/ or whatever and if it does load the parent with parent.main being the reffering page.

I tried adding the script within the frameset tags of the parent page and used a redirect on each child to the parent and had no luck - wishful thinking I guess.

Any ideas would be much appreciated.

tedster

2:18 pm on Sep 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think we have just what you need here:
[webmasterworld.com...]

See Message 21 "FORCE MANY PAGES INTO FRAMES with one simple script"

stevenjm

10:51 pm on Sep 25, 2003 (gmt 0)

10+ Year Member



Thanks a lot. Thats an idea I would not have come up with. :)