Yii Framework Forum: Urgent need - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Urgent need Rate Topic: ***** 1 Votes

#1 User is offline   Maro 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 19-January 10

Posted 25 August 2010 - 08:57 AM

Hi,

I'm in urgent need to have this done: I have a list of images and on mouse over to this image i need to show a list of information it's like a tooltip so if any one can help I'll appreciate it.
Thank You.
0

#2 User is offline   balrok 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 61
  • Joined: 13-June 10

Posted 25 August 2010 - 11:28 AM

i use http://www.yiiframew...extension/qtip/
and i implement it with:
 25 <ul>
 26     <li>
 27         (void) addErrors($attribute, $error) <span class="hint">?</span>
 28         <div class="tooltip">add an error for an attribute (both params are strings)</div>
 29     </li>
 30     <li>
 31         (bool) hasErrors() <span class="hint">?</span>
 32         <div class="tooltip">true when model has an error</div>
 33     </li>
...
200 <?php
201 $this->widget('application.extensions.jqueryTooltip.JqueryTooltip', array(
202             'selector' => '.hint',
203             'options'=>'',
204             ));
205 ?>

if that doesn't work for you i perhaps modified it (i think the selector-part is my modification)

Attached File(s)


0

#3 User is offline   Maro 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 19-January 10

Posted 25 August 2010 - 12:56 PM

I can't find any file to use neither the JqueryTooltip file :S
and I couldn't extract the file correctly :S

can I have some help :S
0

#4 User is offline   balrok 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 61
  • Joined: 13-June 10

Posted 25 August 2010 - 02:22 PM

somehow this server messes up .gz files - i thought this only is at the extension-section :/
so download it here:
http://tinyurl.com/b.../tooltip.tar.gz
0

#5 User is offline   Maro 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 19-January 10

Posted 25 August 2010 - 03:46 PM

Thank you a lot it works fine :D:D
0

#6 User is offline   Maro 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 19-January 10

Posted 26 August 2010 - 12:18 PM

Hi again,

Excuse me but I'm too new to jquery and I need now to change the position of the tool tip so how can I change the code.
I did success to show it on the bottom right but now I need to pool it up 10px of the mouse click area so how can I do that ?:S
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users