My fellow ASP.NET coders, I need a favor.
I have a website coming along. i have a set of code from a previous website that i did in html and i want to transfer that code to my asp.net website.
I tried it but the information on the panels wont show and everything is just not working right..
here is the HTML code for the tab..test it in your browser it should work
HTML Tabs.zip
here is my failed attempt at copy and pasting it in my asp.net page.
Can someone please help me figure out why its not working well in asp.net...Code:<asp:Content ID="HeadContent" ContentPlaceHolderID="HeadContent" Runat="Server"> <link rel="stylesheet" href="Styles/tabs-panes.css" type="text/css" media="screen" /> <link rel="stylesheet" href="Styles/tabs.css" type="text/css" media="screen" /> <script type="text/javascript" src="Scripts/jquery.tools.min.js"></script> </asp:Content> <asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" Runat="Server"> <div> <!-- the tabs --> <ul class="tabs"> <li><a href="#">Tab 1</a></li> <li><a href="#">Tab 2</a></li> <li><a href="#">Tab 3</a></li> </ul> <!-- tab "panes" --> <div class="panes"> <div>First tab content. Tab contents are called "panes"</div> <div>Second tab content</div> <div>Third tab content</div> </div> <script> // perform JavaScript after the document is scriptable. $(function() { // setup ul.tabs to work as tabs for each div directly under div.panes $("ul.tabs").tabs("div.panes > div"); }); </script> </div> </asp:Content>


Reply With Quote

