Log in

View Full Version : Open link in a section of same page



Jamcan
11-11-2012, 10:27 PM
Good day team,

looking for a scrip to open an external page inside one side of a table or frame or <DIV></DIV>

So the link would be to the right of where i need the page opened.

Thanks
Rohan

Nile
11-11-2012, 10:41 PM
Seems like a bad idea in general, but you could use the `target` attribute to target an iframe's ID.



​<iframe id="uniqueID"></iframe>
<a href="http://dynamicdrive.com" target="uniqueID">DD</a>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
http://jsfiddle.net/7TERE/

Jamcan
11-12-2012, 02:02 AM
Seems like a bad idea in general, but you could use the `target` attribute to target an iframe's ID.



​<iframe id="uniqueID"></iframe>
<a href="http://dynamicdrive.com" target="uniqueID">DD</a>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
http://jsfiddle.net/7TERE/


What would you recommend to display past services in the specified area
http://bcfchurch.net/past_sermons.html

Beverleyh
11-12-2012, 01:20 PM
Good day team,

looking for a scrip to open an external page inside one side of a table or frame or <DIV></DIV>

So the link would be to the right of where i need the page opened.

Thanks
Rohan

You originally said an external page but your sample link uses internal pages - that is, all from the same domain.

If youre always using pages from your own/the same domain, try this script from DD: http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

Jamcan
11-12-2012, 01:38 PM
Thank you both so very much. appreciated.

Be blessed