Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-08-2011, 06:00 PM   PM User | #1
bubblejam
New to the CF scene

 
Join Date: Sep 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
bubblejam is an unknown quantity at this point
help to position:fix a tooltip

hi!

i would just like to say first of all, that i only use forums for help unless i've exacerbated all other forms of help as i am such a javascript noob! so please bear with my while i try to explain my problem...

i've isolated the javascripts to this page > http://nang-nang.net/tumblr/blog/help.html
in this example the plant image is using lightbox 2 and the bird.gif is using prototip2 to create a tooltip (that displays my latest tweet)

(i should mention that these scripts will be used to pimp out my tumblr blog/portfolio http://bubblejam.tumblr.com eventually)

the problem: i need the tooltip to stay put! i've managed to put the bird in a <div style="position:fixed..." etc so that's fine. but the tooltip isn't fixed and moves as the page scrolls down!

can anyone take a look at what javascript i've got so far and fingers crossed there's a simple solution! thanks!!
bubblejam is offline   Reply With Quote
Old 09-10-2011, 10:42 PM   PM User | #2
DaveyErwin
Regular Coder

 
Join Date: Aug 2010
Posts: 806
Thanks: 12
Thanked 168 Times in 166 Posts
DaveyErwin is on a distinguished road
I did not look at your site(i just don't follow links)
but i believe I found your problem . You had this
in your other post ....

<style type="text/javascript">
#twittericon {
position: fixed;

it should be

<style type="text/css">
#twittericon {
position: fixed;
DaveyErwin is offline   Reply With Quote
Reply

Bookmarks

Tags
fixed, javascript, position, prototip, tooltip

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 04:00 PM.


Advertisement
Log in to turn off these ads.