473,320 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

JS conflict in HTML coding - slider and lightbox

So I'm pretty new to web design and Dreamweaver, but I've managed to put something fairly solid together. The only problem I'm having is that my two main javascripts for images - one slider and one lightbox gallery - are canceling each other out. If one works, the other cannot. Here's the code at the head. Any advice?

Expand|Select|Wrap|Line Numbers
  1.   <link rel="stylesheet" href="http://bytes.com/nivo-slider/themes/default/default.css" type="text/css" media="screen" /> <link rel="stylesheet" href="http://bytes.com/nivo-slider/themes/pascal/pascal.css" type="text/css" media="screen" /> <link rel="stylesheet" href="http://bytes.com/nivo-slider/themes/orman/orman.css" type="text/css" media="screen" />  <link rel="stylesheet" href="http://bytes.com/styles.css">  <link href='http://fonts.googleapis.com/css?family=Lobster+Two:400,400italic,700' rel='stylesheet' type='text/css'> <script src="http://bytes.com/js/jquery-1.7.1.min.js" type="text/javascript"></script> <script type="text/javascript" src="http://bytes.com/js/smooth-scroll.js"></script>    <script type="text/javascript">
  2. $(document).ready(function() {
  3.   $("#commentForm").validate();
  4. });
  5. </script>  <script type="text/javascript" src="http://bytes.com/js/jquery.nivo.slider.pack.js"></script> <script type="text/javascript">
  6.     $(window).load(function() {
  7.         $('#slider').nivoSlider();
  8.     });
  9.     </script>  <link rel="stylesheet" href="http://bytes.com/engine/css/vlightbox3.css" type="text/css" /> <link rel="stylesheet" href="http://bytes.com/engine/css/vlightbox4.css" type="text/css" /> <link rel="stylesheet" href="http://bytes.com/engine/css/vlightbox1.css" type="text/css" /> <link rel="stylesheet" href="http://bytes.com/engine/css/vlightbox2.css" type="text/css" /> <link rel="stylesheet" href="http://bytes.com/engine/css/vlightbox5.css" type="text/css" /> <link rel="stylesheet" href="http://bytes.com/engine/css/vlightbox8.css" type="text/css" /> <link rel="stylesheet" href="http://bytes.com/engine/css/visuallightbox.css" type="text/css" media="screen" /> <script src="http://bytes.com/engine/js/visuallightbox.js" type="text/javascript"></script>  </head>
Feb 26 '13 #1
0 1504

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. Jeroen
3
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
13
by: David | last post by:
jumping on the train and with such a big jump that .Net is there is something I just find hard to believe... since the arrival of Web forms (<asp:xxx/>) - will I ever need to do manual HTML code...
7
by: kapdan01 | last post by:
Greetings, I am presently trying to display chinese characters on a webpage (HTML). I have tried changing the charset to big5, UTF-8 to no avail. Word documents display correctly, as does...
78
by: Robert Baer | last post by:
The homepage i have had up and seemingly working is: http://oil4lessllc.com/ However, the validator has so many complaints, and being so incompetent, i have no clue as to how to fix it all. Would...
0
gautam tarade
by: gautam tarade | last post by:
HI All, I have created 1 table in open office database. 2 fields: user name and password i want to take 2 labels ,2 text boxes ...for name and password on HTML page. Also 2 operations are...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.