bravo14 Posted January 17, 2013 Share Posted January 17, 2013 hi guys trying to get ui tabs to display, but failing miserably, can't see why <script src="http://www.kidzlinkz.co.uk/js/jquery-1.8.3.js" type="text/javascript"> </script> <script src="http://www.kidzlinkz.co.ukjs/languages/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8"> </script> <script src="http://www.kidzlinkz.co.uk/js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"> </script> <script type="text/javascript" src="http://www.kidzlinkz.co.uk/js/interface.js"></script> <link href="http://www.kidzlinkz.co.uk/css/css-dock.css" rel="stylesheet" type="text/css" /> <!--[if lt IE 7]> <style type="text/css"> .dock img { behavior: url(iepngfix.htc) } </style> <![endif]--> <script language="javascript" src=".http://www.kidzlinkz.co.uk/js/jquery.tweet.js" type="text/javascript"></script> <link href="http://www.kidzlinkz.co.uk/css/jquery.tweet.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(document).ready( function() { $('#dock').Fisheye( { maxWidth: 100, items: 'a', itemsText: 'span', container: '.dock-container', itemWidth: 70, proximity: 90, halign : 'center' } ) } ); </script> <!-- InstanceBeginEditable name="head" --> <link rel="stylesheet" href="css/le-frog/jquery.ui.all.css"> <link rel="stylesheet" href="css/jquery.tweet.css"> <script src="js/ui/jquery.ui.core.js"></script> <script src="js/ui/jquery.ui.widget.js"></script> <script src="js/ui/jquery.ui.tabs.js"></script> <script> $(function() { $( "#tabs" ).tabs(); }); </script> <!-- InstanceEndEditable --> <link href="css/twoColFixRtHdr.css" rel="stylesheet" type="text/css" /> <!--[if IE 5]> <style type="text/css"> /* place css box model fixes for IE 5* in this conditional comment */ .twoColFixRtHdr #sidebar1 { width: 220px; } </style> <![endif]--><!--[if IE]> <style type="text/css"> /* place css fixes for all versions of IE in this conditional comment */ .twoColFixRtHdr #sidebar1 { padding-top: 30px; } .twoColFixRtHdr #mainContent { zoom: 1; } /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */ </style> <![endif]--></head> <div id="tabs"> <ul> <li><a href="#tabs-1">Details</a></li> <li><a href="#tabs-2">Feedback</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> </div> I have only shown the code applicable to ui Quote Link to comment https://forums.phpfreaks.com/topic/273291-jquery-ui-tabs/ Share on other sites More sharing options...
cpd Posted January 17, 2013 Share Posted January 17, 2013 You need to add types to some of your link tags. Why have you defined two document ready methods? Use one (may even solve your issue)! Quote Link to comment https://forums.phpfreaks.com/topic/273291-jquery-ui-tabs/#findComment-1406536 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.