...

View Full Version : Creating a list WHITIN an iFrame!?



tuppaacc
11-06-2010, 08:10 AM
Ok so I've been searching for a solution for the pas 9 hours or soo but can't find one... so I just decided to post the question (Yes i'm new at this)

PLEASE HELP I CAN'T SEEM TO FIGURE IT OUT!

I want to create a list within an iFrame in this manner:




<a href="iframelist.html" target="framename">link 1</a>
<a href="iframelist.html" target="framename">link 2</a>
<a href="iframelist.html" target="framename">link 3</a>

<iframe name="framename" width="500" height="500" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>



But what I'm missing is an ID or something for each individual link that will be hosted on iframelist.html!?!?

So I want a SINGE iframelist.html for every answer instead of creating separate iframelist.html like the sample bellow:



<a href="iframelist1.html" target="framename">link 1</a>
<a href="iframelist2.html" target="framename">link 2</a>
<a href="iframelist3.html" target="framename">link 3</a>

<iframe name="framename" width="500" height="500" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

I don't whant to do this

SO my single iframelist.html will include the 3 links. I don't know how to accomplish this?

<a href="http://www.externalurl.com/link1">
<a href="http://www.externalurl.com/link2">
<a href="http://www.externalurl.com/link3">

And either of the 3 links will open within that iframe box.

so for example:

outside of the iframe

Download 1 of the 3 packages:

outside of the iframe


this is the inside of the iframeinside of the iframe

link1 link2 link3

this is the inside of the iframeinside of the iframe

I don't know if I made myself clear BUT I HOPE SOMEONE CAN HELP ME

thanks! :D

tuppaacc
11-06-2010, 10:07 PM
so no one !?

Apostropartheid
11-06-2010, 10:35 PM
index.html


...
<h1>Download one of the three packages.</h1>
<iframe src="download.html" width="500" height="500"></iframe>
...


download.html


...
<ul>
<li><a href="http://example.com">link 1</a></li>
<li><a href="http://example.com">link 2</a></li>
<li><a href="http://example.com">link 3</a></li>
</ul>
...


Why you're doing it like this, I don't understand: at best, you achieve nothing; at worst, you're going to annoy your users.

You may also want to take a look about where you put your Hs: currently they're everywhere. ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum