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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Jquery Issue.Jquery Issue.
Previous
 
Next
New Post
8/13/2009 10:13 PM
 

I want to develop a module for sliding the images using jquery in DotNetNuke.

Here is my .ascx code

 

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Slider.ascx.cs" Inherits="DotNetNukeGuru.Map.Slider" %>

 <link type="text/css" rel="stylesheet" href="cssbuttonstoggler.css" />

 <link type="text/css" rel="stylesheet" href="featuredcontentglider.css" />

<script language="javascript" src='/DesktopModules/OfficeMap/featuredcontentglider.js' type="text/javascript"></script>

<script language="javascript" src='/DesktopModules/OfficeMap/jquery-1.2.2.pack.js' type="text/javascript"></script>

 

 

  <script type="text/javascript">

          featuredcontentglider.init({

          gliderid: "canadaprovinces", //ID of main glider container

          contentclass: "glidecontent", //Shared CSS class name of each glider content

          togglerid: "p-select", //ID of toggler container

          remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable

          selected: 0, //Default selected content index (0=1st)

          persiststate: false, //Remember last content shown within browser session (true/false)?

          speed: 500, //Glide animation duration (in milliseconds)

          direction: "downup", //set direction of glide: "updown", "downup", "leftright", or "rightleft"

          autorotate: true, //Auto rotate contents (true/false)?

          autorotateconfig: [3000, 2] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]

      })

  </script>

 

<div id="canadaprovinces" class="glidecontentwrapper">

<div class="glidecontent">

<img src="http://ecatalog.flashecom.com/espec/small/1011441397.jpg" alt="img1" style="float: right; padding: 5px"/>

<strong>Garmin 255 Automobile Navigator</strong>

<p>For peace of mind on the go, nüvi 255 leads the way with voice-prompted turn-by-turn directions that speak street names and keep you informed.</p>

<p>Our Price: $222.56</p> 

<p><a href="http://pc30.flashecom.com/orbitsystems/ssproduct.asp?pf_id=1011441397"><IMG src="buynow.gif" alt="img2" border=0></a></p>

</div>

 

<div class="glidecontent">

<img src="http://ecatalog.flashecom.com/espec/small/1012044307.jpg" alt="img3" style="float: right; padding: 5px"/>

<strong>Acer Aspire One A150-1126 Notebook</strong>

<p>The Aspire One A150-1126 Notebook redefines mobile connectivity packed with fun and powerful computing features.</p>

<p>Our Price: $222.56</p>

<p><a href="http://pc30.flashecom.com/orbitsystems/ssproduct.asp?pf_id=1012044307"><IMG src="buynow.gif" alt="img4" border=0></a></p>

</div>

 

<div class="glidecontent">

<img src="http://ecatalog.flashecom.com/espec/small/1012028590.jpg" alt="img5" style="float: right; padding: 5px"/>

<strong>Nikon Coolpix S710 Digital Camera - Red</strong>

<p>14.5 Megapixels for stunning prints as large as 16 x 20 inches. Sharp resolution captures the finest details, crop creatively and produce incredible enlargements.</p>

<p>Our Price: $222.56</p>

<p><a href="http://pc30.flashecom.com/orbitsystems/ssproduct.asp?pf_id=1012028590"><IMG src="buynow.gif" alt="img5" border=0></a></p>

</div>

<div class="glidecontent">

<img src="http://ecatalog.flashecom.com/espec/small/1011844364.jpg" alt="img6" style="float: right; padding: 5px"/>

<strong>Sony DPFD70 Digital Photo Frame</strong>

<p>For peace of mind on the go, nüvi 255 leads the way with voice-prompted turn-by-turn directions that speak street names and keep you informed.</p>

<p>Our Price: $222.56</p>

<p><a href="http://pc30.flashecom.com/orbitsystems/ssproduct.asp?pf_id=1011844364"><IMG src="buynow.gif" alt="img7" border=0></a></p>

</div>

</div>

 

<div id="p-select" class="cssbuttonstoggler"> 

<a href="#" class="toc"><span>1</span></a> <a href="#" class="toc"><span>2</span></a> <a href="#" class="toc"><span>3</span></a> <a href="#" class="toc"><span>4</span></a>

<a href="#" class="prev"><span>Back</span></a> <a href="#" class="next"><span>Foward</span></a>

</div>

Please let me know where i am going wrong..

 

 
New Post
8/14/2009 2:13 AM
 

It might be helpful to actually talk about what your problem is, instead of not even stating what the trouble is.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
8/17/2009 6:01 AM
 
Thank you for your reply. It is not throwing any error but it is showing the result in the horizontal way. I want the result to be display one image after another ie Slider manner. It is working well in asp.net perfectly. Regards Basanth
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Jquery Issue.Jquery Issue.


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