Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
Go to the end of the page
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Kasya
New Member
Join Date:
Jun 2006
Posts:
57
#1
Go to the end of the page
Nov 10 '06, 01:04 PM
Who Can Say Me How Can I Go To End Of Page In Javascript
only In Javascript
ivosilva
New Member
Join Date:
Oct 2006
Posts:
17
#2
Nov 10 '06, 01:53 PM
Hy Kasya,
one solution would be placing an anchor at the bottom of your page like this:
<a id="bottom" name="bottom"></a>
and in javascript call:
window.location .href = "yourpage.asp#b ottom";
another solution would be:
function goDown() {
document.getEle mentById('body' ).scrollTop = document.getEle mentById('body' ).scrollHeight;
}
give your body tag the id=body
Hope this helps...
Cheers!
Comment
Post
Cancel
Kasya
New Member
Join Date:
Jun 2006
Posts:
57
#3
Nov 11 '06, 06:35 AM
CAN YOU SAY ME HOW CAN I MAKE IT WITHOUT ANY LINK
I WANT TO SAY WITHOUT
<a></a>
Comment
Post
Cancel
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#4
Nov 27 '07, 06:58 PM
You can also use a button and trigger the function onclick.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment