Well, I wondered about that, there are some funny characters, so I changed
it.  Now the text being loaded is just one word.  Still errors out.

On Fri, Jul 4, 2008 at 10:42 AM, Karl Swedberg <[EMAIL PROTECTED]>
wrote:

>
> Hi,
>
> I can't tell from the information what is causing the problem, but if I had
> to guess, I'd suggest looking at the content that is being loaded. I've seen
> problems before when invalid markup, usually caused by unclosed tags, is
> inserted into the cluetip. Not sure if this is the problem here, but maybe
> it's a place to start.
>
> --Karl
> ____________
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
>
>
> On Jul 3, 2008, at 11:23 PM, dgm wrote:
>
>
>> I'm trying to use cluetip (Looks great!) to display a full text of
>> otherwise truncated data, in a table.  (Email subjects are truncated
>> for the normal view, but if you mouse over, I want a tooltip to show
>> the full subject).  I'm using php and smarty templates to generate the
>> table rows:
>>
>> <td align="left">
>> <a id="link_{$row[hamloop].id}" class="thickbox tip"
>> rel=".tip{$row[hamloop].id}"
>>
>> href="view.php{$msid}mail_id={$row[hamloop].id}&amp;cache_type={$cache_type}&amp;address_id={$row[hamloop].address_id}">
>> {$row[hamloop].subject|truncate:$truncate_subject:"...":true|
>> escape:'htmlall'}
>> </a>
>> <span class="tip{$row[hamloop].id}">{$row[hamloop].subject|
>> escape:"javascript"|escape:'htmlall'}</span>
>> </td>
>>
>> and then at the bottom of the file, I do:
>>
>> $('a.tip').cluetip({local:true, cursor: 'pointer'});
>>
>> This works great on Firefox 3, but IE 6 and 7 just give a blank
>> screen, or a bonk dialog that says the operation was aborted.  No
>> other info. :(
>>
>> If I take out the cluetip call, it loads ok.
>>
>> Example output  from the code above:
>>
>> <td align="left">
>> <a id="link_12345" class="thickbox tip" rel=".tip12345" href="view.php?
>> mail_id=12345&amp;cache_type=spam&amp;address_id=10">
>> A really long subject line...
>> </a>
>> <span class="tip12345">A really long subject line was truncated</span>
>> </td>
>>
>> As I understand the docs, the <a rel=".tip12345" ... means it will put
>> the <span class="tip12345" text into he tooltip.  This is repeated
>> many times with different id's, so there is still a one to one mapping
>> of rel's to spans.
>>
>> Any ideas as to what is going on?
>>
>
>


-- 
David Morton
[EMAIL PROTECTED] - bulk address
[EMAIL PROTECTED] - direct to my server

Reply via email to