integrating jquery into skins and html modules and implementing jquery plug-ins in DNN
Last Post 03/04/2010 3:51 PM by Joseph Craig. 1 Replies.
Author Messages
Bo
Nuke Master
Nuke Master
Posts:215


--
03/04/2010 1:33 PM  
Hello there: I have DNN 5.2.3 and have become very intrigued with jquery irn regards to what it can do in regards to integration into third party modules. I was wondering if any of you had any ideas of the best way jquery (that is an integral part of DNN 5) could be integrated into skins or content via the html module. What I am interested in at this point is adding an html module clicking on source and adding some custom jquery along with some other content that will show up in this module but I am sure I cannot use the vb.net or c#.net method of including jquery support when dealing with skins or content in an html module. I am sure I could add a script tag that pointed to the jquery file that DNN 5 utilizes, but I am not sure if this is really the most efficient way to approach this kind of integration. The other question I have dealing with jquery deals with the best practices in adding jquery plugins either in the scope of module development or the scope of a skin developer or simple content editor that knows a bit of html and script tags. I've seen a lot in regards to how to make use of DNN core functionality of jquery programmatically but not as much information on the most efficient way with the least performance overhead to integrate either the main jquery library into a skin or via content into the source area of an html module or how to add a jquery plug in either at the scope of a module developer, skin developer or content editor. For example if I want to add some jquery functionality as a content editor that will allow a user to roll over a picture and see a larger view of it without clicking on it a good plugin to use would be the imgpreview plug in offered at the jquery website but as a newbie to jquery am not sure how this would all work. If you could explain how jquery might be implemented into a skin or as content via script wrapper into a html module and how to get a plug in such as the imgpreview plug in offered at the jquery website in the plugin area using some examples that would be greatly appreciated. Thanks, Bo
Joseph Craig
DNN MVP
Posts:11667


--
03/04/2010 3:51 PM  
My best response is to point you at blogs by Will Strohl (willstrohl.com) and Joe Brinkman (at dotnetnuke.com). Joe Brinkman has also just written a "Wrox Blox" (a short e-book) about using jquery in ASP.NET applications. That might be worth looking at, too.

Joe Craig, Patapsco Research Group
Complete DNN Support


---