Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in JavaScript programming only
Search
Advanced Search
Forum
Groups
Today’s Posts
Calendar
Forum
Client side development
JavaScript programming
Announcement
Collapse
No announcement yet.
elements off screen without a scroll bar?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
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
sbeener
New to the CF scene
Join Date:
Jul 2002
Posts:
4
Share
Tweet
#1
elements off screen without a scroll bar?
Jul 6, 2002, 05:26 PM
is it possible to position an element off the screen without causing a scroll bar to appear?
thanks.
A1ien51
New to the CF scene
Join Date:
Jun 2002
Posts:
2733
Share
Tweet
#2
Jul 6, 2002, 05:38 PM
you can hide the scrollbars
<body style="overflow:hidden">
Tech Author [Ajax In Action, JavaScript
: Visual Blueprint]
Comment
Post
Cancel
sbeener
New to the CF scene
Join Date:
Jul 2002
Posts:
4
Share
Tweet
#3
Jul 6, 2002, 05:55 PM
right, but it's just this content i'd like to behave like this. the rest should be normal.
Comment
Post
Cancel
A1ien51
New to the CF scene
Join Date:
Jun 2002
Posts:
2733
Share
Tweet
#4
Jul 6, 2002, 06:19 PM
you can hide stuff with its visibility
style="visibility:hidden"
What r u trying to do??? then we could help you out a little beter
Tech Author [Ajax In Action, JavaScript
: Visual Blueprint]
Comment
Post
Cancel
sbeener
New to the CF scene
Join Date:
Jul 2002
Posts:
4
Share
Tweet
#5
Jul 6, 2002, 06:35 PM
it's a scroller. i'm moving a div object across the screen while inversely moving its clip coordinates. makes it look like it's scrolling.
unfortunately, the browser thinks the page is as wide as div, not just the clipped portion, so scroll bars appear even though they're not necessary.
Comment
Post
Cancel
sbeener
New to the CF scene
Join Date:
Jul 2002
Posts:
4
Share
Tweet
#6
Jul 6, 2002, 07:48 PM
hooray!
wrapping everything up in another div element with overflow:hidden did the trick, although made things a little hairier in netscape.
Comment
Post
Cancel
A1ien51
New to the CF scene
Join Date:
Jun 2002
Posts:
2733
Share
Tweet
#7
Jul 6, 2002, 10:19 PM
lol....
Netscape is what makes coding fun......
A1ien51
Tech Author [Ajax In Action, JavaScript
: Visual Blueprint]
Comment
Post
Cancel
Bosko
Guest
Join Date:
Jun 2002
Posts:
225
Share
Tweet
#8
Jul 7, 2002, 06:46 AM
Because it doesn't correct your bad code like IE does?
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment