Using JQuery in custom control/module/aspx

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/2/2011 12:10:51 PM
Gravatar
Total Posts 33

Using JQuery in custom control/module/aspx

There are a few articles on how to use jquery in mojoportal here and there. But still am unsure as how to use. Below given are the scenarios.

Scenarios:

1. If the jquery plugin is already included in the ClientScripts\jqmojo mojo folder

How to use it in the custom module. How to refer it so it can be used in the custom module - ex. jcarousel

Do we need to add a separate css or if there is already a css how to refer it in the custom module. Is it preferable in the layout.master or in the style.config or is it on the custom module? If it is in style.config how to refer it.

 

2. If the jquery plugin is not included in the  ClientScripts\ClientScripts\jqmojo folder

Where to add this jquerycustom.js file. How to refer it in the custom module. where to put the corresponding .css file.

 

Sorry if am jumping with questions with out reading all the articles out there. This helps in using jquery plugins in custom module. It would be great if some one gives an overview of each step so this can be achieved. Thnx

8/5/2011 1:26:31 AM
Gravatar
Total Posts 51

Re: Using JQuery in custom control/module/aspx

Hi,

Try video tutorial on this page. It helped me a lot.

Best,
Erhan

8/5/2011 3:44:41 AM
Gravatar
Total Posts 51

Re: Using JQuery in custom control/module/aspx

Hi again,

Additionally to this video, some information is below;

If the jquery plugin is not included in mojoPortal you can add xxx.js file in the ClientScripts folder.

The corressponding .css file is to locate under Data\style folder and add this to style.config file with an entry like this;


<file cssvpath="/Data/style/jcarousel/tango/skin.css" imagebasevpath="/Data/style/jcarousel/tango/">none</file>


Hope it helps,
Erhan

1/17/2013 2:59:40 AM
Gravatar
Total Posts 4

Re: Using JQuery in custom control/module/aspx

hi, this link is not available, can you help me with another video? i need to help for do this. This is also my problem. thank you.

You must sign in to post in the forums. This thread is closed to new posts.