Reply
Old 07-27-2010, 10:31 AM positioning div
Extreme Talker

Posts: 207
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
 
 
When You Register, These Ads Go Away!
Old 07-27-2010, 01:46 PM Re: positioning div
Skilled Talker

Posts: 88
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, 06:15 PM Re: positioning div
Experienced Talker

Posts: 46
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.
__________________
Make Money Ebooks - Dating Ebooks
Thizzle is offline
Reply With Quote
View Public Profile Visit Thizzle's homepage!
 
Old 07-27-2010, 08:25 PM Re: positioning div
LadynRed's Avatar
Super Moderator

Posts: 9,498
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 !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
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.12026 seconds with 13 queries