foysal Posted July 4, 2011 Share Posted July 4, 2011 hi all i have the following code for accordion. <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Social</title> <link rel="stylesheet" type="text/css" href="css/template_css.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="css/accordion.css" /> <script type="text/javascript" src="js/jquery-1.5.2.min.js"></script> <script type="text/javascript" src="js/tab.js"></script> <script language="javascript" type="text/javascript" src="js/jquery.msAccordion.js"></script> <script type="text/javascript"> $(document).ready(function() { $('table.row tr:odd').addClass('brown'); $('div.memberlist_content a.arrow').click(function() { $(this).next('div').slideToggle(); }); $('.button').click(function() { $(this).css('backgroundImage', 'url(images/btn_click_bg.png)'); }, function() { $(this).css('backgroundImage', 'url(images/btn_hover_bg.png)'); }) $("#accordionGiftLelo").msAccordion({defaultid:1}); $('#add_more').click(function() { html = '<div class="manual_email_inner"><div class="col1"><input type="text" name="email[]" value="" /></div><div class="col2"><input type="text" name="name[]" value="optional" /></div><div class="col3"><input type="text" name="relation[]" value="optional" /><a href="#"><img src="images/info.png" alt="" /></a></div></div>'; $('#manual_form').append(html); }); }); </script> </head> but when I put the following two lines the accordion breaks. Can you say what is the cause?? <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"> </script> foysal Link to comment https://forums.phpfreaks.com/topic/241055-msaccordion-problem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.