HomeHome Product Discus... Product Discus...SmithCartSmithCartDescription tab problemDescription tab problem
Previous
 
Next
New Post
2/11/2011 2:39 PM
 

I don't know if you guys are running the latest version of dnn on your test portal because I couldn't replicate this issue there. However, I know that this is a clean install of the newest version of your cart because I just did it the other day. We have three description tabs that are alll showing at once. What I mean is all three descriptions are showing as one big description. You can see it here http://buzzsmarine.com/Storefront/Pro.... We have description, board specs, and video. However, you can't change the tabs and they all just show as one. Any insight?

 
New Post
2/11/2011 7:25 PM
 

Replace this in your ProductDetails.ascx:

<script type="text/javascript">

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);

function EndRequestHandler(sender, args) {

if (args.get_error() == undefined) {

dofirst(); //called on partial postback

}

}

function dofirst() {

jQuery(document).ready(function() {

jQuery(".tab_content").hide(); //Hide all content

jQuery("ul.tabs li:first").addClass("active").show(); //Activate first tab

jQuery(".tab_content:first").show(); //Show first tab content

//On Click Event

jQuery("ul.tabs li").live ('click', function() {

jQuery("ul.tabs li").removeClass("active"); //Remove any "active" class

jQuery(this).addClass("active"); //Add "active" class to selected tab

jQuery(".tab_content").hide(); //Hide all tab content

var activeTab = jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content

jQuery(activeTab).fadeIn(); //Fade in the active ID content

return false;

});

});

}

dofirst(); //called on page load

</script>




Christian




 
New Post
2/14/2011 7:01 AM
 

That did the trick. Will I need to do that with any future installs as well?

 
New Post
2/14/2011 9:48 PM
 

No, future versions will have this implemented already.


Christian
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartDescription tab problemDescription tab problem