![]() |
[html/possible other] <iframe> help...
Alright, here's the question...
I have a page that I've set up an <iframe> on. Now, that works and is fine and dandy, but, I need to know if there is a way to open up another page within it. Basically, I have this, <a href="#000">1</a> <a href="#001">2</a>, now how exactly could I make clicking on number 2 anchor to page two? <iframe id="000" name="000" width="85%" height="100px" src="page0.html"></iframe> <iframe id="001" name="001" width="85%" height="100px" src="page1.html"></iframe> I have a feeling it is possible, but I think it may require other scripting methods. By the way, if you know of a way to do it in php, that will work as well, or even python and perl for that matter. |
I believe that the name attribute on an iframe is used as the window name, so simply adding a target attribute to the link indicating the name attribute of the iframe you want to target should do the trick. That said, iframes suck.
|
Quote:
|
Are you pulling from the same template for all the pages, or are there 28 copies? What problem are you having with displaying the name?
|
Quote:
Now, I've learned to use the login from phpBB3 to log in. Issue, I haven't figured out how to display a name such as, "Welcome Goodlookinguy" "Logout," in the top right or left corners. |
Well how can you tell if they're logged in?
|
Quote:
|
Sounds like fun. I know for vB, you pretty much just have to include gobal.php to get access to all the good stuff.
|
All times are GMT -6. The time now is 10:22 AM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.