PDA

View Full Version : Help????????



NirvanaX5X
May 29th, 2002, 19:40
Uh i have an iframe and how can I have it so when the link is clicked it loads in the iframe and scrolls to the top of the main page?


here's my site so u can check it out and c what im talkin but scroll down and click apply 2 join
grungygod----------

is0lized
May 29th, 2002, 21:46
in the iframe put name="iframe"

and in the link tag put target="iframe"

NirvanaX5X
June 1st, 2002, 12:30
No thats not the problem.That works fine but it dosen't scroll to the top of th page.

Dusty
June 1st, 2002, 14:56
You're trying to make an iFrame that doesn't look like an iFrame... I'm wondering why you're using one at all. Anyway, try making your links like this:

<a href="page.html" target="frame" onClick="scrollTo(0,0);return true;">

NirvanaX5X
June 2nd, 2002, 01:09
Yaaaaaaaaaaaaaaaay I'm happy it works.Thank you so much anything I can do 4 u just name it.