PDA

View Full Version : i frame scroll


thickandthin
09-10-2002, 01:09 AM
Hi i have an I frame and I have one of those links that when you click on it it scrolls down to an other part of the page, well that works fine but when you click it, the main page (not the iframe) scrolls as well can you help, I hope I wasnt to confusing. Thanks in advance!

Quiet Storm
09-10-2002, 04:58 AM
Could you post the URL or the code, please? :)

You probably forgot a closing anchor tag on the link to scroll:

</A>

thickandthin
09-10-2002, 09:26 PM
i closed the tag

thickandthin
09-10-2002, 09:28 PM
im sorry i didnt thanks!

thickandthin
09-10-2002, 09:31 PM
it still doesnt work !

Quiet Storm
09-11-2002, 12:38 AM
Again, could you post the URL or the code, please? :)

thickandthin
09-11-2002, 01:37 AM
<body bgcolor="ccffcc">
<center>
<a name="top"></a>
<img src="characters.gif">
<br><center>
<a href="#Ricardo" target="main">Ricardo Diaz</a>,
<p align="left">
<a name="Ricardo"></a>
<br><b>Ricardo Diaz</b>
<br> <a href="javascript:popUp('http://www.rockstargames.com/vicecity/characters/ricardodiaz/movie1.html')" class="centertext">See Movie</a><i><br><a href="javascript:popUp('http://www.rockstargames.com/vicecity/characters/ricardodiaz/movie1.html')" class="centertext"><img src="rd.gif" border=0></a> </i>
<br>- Extremely dangerous.
<br>- Bribed INS for Green card in 1978. Entered country from Colombia.
<br>- Contacts in Colombia believe he is a major player in narcotics industry and anti-government activity.
<br>- Extremely popular philanthropist. Gives to various Ricardo Diaz foundations across Vice City and Central and South America. All are believed to be a front.
<br>- Extremely short, is believed to suffer from Napoleon complex.
<br>- Medical records show he has over-active glands and sweats more than is socially acceptable.
<br>- Gun collector. Always armed.
<br>- Has private army/militia and is heavily guarded at all times.
<br>- Has been involved in long running battle for control of narcotics business in Vice City.
<br>- Known to have bribed police and officials within the town.
<br>- Feared due to reputation for unpredicatable behavior.
<br>- Thought to be responsible for 18 murders.
<br><a href="#top">Back to Top</a>

Nightfire
09-11-2002, 03:06 AM
Not used frames for about 3 1/2 years, but I don't think that will ever work. You're trying to split a page up. The

framepage.html
<p align="left">
<a name="Ricardo"></a>
<br><b>Ricardo Diaz</b>
<br> <a href="javascriptopUp('http://www.rockstargames.com/vicecity/characters/ricardodiaz/movie1.html')" class="centertext">See Movie</a><i><br><a href="javascriptopUp('http://www.rockstargames.com/vicecity/characters/ricardodiaz/movie1.html')" class="centertext"><img src="rd.gif" border=0></a> </i>
etc etc

will have to be on a new page, then for the link, you put

<a href="framepage.html#Ricardo" target="main">This link is on the original page</a>

thickandthin
09-11-2002, 03:35 AM
i dont want the link on the other frame, okay i have a frame and when you click the scroll link in noy only scrolls the main page but the other frame too.

Quiet Storm
09-11-2002, 04:00 AM
Do you have an anchor tag named "Ricardo" on both pages?

<A NAME="Ricardo">

thickandthin
09-11-2002, 07:31 PM
no i dont