Did anybody ever figure out a way to position the cluetip relative to it's parent rather than the mouse? I would also like to do this as I'm attaching the cluetips to areas in a map and I want to always have them in the same place so they don't block any of the image using the map.
Regards, Andrew On Oct 10, 7:28 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Jeffrey, > > Sorry for the delay in getting back to you. I'll try to take a look > this weekend. I have a different idea about how to go about this and > will test sat/sun. > > --Karl > > ____________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Oct 9, 2008, at 9:03 AM, JeffreyKarbowski wrote: > > > > > Can anyone tell me why this doesn't work in IE??? > > > JeffreyKarbowski wrote: > > >> Comparing to original - > > >> (Line 105) > >> Original: > >> var tOffset = parseInt(opts.topOffset, 10), lOffset = > >> parseInt(opts.leftOffset, 10); > >> Changed to: > >> var tOffset = 100, lOffset = -738; > > >> (Line 302) > >> Original: > >> tipY = posY; > >> Changed to: > >> tipY = 95; > > >> (Line 305) > >> Original: > >> tipY = posY - opts.dropShadowSteps + tOffset; > >> Changed to: > >> tipY; > > >> (Defaults) > >> Changed: > >> Width, > >> Height, > >> Position (to fixed), > >> Show Title, > > >> JeffreyKarbowski wrote: > > >>> I have this working in Firefox, with a fixed position on the page, > >>> IE > >>> however throws errors. > > >>> In Bold are the lines that I have changed: > > >>> if (opts.local && opts.hideLocal) { $(tipAttribute + > >>> ':first').hide(); } > >>> var tOffset = 100, lOffset = -738; > >>> // vertical measurement variables > >>> var tipHeight, wHeight; > > >>> tipHeight = defHeight == 'auto' ? > >>> Math.max($cluetip.outerHeight(),$cluetip.height()) : > >>> parseInt(defHeight,10); > >>> tipY = 95; > >>> baseline = sTop + wHeight; > >>> if (opts.positionBy == 'fixed') { > >>> tipY; > >>> } else if ( (posX < mouseX && Math.max(posX, 0) + tipWidth > > >>> mouseX) || opts.positionBy == 'bottomTop') { > >>> if (posY + tipHeight + tOffset > baseline && mouseY - sTop > > >>> tipHeight + tOffset) { > > >>> The page in question is http://btcamper.interactrv.com/defaultTest.aspx > >>>http://btcamper.interactrv.com/defaultTest.aspx > > >>> JeffreyKarbowski wrote: > > >>>> Could you please tell me a way to position the Cluetip relative > >>>> to its > >>>> parent div instead of having it offset from the invoking element? > >>>> I need > >>>> the Cluetip to sit in a fixed position on the page. > > > -- > > View this message in > > context:http://www.nabble.com/ClueTip-postioning-tp19864348s27240p19898298.html > > Sent from the jQuery General Discussion mailing list archive at > > Nabble.com. > >