Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > Visual Web Developer 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 18th, 2011, 03:48 AM
Authorized User
Points: 410, Level: 7
Points: 410, Level: 7 Points: 410, Level: 7 Points: 410, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 72
Thanks: 17
Thanked 0 Times in 0 Posts
Unhappy 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.....!!
Reply With Quote
  #2 (permalink)  
Old November 28th, 2011, 02:23 AM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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>
Reply With Quote
  #3 (permalink)  
Old July 26th, 2012, 01:34 PM
Banned
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 05: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 02:16 PM



All times are GMT -4. The time now is 01:10 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.