Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 07-27-2010, 11:31 AM positioning div
Ultra Talker

Posts: 254
Trades: 0
please look at this link

http://www.sudhakargolakaram.co.in/files/slide.html

1.
my question is how do i position a div below the bottom of the screen

in the link above i have <div style="display: block;" id="content"></div> and i have positioned this div to be at the bottom of the screen and it is working fine however what i actually need is this div should be placed below the bottom of the screen so that this div does not appear at all when the page loads and using jquery animate method i would like to bring this div from below the bottom of the screen to 100px vertically up

2.
as of now i am using
$("#content").animate({bottom:'100px', left:'0px'},1500);

with this the div is animating but to this animation i want to add an easing effect like
http://gsgd.co.uk/sandbox/jquery/easing/

i have added jquery.easing.1.3.js but not sure how i can combine animate method with the easing method so that i can get the content div to animate and also have an easing effect

please advice

thanks
sudhakararaog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-27-2010, 02:46 PM Re: positioning div
Registered User

Posts: 86
Name: John Dacu
Trades: 0
for the first question, a solution might be an empty div with a 100% height. and after that your content div
johnny.dacu is offline
Reply With Quote
View Public Profile
 
Old 07-27-2010, 07:15 PM Re: positioning div
Experienced Talker

Posts: 45
Trades: 0
Try this...

#DIV {Width:blah;
Height:Blah;
position:absolute;
left:0px;
top:900px;}

Where Left/Top equal the coordinates you want it to appear.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
Thizzle is offline
Reply With Quote
View Public Profile Visit Thizzle's homepage!
 
Old 07-27-2010, 09:25 PM Re: positioning div
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Wow.. you guys sure do try to complicate things. Just use something like a big negative margin and then have it change in your jquery -- or.. display: none and allow the jquery to change that.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to positioning div
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17695 seconds with 12 queries