Hi, Karl.

 

The plug-in is working much better now that you implemented the various 
positioning features.  I
went back to auto to check out the cluetip image behavior and, you're right, 
'auto' works better for
me than 'mouse'.

 

The problem I was having with a setting of "positionBy: 'mouse'" is that the 
pop-up image in the
ClueTip would overlap the photo in the page that is being moused over to 
trigger the ClueTip.  If I
moved my mouse fairly quickly over the trigger image too far from the right or 
left, the ClueTip
image wouldn't show.  Using 'auto' places the ClueTip off the trigger image and 
eliminates that
problem.

 

The only issue I have with the 'auto' setting is when only the very bottom of 
the trigger image is
showing at the top of the browser window, then the ClueTip image doesn't move 
down far enough into
the window.  It remains partly cut off at the top because it will only 
re-position itself downwards
only so far, and then no more.  This is not a big problem, since all I have to 
do is scroll the
trigger image down into the page, and then I can see the full ClueTip image.  
The re-positioning
behavior works well on the bottom of the browser window.

 

Sorry I don't have a site for you to view this behavior on.  The site is still 
on my local
workstation.  I'll be putting it onto the server for the site owner in the next 
couple of days and
I'll let you know where to view the plug-in at work.

 

It's a great plug-in and I use it on almost every site I've developed.

 

Oh, and one more thing. the quote issue wasn't a matter of double vs single 
quotes, it was a matter
of "no quote" vs single quotes.  At first I didn't have any quotes around auto, 
which wasn't
working.  I noticed that some of the attribute values had quotes, so I decided 
to put the quotes on
and make it 'auto' and it worked.

 

Rick

 

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Karl 
Swedberg
Sent: Sunday, November 18, 2007 4:54 PM
To: [email protected]
Subject: [jQuery] Re: ClueTip Question...

 

Hey Rick,

 

Glad you got something worked out. Actually, I'm surprised that the single vs. 
double quote thing
made a difference. It's a little disconcerting. I'll have to look into that. 
Also, you should have
to do positionBy: 'auto' since that is the default. 

 

I did manage to get clueTip to move to whichever side it fits best 

  _____  

. With positionBy: 'auto' it should attempt to display it to the right of the 
invoking element
first; then, if there isn't enough room, to the left; then below; and, finally, 
above. So if it
wasn't working for you, I can only guess that there is a bug somewhere (much to 
my chagrin). 

 

If you run into another problem with it, a test page demonstrating the problem 
would be helpful.
Last time when you provided a link to a page you were working on, it might 
troubleshooting much
easier.

 

As always, I really appreciate your feedback. 



 

--Karl

_________________

Karl Swedberg

www.englishrules.com

www.learningjquery.com

 





 

On Nov 18, 2007, at 12:03 AM, Rick Faircloth wrote:





 

Well... I guess asking a question spawns an answer.

I realized that some of the ClueTip options were

surrounded by single quotes.  When I added those

around the option, positionBy: 'auto', it worked fine.

 

Actually, positionBy: 'mouse' seems to work best.

 

Thanks for the good work, Karl!

 

Rick

 

PS - It's sorta strange for this entire thread to

be a conversation with myself... well, it is 12:02 am...

 

 

 

-----Original Message-----

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rick

Faircloth

Sent: Saturday, November 17, 2007 11:39 PM

To: [email protected]

Subject: [jQuery] Re: ClueTip Question...

 

 

I should have looked a little harder. there it was in "black & white".

 

So, I did find the info about positioning the ClueTip and decided that

"auto" would probably be what I'm looking for, but when I put

"positionBy: auto" in the ClueTip options, it disabled the ClueTip.

The "hidden div" part of the ClueTip just sits on the page.  When I remove

the positionBy option, all works normally.

 

I changed that option in the "custom-cluetip.js" file, which has this in it:

 

$(document).ready(function() {

 

          $('a.load-local').cluetip({

 

                      local: true,

                      cluetipClass: 'jtip',

                      cursor: 'pointer',

                      arrows:true,

                      dropShadow: true,

                      width: 410

 

          });

 

});

 

Suggestions?

 

Rick

 

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rick

Faircloth

Sent: Saturday, November 17, 2007 11:26 PM

To: [email protected]

Subject: [jQuery] ClueTip Question...

 

Hey, Karl. (or anyone else who might know)

Did you ever get ClueTip coded so that it will

show top, bottom, left, and right, depending on

what direction a ClueTip will best fit the screen?

I just put the latest version on the plug-in

page on a site, and if I scroll the page so that

the ClueTip link is at the top of the page, it still

puts the ClueTip out to the left where part of it

is cut off at the top, instead of at the bottom

where there's plenty of room for it to show.

Rick

 

 

 

 

 

Reply via email to