Really simple codee but can't find it..

SpaceshipSpaceship
Watch

noswad

Established Member
Impact
1
Im looking for some code that jumps a user to a certain location on a page determined by what coordinates I use in my code.

I know I can use this:

PHP:
<a href="#signup" class="gift_name">location</a>

and

PHP:
<a name="signup">Location</a>

but I need the code that uses coordinates instead.

Someone must know it lol.

Cheers :hehe:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
That first one will work fine.

Just set an id in div and that is all.

<div id="signup">BLah</div>

I don't know of any cord ways?

- Steve
 
0
•••
<script type="text/javascript">
function scroll (x, y) {
document.scrollTo(x,y);
}
</script>

<a href="#" onclick="scroll(100,200)">scroll</a>
 
0
•••
Thanks v much Dan! :hehe:
 
0
•••

We're social

Spaceship
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back