Jump to content

msAccordion problem


foysal

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.