iframe |
![]() ![]() |
iframe |
Jun 2 2008, 06:02 PM
Post
#1
|
|
|
AKA RockIt Studios ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 2,286 Joined: Jun 2006 Member No: 421,809 |
mmk, if I have an iframe on my website, is it possible to go from something like this:
to this: incase you haven't figured out what i'm talking about: the links. the first page is just those links in the iframe. on the second page (when you click one of those said links), it opens that page in the iframe, but also the links outside of the iframe, without re-loading the entire page. if it's possible, how can i do it? if it's not possible, any suggestions? |
|
|
|
Jun 2 2008, 10:27 PM
Post
#2
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 |
I believe it's something like....
CODE <a href="url" target="frame">link</a>
|
|
|
|
Jun 3 2008, 08:15 AM
Post
#3
|
|
|
AKA RockIt Studios ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 2,286 Joined: Jun 2006 Member No: 421,809 |
that's not what i'm talking about. that's obviously how to get the iframe to work. i know how to get the content in the iframe when you click a link, but how do you load something outside of the iframe when you click a link, as well as the main content in the iframe? i just used the links as an example. i want to be able to have my links in the iframe by default (i know how to do this), but when i click one, i want the contents of the link inside the iframe, as well as the other links outside of it. catch my drift? :]
|
|
|
|
Jun 3 2008, 09:19 AM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 323 Joined: Dec 2007 Member No: 601,314 |
You can only change the content on the inside of the iframe.
|
|
|
|
Jun 3 2008, 04:58 PM
Post
#5
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 |
Oh, sorry. I wasn't clear on what you were asking.
To be honest, I don't think you can do that. Because when you "change the outside of the iframe," you're essentially changing whatever page you're on / going to a new page. It would be basically linking to another page that has a different frame in it, but I'm not sure if that's what you're looking for. Perhaps you could use the code that people use to offer different themes for their sites? I don't know what that is, though, sorry.... although I think that wouldn't change the content in your frame, either. |
|
|
|
Jun 5 2008, 10:06 AM
Post
#6
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() Group: Duplicate Posts: 2,374 Joined: Feb 2004 Member No: 3,760 |
I'm pretty sure you can only change what's inside the iframe.
If you used php instead of iframes, you can get the effect that you're looking for. |
|
|
|
Jun 5 2008, 11:11 AM
Post
#7
|
|
|
AKA RockIt Studios ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 2,286 Joined: Jun 2006 Member No: 421,809 |
ah. ok. i didn't think it was possible with iframes, but i thought i would go ahead and ask anyways, but i thought of something else to do. thanks for all the input. :]
close? |
|
|
|
![]() ![]() |