Buck Anderson - DNN Professor Member Login
May 21, 2012

Article Search  
Article Index

Click to grab the RSS feed for the DNN Professor Article IndexDotNetNuke Tutorials and Articles

We cover a lot of different DNN topics on this site - this article index gives you a pretty good idea of the DotNetNuke tutorials, XMod tutorials, DNN training, DNN hosting, and Internet Marketing subjects we cover for beginners and advanced DotNetNuke users.

The following is a complete index of all articles on this site - presented in the most current to oldest article sequence. You can view categories and search the index by subject.

Check back often for new articles, tips on our Business Directory, or have articles conveniently delivered to your favorite program by clicking the RSS feed icon above.


Share    
08
How to Use jQuery 1.3.2 with the Xmod Lightbox Demo Using Thickbox 3.1

With the use of jQuery on a DNN page, I wanted to ensure, when using the lightbox code in my XMod applications, that my call to the jQuery version from the location /DesktopModules/XMod/scripts/jquery.js was not going to cause conflict with additional modules that were using a newer version of jQuery.

After considerable research, I discovered that it was realtively easy to do.

1. Download the latest jQuery 1.3.2 and upload it to a location on your portal. At the time of this post I am using jquery-1.3.2.min.js. It can be downloaded from
Download jQuery 1.3.2 here

2. I changed the link location in my XMod template code from
/DesktopModules/XMod/scripts/jquery.js

to the location of the upload directory where I placed the jquery-1.3.2.min.js file

In my case: /Portals/0/xmod/packages/BusinessDirectory/jquery-1.3.2.min.js

3. I opened the thickbox.js file and made the following change:

TB_TempArray = $("a[@rel="+imageGroup+"]").get();

to

TB_TempArray = $("a[rel="+imageGroup+"]").get();

and saved/uploaded the thickbox.js file back to my portal.

That's it!

You can see the result in action at DNN Professor DNN Directory

Click the more info link on the JustNorth.com listing and click the photos tab.

Remember: It always good practice to backup your forms, templates, and files before making modifications.

Enjoy,
Buck

Posted in: XMod Applications

Share    

Post Rating

Comments

There are currently no comments, be the first to post one.

Join the Discussion!


Buck Anderson - DNN ProfessorLet us know what you think. Or ask us anything. Or offer your own sage advice.

The only rule: RESPECT THIS HOUSE! Postings that contain abusive language and/or personal attacks will be cheerfully VAPORIZED. One cross word and – POOF! – your well-thought-out post will be gone in a puff of smoke.

          Buck

RSS comment feed RSS feed for comments on this post | Permalink URL

Note: For security, public comments require an Email address (Email will not be published and is also used for your Gravatar image)

Post Comment

Only registered users may post comments.


Copyright 2004 - 2012 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map