Click to See Complete Forum and Search --> : frames within frames


Treke
09-07-2004, 03:40 PM
With as much as Ive done already, I feel foolish asking but...how do I make frames within frames so my customers dont get ost out of my site? I cant find the script on javascript source. Please help!

Jona
09-07-2004, 05:52 PM
This is a very interesting accessibility question. :rolleyes:

You shouldn't disallow people from leaving your site. Why do you want to do that, anyway?

Treke
09-07-2004, 09:39 PM
I dont necessarily want to "disallow" them from leaving my site. I just want my links to appear within my website frames so they dont loose track of my site while browsing my links. Does that make more sense? Im sorry if this isnt an Accessability question. I wasnt sure where to post it.

Jona
09-07-2004, 10:44 PM
Is your site a framed site, or do you want to open a new window with a frame that's yours and a frame of another site, or do you want to reload the same page (which is not framed) in a frameset with navigation on one side and the other site on the other?

Treke
09-07-2004, 10:55 PM
I want to open a new frame with a frame that mine with the new link (site) within it. Go to my site, donnawilliams.org and see what happens when you click on a link.....my site goes away. I would like my site to stay in the background, or box/frame in the new (site)window, like this site..
http://fl.living.net/realtor/1162014
Thanks for helping by the way.......D

Jona
09-07-2004, 11:44 PM
That's not a frame, it's a new window. Do you want your links to open in a new window?

Treke
09-08-2004, 05:21 PM
Yes, so long as the client doesnt loose my site in the background. Or if it can open up "within" my site frame, like the Planet Realtor one. http://fl.living.net/realtor/1162014

DaveSW
09-09-2004, 07:00 AM
moved to general

davidbrent
09-09-2004, 09:15 AM
if i am thinking what you mean by this then this is the solution


navigation

<a href="blah.html" target="mainFrame"> Link </a>



for your content,
<frame src="main.html" framename="mainFrame" frameborder="0"> Your browser does not support frames! </frame>


its been a long time since i have worked with frames so thisprobably is wrong. what about iframes?

Best Wishes,
David

Jona
09-09-2004, 07:44 PM
I don't recommend IFrames, and I believe she wants to open a new window but doesn't know what one is.


<a href="http://www.somesite.com/" onclick="window.open(this.href,'child','width=400,height=400'); return false;">SomeSite</a>