Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

jQuery Easy in Joomla 2.5.x

  • saif3r
  • saif3r's Avatar Topic Author
  • New Member
  • New Member
More
IP: 85.219.228.51 13 years 10 months ago #1446 by saif3r
Hi,
i have a problem with jQuery Easy. I have it enabled, but it does not work in article. I have enabled JS in JCE but I do not see eny effect in article when i put in article code:
Code:
<p><a href="#" title="That's what this widget is">Tooltips</a> can be attached to any element. When you hover the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.</p> <p>But as it's not a native tooltip, it can be styled. Any themes built with <a href="http://themeroller.com" title="ThemeRoller: jQuery UI's theme builder application">ThemeRoller</a> will also style tooltips accordingly.</p> <p>Tooltips are also useful for form elements, to show some additional information in the context of each field.</p> <p><label for="age">Your age:</label><input id="age" title="We ask for your age only for statistical purposes." /></p> <p>Hover the field to see the tooltip.</p>
or
Code:
<script> $(function() { $( document ).tooltip(); }); </script> <p><a href="#" title="That's what this widget is">Tooltips</a> can be attached to any element. When you hover the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.</p> <p>But as it's not a native tooltip, it can be styled. Any themes built with <a href="http://themeroller.com" title="ThemeRoller: jQuery UI's theme builder application">ThemeRoller</a> will also style tooltips accordingly.</p> <p>Tooltips are also useful for form elements, to show some additional information in the context of each field.</p> <p><label for="age">Your age:</label><input id="age" title="We ask for your age only for statistical purposes." /></p> <p>Hover the field to see the tooltip.</p>
both jquery and ui are enabled.

Any advice?
Thank you.
More
IP: 212.198.134.5 13 years 10 months ago #1447 by admin
Hello, I am traveling overseas, I will get back to you as soon as I can. Thank you.

Olivier.
  • saif3r
  • saif3r's Avatar Topic Author
  • New Member
  • New Member
More
IP: 82.160.239.75 13 years 10 months ago #1450 by saif3r
Ok, thanks. Safe Travel.
More
IP: 212.198.134.5 13 years 10 months ago #1451 by admin
Thanks :-)

Olivier.
More
IP: 207.229.131.129 13 years 10 months ago - 13 years 10 months ago #1464 by admin
I am not sure I understand what is the issue here (maybe I am a little off because of my long trip from France ;-) ).
The only thing I would suggest is to transform
$(function() {
to
jQuery(function($) {
Also, I would suggest avoiding javascript in articles if possible. Javascript should be located in the <head> as much as possible.

Olivier.
Last edit: 13 years 10 months ago by admin.
  • Francescom
  • Francescom's Avatar
  • New Member
  • New Member
More
IP: 180.183.155.254 13 years 4 months ago #2593 by Francescom
Replied by Francescom on topic Re: jQuery Easy in Joomla 2.5.x
This is a great easy to use plugin. My company has used this for many sites.

Not sure why you are having problems but works fine on our sites