| View previous topic :: View next topic |
| Author |
Message |
gavin1084
Joined: 16 May 2008 Posts: 1
|
Posted: Fri May 16, 2008 8:57 pm Post subject: Opening a link in the same frame |
|
|
I'm trying to get a link to open within a page a part of my webpage, without leaving that page or opening a new tab or window.
This is the <div> I want to open the link in WITHIN my current page (forum.html):
<div style="left: 0px; width: 1100px;" id="leftsection"><a name="leftwindow"></a>
I want to open the new link in that "leftwindow" / "leftsection" area. This is my link right now:
<a target="leftwindow" href="http://www.iheartinizio.com/cgi-bin/yabb2/YaBB.pl">Enter
the forum!</a>
I also tried:
<a target="_self" href="http://www.iheartinizio.com/cgi-bin/yabb2/YaBB.pl">Enter
the forum!</a>
Everything I'm doing results in the browser opening the link in the same window or tab but just going to the linked page and not keeping the header and rest of the forum.html page.
Suggestions? |
|
| Back to top |
|
 |
|
|
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 630 Location: Cebu City Philippines
|
Posted: Sat May 17, 2008 1:58 am Post subject: Re: Opening a link in the same frame |
|
|
What you're doing is not possible with plain divs
Your plan is possible through iframes  |
|
| Back to top |
|
 |
flabbyrabbit 500+ Club

Joined: 25 Jan 2007 Posts: 591 Location: UK
|
Posted: Sat May 17, 2008 12:42 pm Post subject: Re: Opening a link in the same frame |
|
|
Well you can do it in divs but its quite complicated.If you cant achieve what you want with iframes have a look into AJAX.
Flabby Rabbit |
|
| Back to top |
|
 |
|