I want that the user clicks on a hyperlink
and
Two things happen
1) the link opens in a frame named somthing on the page
2) the page moves to the bottom of the page where the frame is .
How can I do this buddies ...
Printable View
I want that the user clicks on a hyperlink
and
Two things happen
1) the link opens in a frame named somthing on the page
2) the page moves to the bottom of the page where the frame is .
How can I do this buddies ...
It's possible with JavaScript, by having an onclick handler do one thing and the default link action another.
Your reply looks Good .Quote:
Originally Posted by CornedBee
Would you like to explain it ...please
One way:
Personally I dislike such stuff (I dislike frames, anyway), but it should serve your purpose.Code:<a href="#bottom" onclick="window.frames.otherframe.location='whereever'">Hit me!</a>
Remeber to put the anchorpoint at the location you want it to go(<a name="#bottom">)Quote:
Originally Posted by CornedBee
Any element with id="bottom" will suffice.
Really? That's news to me :)Quote:
Originally Posted by CornedBee