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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  TabStrip Problems...
Previous Previous
 
Next Next
New Post 7/17/2008 12:07 PM
User is offline David Bolling
12 posts
10th Ranked


TabStrip Problems... 

Hello!

I'm running into a problem that is driving me batty.  I've read all I can find, but so far have found no answers.  Maybe someone can help; I think I'm missing something real simple.  My first inclination is that I am having a pathing problem.

My DNN installation is fairly straightforward; I haven't modified the file structure, so the js folder lives in [ROOT]/js.  Both properties ClientAPIScriptPath and TabStripScriptPath are equal to "js/".  I'm getting a JScript error near the bottom of the page that reads: "Microsoft JScript runtime error: 'dnn' is undefined."

The line of code that is causing the problem is this:

<script>dnn.controls.initTabStrip($('dnn_ctr401_gisProductsView_tsProductRelatedStuff'));

Here is the markup for the tab control:

 
<dnn:DNNTabStrip
    id="tsProductRelatedStuff"
    SelectedIndex="0"
    runat="server"
    DefaultLabel-CssClass="tablabel"
    DefaultLabel-CssClassSelected="tablabelselected"
    DefaultLabel-CssClassHover="tablabelhover"
    DefaultContainerCssClass="tabcontainer"
    CallbackStatusFunction="statusFunc"
    TabClickFunction="tabClick"
    ClientAPIScriptPath="js/"
    TabStripScriptPath="js/" >
    
    <dnn:DNNTab id="tabArticles" runat="server" Label-Text="Articles" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related Articles</dnn:DNNTab>
    <dnn:DNNTab id="tabSpecs" runat="server" Label-Text="Technical Specs" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related Technical Specs</dnn:DNNTab>
    <dnn:DNNTab id="tabNewsReleases" runat="server" Label-Text="News Releases" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related News Releases</dnn:DNNTab>
    <dnn:DNNTab id="tabDownloads" runat="server" Label-Text="Downloads" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related Downloads</dnn:DNNTab>
    <dnn:DNNTab id="tabDemo" runat="server" Label-Text="Demo" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show a demo</dnn:DNNTab>
    
</dnn:DNNTabStrip>

I've tried several different values for the paths to the JS folder, but the only ones that blow up on me are the ones that I think would most likely be finding it OK ("~/js/" and ",/js/" along with the current value, "js/).  When I don't get an error, the control displays just fine and even switched between tabs OK, but no JScript is changing the styles on hover.

I would post a URL, but this is on my local box (XP Pro, IIS 5.1).  Anyway, I'm sure I'm missing something simple, so any help would be appreciated.

Thanks!

Davey Bolling

 

 
New Post 7/17/2008 2:38 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: TabStrip Problems... 

Please do a file -> Save As..  choose save as type as complete near bottom of dialog.  zip the contents it creates up and email me.  Reference this thread in the email.


 
New Post 7/18/2008 7:55 AM
User is offline David Bolling
12 posts
10th Ranked


Re: TabStrip Problems... 

Sure thing.  I'll fire that off in a few minutes.

 
New Post 7/22/2008 8:27 AM
User is offline David Bolling
12 posts
10th Ranked


Re: TabStrip Problems... 

I just wanted to check and make sure you got those files, and if not send them to another email address.  Let me know if you didn't get anything, and I'll send them again.

Thanks!

Davey Bolling

 
New Post 7/22/2008 3:15 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: TabStrip Problems... 

Didn't get them.  Please send again.   either jhenning AT solpart.com and/or jon.henning AT dotnetnuke.com


 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  TabStrip Problems...
 


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