We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
Question about links
Topic Started: Nov 11 2007, 02:39 PM (683 Views)
Murk01
Member Avatar
working on an awsome forum
[ *  * ]
how do you combine a link with a javascript scroll?
meaning can you combine...

this...
Quote:
 
<AREA SHAPE="rect" ALT="" COORDS="439,99,611,113" HREF="http://z3.invisionfree.com/WebSeitz/index.php?showtopic=8"

and this...
Quote:
 
javascript:scroll(0,400)

to make it go to the link and into the middle of the page, with one link?
Offline Profile Goto Top
 
FearKiller
Member Avatar
www.drewscripts.com
[ *  *  *  *  * ]
Pure HTML can take care of that for you. That is if I get what you are asking.

Code:
 
http://www.mywebsite.com/directory/file.html#section


There is your link. It goes to the element with ID "section" on the HTML page named "file.html."

All you have to do then is add an ID called "section" to any element on the "file.html" page.

Code:
 
<div id="section">
This is the section that will be displayed.
</div>
Offline Profile Goto Top
 
Murk01
Member Avatar
working on an awsome forum
[ *  * ]
heres the link to my site.

The cords are to make it so if you click on 'chatbox' then it goes to the link.
im trying to make it so when you go to that link it automaticly scrolls to the middle of the page.

not really sure what you said though.

-the header is a picture.
Offline Profile Goto Top
 
Murk01
Member Avatar
working on an awsome forum
[ *  * ]
ahhh i want an answer!
>_<
Offline Profile Goto Top
 
Ben
Member Avatar
Quantum-locked when observed.

Hello,

The support section of this board has been shutdown due to the impending release of ZetaBoards. Please see this announcement for more information.

You can find a temporary new support board here:
http://beta.zetaboards.com/support/index/

You may also feel free to avail yourself of our Support Ticket system from your Admin CP. :)
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Locked Topic