Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...jquery questionjquery question
Previous
 
Next
New Post
4/9/2010 10:30 AM
 

Just replace "$" with "jQuery" (case sensitive) anywhere that you see "$".  That's all there is to it.

Also, in the page source, do you see your jquery.js or jquery.min.js file?  That needs to be above your other 2 js files and all 3 need to be above your module's js.

 
New Post
4/9/2010 2:34 PM
 

 Hello.. Thank you for your responses..  Here's what is listed in the source code:  But it's still not working.

 

Within the head of the page:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" ></script>

 

<div id="dnn_ctr1746_ContentPane" class="Normal c_contentpane">
<!-- Start_Module_1746 -->
<span class="Normal">
<script type="text/javascript" src="Portals/0/resources/js/archives/jquery.metadata.min.js"></script>
<script type="text/javascript" src="Portals/0/resources/js/archives/jquery.swapimage.js"></script>
</span>
<div id="dnn_ctr1746_ModuleContent" class="DNN_HTMLContent">
<div id="dnn_ctr1746_HtmlModule_lblContent" class="Normal">
<script type="text/javascript">
jQuery.swapImage(".swapImage");
</script>
<div>
<img class="swapImage {src: '/Portals/0/resources/images/archives/index/a.gif'}" alt="" src="/Portals/0/resources/images/archives/index/1.gif" /> <br />&#160;
</div>
</div>
</div>
<!-- End_Module_1746 -->
</div> 

 

 
New Post
4/10/2010 8:56 AM
 

Jeff, I think I spotted your error:

<script type="text/javascript" src="Portals/0/resources/js/archives/jquery.metadata.min.js"></script>
<script type="text/javascript" src="Portals/0/resources/js/archives/jquery.swapimage.js"></script>

Thos paths are relative to your current location.  Try changing the paths to "~/Portals..." or "/Portals..." and let me know how that goes.

 
New Post
4/12/2010 8:20 AM
 

 Tried this and it still doesn't work.  Not sure why this is occurring.   UGH.  ha-ha..

 

 
New Post
4/12/2010 8:29 AM
 

Jeff, do you have a demo page that you could point me at?  You can PM it to me, if you don't want it in the forums.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...jquery questionjquery question


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out