PDA

View Full Version : Hyperlink Question



Brobee
07-06-2008, 05:51 AM
I need a code that when you click a button, It scrolls down to a certain part of the page. The only issue is, The part of the page that it needs to scroll down to is in a iframe.

Anyone know how i can get this working?

--ss--
07-06-2008, 12:22 PM
Add just before the iframe

<a name="Iframe"></a>and then to hyper link it to the Iframe it would be:

<a href="#Iframe">Iframe</a>;).

Brobee
07-06-2008, 03:10 PM
Thanks, But i need it so when you click on a link outside the iframe it goes to a certain part in the iframe. Eg half way down the page of the iframe.

WoodBerry
10-06-2008, 04:35 PM
add my msn ill do it lol
[email protected]

kk.
10-06-2008, 04:41 PM
could you not add it in the iframe page? once its loaded it should read from that aswell right?

its just like an anchor isnt it?

Decode
10-06-2008, 04:44 PM
Put this in the page that is in the iframe where you want to link to.


<a name="frame"></a>

Then use this link (out side the iframe) to link to it.


<a href="pagenamehere.html#frame">lololololol</a>


add my msn ill do it lol
[email protected]
Thats realy not needed

Independent
11-06-2008, 04:08 AM
Insert a div into your iframe.

<iframe id="pornframe" name="pornframe" src="porn.html"></iframe>

Inside porn.html

<div name="porndiv">
-- Insert whatever
</div>

Link:

http://www.website.com/porn.html#porndiv

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