[jQuery] Re: cluetip question mark loading data

2009-04-01 Thread likestheaction

Yep, that worked.  I thought showtitle would extract the title out of
my webpage, so i misunderstood.  I've tried a couple other tip
plugins, and this one seems the most robust for custom content, so i'm
glad to get it working!

Thanks,

-lta

On Apr 1, 8:57 am, Karl Swedberg  wrote:
> Hi there,
>
> The problem is that you're using the splitTitle option, which is for  
> loading text from the link's title attribute into the clueTip. Remove  
> that option and it should work.
>
> --Karl
>
> 
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Mar 31, 2009, at 11:31 PM, likestheaction wrote:
>
>
>
> > I am able to see a clue tip pop up, but i can't get any data into it
> > from another page.  It just shows a question mark when i mouse over
> > the link, the cluetip opens, and there is nothing in it.  I am using
> > jquery1.3.2, and the latest cluetip.
>
> > In the document ready i have a this:
> > $('a.tips').cluetip({splitTitle: '|'});
>
> > In the html i have this:
> > show me the cluetip!
> >  > a>
>
> > I think the problem is with the location of frag.html, which is just
> > in the same location as the file i'm working on.  If i right click on
> > the link and try to open in a new tab, frag.html opens.
>
> > Thanks,
>
> > -lta


[jQuery] Re: cluetip question mark loading data

2009-04-01 Thread Karl Swedberg

Hi there,

The problem is that you're using the splitTitle option, which is for  
loading text from the link's title attribute into the clueTip. Remove  
that option and it should work.



--Karl


Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Mar 31, 2009, at 11:31 PM, likestheaction wrote:



I am able to see a clue tip pop up, but i can't get any data into it
from another page.  It just shows a question mark when i mouse over
the link, the cluetip opens, and there is nothing in it.  I am using
jquery1.3.2, and the latest cluetip.

In the document ready i have a this:
$('a.tips').cluetip({splitTitle: '|'});

In the html i have this:
show me the cluetip! 

a>

I think the problem is with the location of frag.html, which is just
in the same location as the file i'm working on.  If i right click on
the link and try to open in a new tab, frag.html opens.

Thanks,

-lta




[jQuery] Re: cluetip question: is it possible to have tabs inside a cluetip?

2008-06-18 Thread JohnieKarr

I can't remember the name of it, but there is a tool tip plug-in that
allows the plug-in to be another page.  I can't remember if you can
take your mouse inside the tooltip or not.  I'm sure it can be made to
do so.  I use it at work. so I will get the name of it in the morning
for you and post.

On Jun 17, 6:36 pm, se <[EMAIL PROTECTED]> wrote:
> here's what i'm trying to achieve, a tooltip that looks like this
>  and stays open until closed (no
> close button there atm). is this possible, and if so -- how? i tried
> to rebuild this into the page from where the tooltip is called but i
> couldn't get it to work at all. any help on how to proceed here is
> highly appreciated!


[jQuery] Re: cluetip question: is it possible to have tabs inside a cluetip? (SOLVED)

2008-06-18 Thread se

On Jun 18, 1:36 am, se <[EMAIL PROTECTED]> wrote:
> here's what i'm trying to achieve, a tooltip that looks like this
>  and stays open until closed (no
> close button there atm). is this possible, and if so -- how? i tried
> to rebuild this into the page from where the tooltip is called but i
> couldn't get it to work at all. any help on how to proceed here is
> highly appreciated!

sorry, i overlooked it in the FAQ, "onShow" solves my issues.


[jQuery] Re: cluetip question: is it possible to have tabs inside a cluetip?

2008-06-18 Thread Skurmedel

I've done some tool tip-related stuff myself recently. I found it
easiest to have an
initially hidden element with absolute positioning somewhere. Using
events I
display the tooltip next to the element using jQuery.offset,
jQuery.height and
jQuery.width.

On Jun 18, 1:36 am, se <[EMAIL PROTECTED]> wrote:
> here's what i'm trying to achieve, a tooltip that looks like this
>  and stays open until closed (no
> close button there atm). is this possible, and if so -- how? i tried
> to rebuild this into the page from where the tooltip is called but i
> couldn't get it to work at all. any help on how to proceed here is
> highly appreciated!


[jQuery] Re: cluetip question

2008-03-05 Thread Dylan Verheul

On Wed, Mar 5, 2008 at 3:58 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>  It looks like you came up with a workaround for your issue, but for
>  future reference, as of version 0.9.5 you can override defaults
>  globally like so:
>
>  $.fn.cluetip.defaults.cluetipClass = 'jtip';

I found that out shortly after hacking the CSS, and this is the way
I'm doing it now.

Any chance of you looking into the possibilities of smartening up the
configuration as I suggested?
I think I'm gonna solve this issue for my team with a PHP wrapper.

Dylan


[jQuery] Re: cluetip question

2008-03-05 Thread Karl Swedberg


Hi Dylan,

I'm honored that you're using clueTip! :-)

It looks like you came up with a workaround for your issue, but for  
future reference, as of version 0.9.5 you can override defaults  
globally like so:


$.fn.cluetip.defaults.cluetipClass = 'jtip';

Hope that helps.


--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Mar 5, 2008, at 5:09 AM, Dylan Verheul wrote:



I'd like to set a default style for cluetips in my project. Since I'm
abstracting cluetip for my fellow programmers by wrapping it in PHP, I
don't like to add "cluetipClass: 'jtip'" to every call.

Can I do something like:

$.cluetip.setup({ cluetipClass: 'jtip' });
$("a.cluetip").cluetip();
$("a.cluetip2").cluetip({ some:other_option });

I tried, but it doesn't work like this now.
A global style would be a major improvement I think, you shouldn't
have to set the style for every cluetip.




[jQuery] Re: cluetip question

2008-03-05 Thread Dylan Verheul

On Wed, Mar 5, 2008 at 11:09 AM, Dylan Verheul <[EMAIL PROTECTED]> wrote:
> I'd like to set a default style for cluetips in my project.

Quick update: I solved it by changing the CSS -- nothing wrong with
that since I don't need the other styles. For people that do, my
original question may still be valid.

Venturing into cluetipe (great stuff), I came across the following.

When you want to use both local and Ajax data, you are required to do
separate calls.

The plugin could be smart enought to handle this.
- if there's a rel attribute, use ajax, else go for title attribute
- if the title attribute contains splitters, split it
- if the first char of the title attribute is a splitter char, hide the title

This would "make me think of" (and make me code) much less calls.

Dylan


[jQuery] Re: cluetip question

2008-01-08 Thread Shawn

Thanks for the kudo's Karl.  I've always felt obligated (or is that 
obliged) to give back what I myself have received.  In this case is the 
help/mentoring/support the community provides.  So I help out where I can.

I just hope I'm not way off on my postings.. :)  But fully expect to be 
corrected if I am. (and I'm open to being corrected - how else would I 
learn otherwise?)

Shawn

Karl Swedberg wrote:
> 
> Thanks for answering this question, Shawn! I really appreciate the time 
> you've taken here and on your blog to help others with some of clueTip's 
> features.
> 
> Feijó,
> 
> Shawn showed you a way to use an element on the same page for the 
> tooltip's contents. If you'd like to use the invoking element's title 
> attribute (or some other attribute as set by the titleAttribute option) 
> for the contents, you need to set the splitTitle option. Something like 
> this, for example:
> 
> $('h4').cluetip({splitTitle: '|'});
> 
> Hover over me.
> 
> 
> Hope that helps.
> 
> --Karl
> _
> Karl Swedberg
> 
> On Jan 4, 2008, at 11:10 PM, Shawn wrote:
> 
>>
>> Yes, you can.
>>
>> First, you specify the attribute that contains the ajax page OR the name
>> of the local element to show.
>>
>> If you are doing local a local element, you then set the "local"
>> property to true, and adjust any other properties as needed.  Using a
>> local element is mutually exclusive of any of the Ajax items...
>>
>> i.e.
>>
>> My Heading
>> Here's my extra detail
>>
>> //javascript
>> $("#myheading").attr("rel", "#cluediv").cluetip({
>>   local : true,
>>   hoverClass : "highlight"
>> });
>>
>> That *should* show the clueDiv as your popup/cluetip without any Ajax 
>> calls.
>>
>> Options can be found at 
>> http://plugins.learningjquery.com/cluetip/#options.
>>
>> Samples can be found at http://plugins.learningjquery.com/cluetip/demo/
>>
>> I'm sure others may have responded by now (no mail from the list for a
>> while, but that's usual for me for some reason, then I'll get a flood).
>>  And they probably have more definitive recommendations (i.e. Karl
>> monitors the list and he is the Cluetip author...)  But, if not, I hope
>> this helps.
>>
>> Shawn
>>
>> Feijó wrote:
>>> With *non-link element*, why can't I use without ajax?
>>>
>>> I try that:
>>>
>>> $('h4').cluetip();
>>> Hover over me.
>>>
>>>
>>> Didnt work, only like this works:
>>>
>>>
>>> $('h4').cluetip({attribute: 'id', hoverClass: 'highlight'});
>>> Hover over me.
>>>
>>>
>>>
>>> Can't I just set a tip without ajax? With  the first one runs.
>>>
>>>
>>> thanks
>>>
>>> Feijó
>>>
>>>
> 


[jQuery] Re: cluetip question

2008-01-07 Thread Karl Swedberg


Thanks for answering this question, Shawn! I really appreciate the  
time you've taken here and on your blog to help others with some of  
clueTip's features.


Feijó,

Shawn showed you a way to use an element on the same page for the  
tooltip's contents. If you'd like to use the invoking element's title  
attribute (or some other attribute as set by the titleAttribute  
option) for the contents, you need to set the splitTitle option.  
Something like this, for example:


$('h4').cluetip({splitTitle: '|'});

Hover over me.


Hope that helps.

--Karl
_
Karl Swedberg

On Jan 4, 2008, at 11:10 PM, Shawn wrote:



Yes, you can.

First, you specify the attribute that contains the ajax page OR the  
name

of the local element to show.

If you are doing local a local element, you then set the "local"
property to true, and adjust any other properties as needed.  Using a
local element is mutually exclusive of any of the Ajax items...

i.e.

My Heading
Here's my extra detail

//javascript
$("#myheading").attr("rel", "#cluediv").cluetip({
  local : true,
  hoverClass : "highlight"
});

That *should* show the clueDiv as your popup/cluetip without any  
Ajax calls.


Options can be found at http://plugins.learningjquery.com/cluetip/#options 
.


Samples can be found at http://plugins.learningjquery.com/cluetip/ 
demo/


I'm sure others may have responded by now (no mail from the list for a
while, but that's usual for me for some reason, then I'll get a  
flood).

 And they probably have more definitive recommendations (i.e. Karl
monitors the list and he is the Cluetip author...)  But, if not, I  
hope

this helps.

Shawn

Feijó wrote:

With *non-link element*, why can't I use without ajax?

I try that:

$('h4').cluetip();
Hover over me.


Didnt work, only like this works:


$('h4').cluetip({attribute: 'id', hoverClass: 'highlight'});
Hover over me.



Can't I just set a tip without ajax? With  the first one runs.


thanks

Feijó






[jQuery] Re: cluetip question

2008-01-05 Thread Shawn

Yes, you can.

First, you specify the attribute that contains the ajax page OR the name 
of the local element to show.

If you are doing local a local element, you then set the "local" 
property to true, and adjust any other properties as needed.  Using a 
local element is mutually exclusive of any of the Ajax items...

i.e.

My Heading
Here's my extra detail

//javascript
$("#myheading").attr("rel", "#cluediv").cluetip({
   local : true,
   hoverClass : "highlight"
});

That *should* show the clueDiv as your popup/cluetip without any Ajax calls.

Options can be found at http://plugins.learningjquery.com/cluetip/#options.

Samples can be found at http://plugins.learningjquery.com/cluetip/demo/

I'm sure others may have responded by now (no mail from the list for a 
while, but that's usual for me for some reason, then I'll get a flood). 
  And they probably have more definitive recommendations (i.e. Karl 
monitors the list and he is the Cluetip author...)  But, if not, I hope 
this helps.

Shawn

Feijó wrote:
> With *non-link element*, why can't I use without ajax?
>  
> I try that:
>  
>  $('h4').cluetip();
> Hover over me.
>  
>  
> Didnt work, only like this works:
>  
>  
>  $('h4').cluetip({attribute: 'id', hoverClass: 'highlight'});
> Hover over me.
>  
>  
>  
> Can't I just set a tip without ajax? With  the first one runs.
>  
>  
> thanks
> 
> Feijó
>  
>  


[jQuery] Re: ClueTip Question...

2007-11-18 Thread Karl Swedberg

On Nov 18, 2007, at 8:23 PM, Rick Faircloth wrote:


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’.


thanks! and glad to hear it.



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.


I think I'll have to see these to be able to fix them. I appreciate  
the description of the problem, and I kind of understand what's going  
on, but I'm helpless sometimes without the visual aids. ;-)


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.


No problem at all. Just let me know when it's available for me to  
poke around with so I can get it working better for you.


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


thanks again. :-)


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.


Ah ha! That sounds more reasonable. All of the option values that are  
strings must have quotes (though the "keys" don't need them, of  
course). Some of the other options are integers or booleans, which  
don't take quotes. This is true of any object literal in JavaScript.  
Glad there wasn't something really strange going on with single vs.  
double quotes. That would have been freaky.


Cheers,

Karl

[jQuery] Re: ClueTip Question...

2007-11-18 Thread Rick Faircloth
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: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl 
Swedberg
Sent: Sunday, November 18, 2007 4:54 PM
To: jquery-en@googlegroups.com
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: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick

Faircloth

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

To: jquery-en@googlegroups.com

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: jquery-en@googlegroups.com [mail

[jQuery] Re: ClueTip Question...

2007-11-18 Thread Karl Swedberg

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: jquery-en@googlegroups.com [mailto:jquery- 
[EMAIL PROTECTED] On Behalf Of Rick

Faircloth
Sent: Saturday, November 17, 2007 11:39 PM
To: jquery-en@googlegroups.com
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: jquery-en@googlegroups.com [mailto:jquery- 
[EMAIL PROTECTED] On Behalf Of Rick

Faircloth
Sent: Saturday, November 17, 2007 11:26 PM
To: jquery-en@googlegroups.com
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









[jQuery] Re: ClueTip Question...

2007-11-18 Thread Rick Faircloth

Those of us who are sole proprietors/freelancers can't
help it sometimes... :o)

Rick

> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Feijó
> Sent: Sunday, November 18, 2007 12:11 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: ClueTip Question...
> 
> 
> its monologue permited in this group? lol
> 
> 
> Feijó
> 
> 





[jQuery] Re: ClueTip Question...

2007-11-18 Thread Feijó

its monologue permited in this group? lol


Feijó


- Original Message - 
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, November 18, 2007 3:03 AM
Subject: [jQuery] Re: ClueTip Question...


>
> 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: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On 
>> Behalf Of Rick
>> Faircloth
>> Sent: Saturday, November 17, 2007 11:39 PM
>> To: jquery-en@googlegroups.com
>> 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: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On 
>> Behalf Of Rick
>> Faircloth
>> Sent: Saturday, November 17, 2007 11:26 PM
>> To: jquery-en@googlegroups.com
>> 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
>> 


[jQuery] Re: ClueTip Question...

2007-11-17 Thread Rick Faircloth

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: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick
> Faircloth
> Sent: Saturday, November 17, 2007 11:39 PM
> To: jquery-en@googlegroups.com
> 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: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick
> Faircloth
> Sent: Saturday, November 17, 2007 11:26 PM
> To: jquery-en@googlegroups.com
> 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
> 





[jQuery] Re: ClueTip Question...

2007-11-17 Thread Rick Faircloth

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: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick 
Faircloth
Sent: Saturday, November 17, 2007 11:26 PM
To: jquery-en@googlegroups.com
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