Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframe to iframe

Status
Not open for further replies.

Manic

Programmer
Joined
Feb 28, 2001
Messages
343
Location
GB
right here we go.

I have a list of links that appear in one iframe (called list) I want to get these to open in the second iframe (called news).

I have tried the usual naming and link conventions but it doesnt seem to want to work.

any ideas ??
Manic
-----------------------------
I've broken it again !!
-----------------------------
lee.gale@virgin.net
 
Hello Manic!

You have to give names to your iframes and then set target attribute of your links.
Here is an example:
<iframe src=&quot;some_file_1.htm&quot; width=&quot;300&quot; height=&quot;300&quot; name=&quot;leftFrame&quot;></iframe>
<iframe src=&quot;some_file_2.htm&quot; width=&quot;300&quot; height=&quot;300&quot; name=&quot;rightFrame&quot;></iframe>

so your iframes have names, now you may call it frome you link.
<a href=&quot;some_file_3.htm&quot; target=&quot;rightFrame&quot;>first
link</a>

Goodd Luck!

P.S. Please use Reference (Window > Reference) and you'll easily find answers to most of your questions! Let DW help you :-)
 
thanks for the help.

I had the items named but the links were created from code and a database.

I had to play around with that for a while to get it working.

Now onto the next set of stuff

Manic
-----------------------------
I've broken it again !!
-----------------------------
lee.gale@virgin.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top