0
Welcome Guest! Login
0 items Join Now

Does jquery Work With Rockettheme templates?

  • Re: Does jquery Work With Rockettheme templates?

    Posted 13 years 4 months ago
    • I'm trying to get that extension to work but its not I cant even echo from the source of the plugin ! it is enabled - how can I validate its working. There are no instructions for the plugin as I assume it should just work and I can just do for example (in an article)

      <script type="text/javascript">
      $(document).ready(function(){
      alert("As you can see, the link no longer took you to jquery.com");
      $("a").click(function(event){
      alert("As you can see, the link no longer took you to jquery.com");
      event.preventDefault();
      });
      });

      </script>

      <a href=" jquery.com/ ">jQuery</a>

      What are the steps needed to get this extension working ?
  • Re: Does jquery Work With Rockettheme templates?

    Posted 13 years 4 months ago
    • from the developer which fixes

      With our jQuery plugin, you can access jQuery with $jquery or jQuery. $ is problematic, because MooTools is using that one already.
    • The following users have thanked you: Nurzaly A.Rahman

    • NZD - Jonathan's Avatar
    • NZD - Jonathan
    • Hero Rocketeer
    • Posts: 436
    • Thanks: 0
    • CEO, NZD Securities

    Re: Does jquery Work With Rockettheme templates?

    Posted 13 years 4 months ago
    • On my website, i have integrated Magento into Joomla. Using a Rockettheme template as base, but heavily modified. So im using 3 javascript frameworks, (jquery, mootools and prototype) and after alot of headache it now works smoothly together.
  • Re: Does jquery Work With Rockettheme templates?

    Posted 13 years 4 months ago
    • Hello everyone,

      you can access jQuery in every Page with the "jQuery()" function - regardles of noConflict mode or not.

      The document.ready function would be like:
      <script type="text/javascript">
      jQuery(document).ready(function(){
      alert("As you can see, the link no longer took you to jquery.com");
      jQuery("a").click(function(event){
      alert("As you can see, the link no longer took you to jquery.com");
      event.preventDefault();
      });
      });
      </script>

      jQuery and Mootools work together on Joomla and RT Templates quite nice.
      You can use it with CDN, your own version or the Plugin for Joomla
      (i prefer to use my own versions because i use jQueryUI & Plugins to jQuery as well and so there is no Conflict.)

      But there are many Moduls or Plugins for Joomla, that don't play nice because the creator don't know how to implement jQuery in a good way... - so it's not allways your failure if it dosen't work right out of the Box...
    • The following users have thanked you: Nurzaly A.Rahman

  • Re: Does jquery Work With Rockettheme templates?

    Posted 13 years 4 months ago
    • I am now using flowplayer.org/tools/download/index.html as my tooltip it seems to work with an include that i can have in the article, Im not sure if im using jquery anymore though well I know it uses jquery but I think it uses via their own include. I guess the tool tips will fail if they ever change their paths so i dont like that so much just that i didnt find a way to do tool tips with jquery alone...

Time to create page: 0.047 seconds