Jump to content

[SOLVED] Changing IFRAME form link in main frame.


the_oliver

Recommended Posts

I have solved both problems just today for my website.  I will help you out.  Okay as far as the loading content into iframe.  here it is. 

 

<iframe src="thing.html"  name="content"></iframe>   

 

The name is the important part.  now in the link do this:

<a href="homepage.html" target="content">

 

the target and name should be the same.

 

to auto adjust the height.  go here:

 

http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm  (Id and name are two different commands for iframe)

 

I used this to solve the auto adjust the height, and it works great with almost every browser.  IE, Firefox have given me no problems. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.