jQuery
Last Post 02/16/2010 3:00 PM by Joseph Craig. 3 Replies.
Author Messages
Srikar
Nuke Newbie
Nuke Newbie
Posts:1


--
07/07/2008 1:38 AM  
Hi,

I'm new to this dotnetnuke. Can any one plz tell me how to use jquery in dotnetnuke.
lynn
Nuke Master
Nuke Master
Posts:276


--
07/11/2008 8:52 AM  
Hi

I am using jQuery in my site which I am currently developing, I have used it on many pages within my site, including a nice jQuery calculator. You can see an example of the image cycle jQuery on the left and on the right column of the home page:
http://www.seemalta.net

Basically, I used the text/html module, I inserted the links to my jQuery in the module head section and the html jquery body into the "source" section of my text/html module. However, I recommend that you use the latest jQuery (1.2 version or above) you can as it contains coding to prevent a clash of the $ symbol, which is also used in the DNN core coding. Or if you are using jQuery version 1.1 you should replace the $ with "jQuery" in your jquery code.

I hope that helps.

I have promised Lee that I will submit an artical on using jQuery with DNN in the very near future. I hope to make a start on it soon (when my replacement laptop arrives) and I can get back to normal and no longer need to use this old steam engine of a computer.

Thanks

Lynn

dleriche
Nuke Newbie
Nuke Newbie
Posts:2


--
02/16/2010 2:53 PM  
Wow did this post save my day. jQuery really has some great benefits ... getting it to work in DNN 4.9.5 was tricky: 1. Page-setting /advanced settings. Place the jQuery [script removed] in 'page header tags' 2. Use the text/HTML module for code and 3. Replace $() with jQuery() Works!
Joseph Craig
DNN MVP
Posts:11667


--
02/16/2010 3:00 PM  
Look at blogs by Will Strohl (willstrohl.com) and Joe Brinkman (dotnetnuke.com) for lots of good information on jQuery.  If you move up to DotNetNuke 5.x, jQuery is integrated into DotNetNuke.

Joe Craig, Patapsco Research Group
Complete DNN Support


---