PDA

View Full Version : Iframe linkage Code



Stevenly
29-12-2005, 10:19 PM
Hey i have a Iframe boxand when i click one of my links it opens the page but not inside the box.

Whats thefull html code to make it open in the small box?

Nick.
29-12-2005, 10:22 PM
in the iframe code insert
name="name_of_iframe" and in the link add
target="name_of_iframe" that should sort it :)

Stevenly
29-12-2005, 10:27 PM
in the iframe code insert
name="name_of_iframe" and in the link add
target="name_of_iframe" that should sort it :)

it din't probs give me the entire code so i copy n paste it

JoeComins
29-12-2005, 10:29 PM
Can you parse your sentence, and use proper grammer

Nick.
29-12-2005, 10:30 PM
<a href="home.htm" target="main"><span style="text-decoration: none">Home</span></a></DIV></TD>
<TD class=menu_item id=s0 onmouseover="this.className='navi_cellover';" onclick="location.href='home.htm'" onmouseout="this.className='navi_cellout'" align=middle width=80>


that was link


<iframe name="main" height="45" etc etc

that were iframe. lol. Also, speak properly and what the hell is the javascript for? or w/e it is. I'm jus PHP and HTML u see. lol

Stevenly
29-12-2005, 10:40 PM
Sorry, still not work.

here is my code:

<a href="home.htm">
<span style="text-decoration: none">Home</span></a></DIV></DIV></TD>
<TD class=menu_item id=s0 onmouseover="this.className='navi_cellover';" onclick="location.href='home.htm'" onmouseout="this.className='navi_cellout'" align=middle width=80>
<DIV>

Nick.
29-12-2005, 10:47 PM
ok, WT.F. Get rid of the cra.ppy java and use plain html until it works. lol, I dnt really know about javascript

what is your iframe called and link target?

Stevenly
29-12-2005, 10:51 PM
Fixed.

Want to hide these adverts? Register an account for free!