Really simple codee but can't find it..

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
<script type="text/javascript">
function scroll (x, y) {
document.scrollTo(x,y);
}
</script>

<a href="#" onclick="scroll(100,200)">scroll</a>
 
0
Close
Thanks v much Dan! :hehe:
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back