Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  jQuery and Html module
Previous Previous
 
Next Next
New Post 5/23/2008 6:38 AM
User is offline bhb
2 posts
10th Ranked


jQuery and Html module 

Hi, my name is Bo, a newbie to Dotnetnuke, i am trying to build a site with jquery and text/html module.i tried to put jquery references in the page header tag but it seems like that if i only reference to one js file or css file, it works ok but if multi references are inserted it will not work at the all. Also, i tried to put functions in the page header tag but it broke the site straight away no matter what i put in. i am pretty useless in terms of referencing external scripts or style sheets in Dotnetnuke., so any help or suggestions will be great. Thanks in advance

Bo

 

 
New Post 5/23/2008 7:08 AM
User is offline Ian Robinson
578 posts
www.engagesoftware.com
8th Ranked


Re: jQuery and Html module 

Hey Bo,

Would you mind sharing the contents of the page header tag that isn't working for you? It sounds like you've tried multiple options - so perhaps sharing the one you'd most like to get to work would be helpful. I'll take a look and then I or any other community members can recommend revisions or an alternative approach.

Take care,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 5/23/2008 6:25 PM
User is offline bhb
2 posts
10th Ranked


Re: jQuery and Html module 

Hi Ian, Thanks very much for your quick response,

here are the code i put in to the header page tags, (space in script just in case it won't let me post):

<s cript type="text/javascript" src="/bhbPortal/Portals/0/js/jquery-1.2.1.pack.js"></s cript>
<s cript type="text/javascript" src="/bhbPortal/Portals/0/js/jquery.jcarousel.pack.js"></s cript>
<l ink rel="stylesheet" type="text/css" href="/bhbPortal/Portals/0/css/jquery.jcarousel.css" />
<l ink rel="stylesheet" type="text/css" href="/bhbPortal/Portals/0/css/jq.css" />

<s cript type="text/javascript">

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel();
});

</script>

and here is what i put in in the html source view:

<div id="wrap">
  <h1>jCarousel</h1>
  <h2>Riding carousels with jQuery</h2>

  <h3>Simple carousel</h3>
  <p>
    This is the most simple usage of the carousel with no configuration options.
  </p>

  <ul id="mycarousel" class="jcarousel-skin-tango">
    <li><img src="http://static.flickr.com/66/199481236_dc98b5abb3_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/75/199481072_b4a0d09597_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/57/199481087_33ae73a8de_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/77/199481108_4359e6b971_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/58/199481143_3c148d9dd3_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/72/199481203_ad4cdcf109_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/58/199481218_264ce20da0_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/69/199481255_fdfe885f87_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/60/199480111_87d4cb3e38_s.jpg" width="75" height="75" alt="" /></li>
    <li><img src="http://static.flickr.com/70/229228324_08223b70fa_s.jpg" width="75" height="75" alt="" /></li>
  </ul>

</div>

basically it is Carousel slide show using jquery, it works fine in a normal html page but it won't do anything in the html module. i have read some posts here and some of them suggest reading a custom module just to put the references in the page, will that work or there are better solutions to this? Thanks again.

 

Bo

 

 
New Post 7/7/2008 3:52 PM
User is offline lance
90 posts
10th Ranked


Re: jQuery and Html module 

Bo,

With (document).ready, you don't have to put that into the head of the page since it won't run until the dom is loaded anyway.  In fact, if the research Yahoo did is correct, it would be a better user experience to put these at the end of your page and hard code the target tag into the skin.  This method has been less mess for me.

Lance

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  jQuery and Html module
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP