PDA

View Full Version : Help i fame



djsniper
05-31-2012, 01:28 PM
the links do not work on my ifame. they just open on a new page witch is what i don want

can anyobe help ifame code: <iframe src="home.html" style="border:0px #FFFFFF none;" name="ehw" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="600px" width="468px"></iframe>


site:http://sniper-music.co.uk/test/

kimikai
06-03-2012, 08:32 AM
If you want your menu links to open into your Iframe then give your iframe this coding:



<iframe name="put here the name you want it to have" src="home.html" style="border:0px #FFF none; scrolling="no" frameborder="0" marginheight="0px" height="600px" width="468px"></iframe>

Then for your links you should put target="name of your iframe" in the coding that should work so for example

<a href="title.html" target="name of iframe">Title</a>

after copying your coding of the iframe i saw you had the name somewhere, personally i find it easier to put the name of the iframe in front so its easy to oversee,, also i dont think you need to use both the style part where you say you dont want a border and frameborder="0" leaving just frameborder in is good enough.

Hope this helps