Using the Jumi Mambot
Written by Administrator    Tuesday, 05 August 2008 15:42    PDF Print E-mail

As a security feature Joomla does not allow front end editors to include java script in content. In most cases this is desirable as one would not want malicious code being introduced into the site. A work-around and faster approach to this problem can be solved by using the Jumi mambot. Jumi will safely call in the java script code for front end editors. Jumi is essentially a rapid development tool for Joomla that allows the insertion of just about any type of code into any content or module.

Below is an example of the Jumi bot in action using the jquery.faq plug-in developed by projectatomic who also wrote the jquery.flickr plug-in demonstrated earlier.

You can down load both for free here:

Jumi mambot and module

Jqery FAQ Plug-in

First item in accordion
Enter text here
Second item in accordion (extra long)

First paragraph using p tags

Second paragraph

Third paragraph

Third item in accordion (medium long)

First paragraph

Forth item in accordion
the trick is to use the dl dt and dd tags see coding example below.

Here's the basic coding structure on the above accordian. Notice the instance of the Jumi tag and relative link to the actual "accordian.js" file within the square brackets []. A final } should be used to closethe jumi tag

Jumi in action calling the accordion.js file
  1. {jumi[includes/js/faq/accordian.js
  2. <dl id="faq">
  3. <dt>First item in accordion</dt>
  4. <dd>Enter text here</dd>
  5. <dt>Second item in accordion (extra long)</dt>
  6. <dd><p>First paragraph using p tags</p>
  7. <p>Second paragraph</p>
  8. <p>Third paragraph</p></dd>
  9. <dt>Third item in accordion (medium long)</dt>
  10. <dd><p>First paragraph</p></dd>
  11. <dt>Forth item in accordion</dt>
  12. <dd>the trick is to use the dl dt and dd tags see coding example above</dd>
  13. </dl>


Add this article to your favorite Social Bookmarking websites
Reddit! Del.icio.us! JoomlaVote! Google! Live! Facebook! StumbleUpon! Yahoo! Free social bookmarking plugins and extensions for Joomla! websites!
Comments (0)add comment

Write comment
smaller | bigger

busy
Last Updated ( Sunday, 30 November 2008 03:37 )
 

Your are currently browsing this site with Internet Explorer 6 (IE6).

Your current web browser must be updated to version 7 of Internet Explorer (IE7) to take advantage of all of template's capabilities.

Why should I upgrade to Internet Explorer 7? Microsoft has redesigned Internet Explorer from the ground up, with better security, new capabilities, and a whole new interface. Many changes resulted from the feedback of millions of users who tested prerelease versions of the new browser. The most compelling reason to upgrade is the improved security. The Internet of today is not the Internet of five years ago. There are dangers that simply didn't exist back in 2001, when Internet Explorer 6 was released to the world. Internet Explorer 7 makes surfing the web fundamentally safer by offering greater protection against viruses, spyware, and other online risks.

Get free downloads for Internet Explorer 7, including recommended updates as they become available. To download Internet Explorer 7 in the language of your choice, please visit the Internet Explorer 7 worldwide page.