Jump to content

2 jquery objects in the same page problem


firestarter30

Recommended Posts

Hello all,

 

I used adobe widget browser to download a jquery accordion panel. I edited it ,made it how i wanted ...everything ok.

After i did the same thing for  jquery tabbed pannels.. , but even if the holders are different, accordion points to jquery1.7.2 , and tabbed panels to 1.73 , they are not working and their layouts is completely lost when im using them together. When they are used seperately they are working fine.

 

Can anyone tell what the issue here ?

 

Thanks :)

Link to comment
Share on other sites

When i said onjects i mean 2 different jquery objects , accordion,tabs ect.

 

<head>
<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.4.custom/css/jquery/jquery-ui-1.8.4.custom.css"/>
<script type="text/javascript" src="jquery-ui-1.8.4.custom/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.8.4.custom/js/jquery-ui-1.8.4.custom.min.js"></script>
<script type="text/javascript">
$(function(){
$('#tabs').tabs();
});
</script>
</head>
<body>
<div id="tabs">

		<ul>
			<li><a href="#tabs-1">First</a></li>
			<li><a href="#tabs-2">Second</a></li>
			<li><a href="#tabs-3">Third</a></li>
		</ul>
		<div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
		<div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>

		<div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
	</div>
</body>

 

For some reason this is not working...i looked at the code of the demo page that is inside the download pack from jquery site, and i have everything in place i dont know what is wrong.

Any ideas?

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.