 |
| Visual Web Developer 2005 Discuss creating ASP.NET 2.0 sites with Microsoft's Visual Web Developer 2005. If your question is more specific to a piece of code than the Visual tool, see the ASP.NEt 2.0 forums instead. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Visual Web Developer 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

March 18th, 2011, 03:48 AM
|
|
Authorized User
|
|
Join Date: Oct 2009
Posts: 72
Thanks: 17
Thanked 0 Times in 0 Posts
|
|
Jquery Scripts COnflict
Hi,
I have used 4 scripts on my web page.
Out of which 3 are working & 4th isn't working.
Following is the code :-
<!--Video Begins-->
<script type="text/javascript" src="js1/jquery.js"></script>
<script type="text/javascript" src="js1/easySlider1.5.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
});
</script>
<!--Video Ends-->
<!--Top stories Begins-->
<link rel="stylesheet" type="text/css" href="Css/TopStories.css" />
<script type="text/javascript" src="Js/jquery.min.js" ></script>
<script type="text/javascript" src="Js/jquery-ui.min.js" ></script>
<script type="text/javascript">
jQuery.noConflict();
$(document).ready(function(){
$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
});
</script>
<!--Top stories Ends-->
<!--Case Study Begins-->
<script type="text/javascript" src="lib/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="lib/jquery.jcarousel.min.js"></script>
<link rel="stylesheet" type="text/css" href="skins/tango/skin.css" />
<script type="text/javascript">
function mycarousel_initCallback(carousel)
{
// Disable autoscrolling if the user clicks the prev or next button.
carousel.buttonNext.bind('click', function() {
carousel.startAuto(0);
});
carousel.buttonPrev.bind('click', function() {
carousel.startAuto(0);
});
// Pause autoscrolling if the user moves with the cursor over the clip.
carousel.clip.hover(function() {
carousel.stopAuto();
}, function() {
carousel.startAuto();
});
};
jQuery(document).ready(function() {
jQuery('#mycarousel').jcarousel({
auto: 2,
wrap: 'last',
initCallback: mycarousel_initCallback
});
});
</script>
<!--Case Study Ends-->
<!--Opinion Script Begins-->
<link rel="stylesheet" type="text/css" href="Css/featuredcontentglider.css" />
<script type="text/javascript" src="Js/featuredcontentglider.js">
/***********************************************
* Featured Content Glider script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</script>
<script type="text/javascript">
featuredcontentglider.init({
gliderid: "canadaprovinces", //ID of main glider container
contentclass: "glidecontent", //Shared CSS class name of each glider content
togglerid: "p-select", //ID of toggler container
remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
selected: 0, //Default selected content index (0=1st)
persiststate: false, //Remember last content shown within browser session (true/false)?
speed: 500, //Glide animation duration (in milliseconds)
direction: "leftright", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
autorotate: true, //Auto rotate contents (true/false)?
autorotateconfig: [3000, 200] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})
</script>
<!--Opinion Script Ends-->
Top Stories - script isn't working.
What should be done? Pls Help....
Thanks.....!!
|
|

November 28th, 2011, 03:23 AM
|
|
|
First off, you need to make sure that you are using the correct version of jQuery for you plugins. Only import one. There is a way to run multiple jQuery Versions, but that's for another question.
For this one, you need to understand the $('document').ready() is the same as $(function(){}); It is simply a shortcut. So you need to group your initialy calls together, as well as using proper script tags.
<script type="text/javascript" language="Javascript">
$(document).ready(function(){
$(".tweet").tweet({
username: "mytwitterusernamehere",
join_text: "auto",
avatar_size: null,
count: 1,
intro_text: null,
auto_join_text_default: "",
auto_join_text_ed: "",
auto_join_text_ing: "",
auto_join_text_reply: "",
auto_join_text_url: "",
loading_text: ""
});
$('.scroll-pane').jScrollPane();
});
</script>
|
|

July 26th, 2012, 01:34 PM
|
|
|
For this one, you need to understand the $('document').ready() is the same as $(function(){}); It is simply a shortcut. So you need to group your initialy calls together, as well as using proper script tags steel board fence Alberta.
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Dll Conflict |
suneelkch |
C# 2005 |
1 |
July 10th, 2007 08:37 AM |
| conflict |
khalid_raye |
Pro JSP |
0 |
January 3rd, 2007 06:37 AM |
| write conflict |
iacon |
VB Databases Basics |
1 |
July 3rd, 2006 03:36 PM |
| collation conflict |
vijayma |
SQL Server 2000 |
1 |
July 25th, 2005 09:50 PM |
| date conflict |
marks20101 |
Oracle ASP |
1 |
December 7th, 2004 03:16 PM |
|
 |