How do I set it up so the user can update both tabs?
Here's teh code i'm using rigth now but this way i can only update the first tab:
and the paragraph html page:
-jesper
Hi JesperHi Nicolai
I'm not sure if this is a DW question or a jQuery tabs question. Not sure I understand what you are trying to accomplish and what is not working. could you elaborate?
<ul id="tabs"></ul> <div id="tabcontainer" class="dwcontent tab_container" title="Tabs"></div> <script> $("#tabcontainer .tab").each(function(i){ //Run through each paragraph $("#tabs").append('<li ><a href="#" rel="#'+$(this).attr("id")+'">'+$(this).find(".head").text()+'</a></li>'); //Create the tab to click $(this).find(".head").remove(); //Remove the headline used in the tab from the paragraph if(i!=0){ $(this).hide(); //if not the first tab, then hide the content } }); </script>
You must be logged in to post in the forum