I Need Help With JavaScript/JQuery

by 2 replies
3
I'm about to drive myself crazy. I created a function on jsFiddle. Took me 4 hours to make it work. Now, I don't know how to transfer the code from Fiddle to my actual website. Take a look at my site. Also, here is a link to jsFiddle

What am I doing wrong?!
#programming #javascript or jquery
  • Why are you loading these script 2 times?

    Code:
    <script type="text/javascript" src="aom/js/jquery.js"></script>
    <script type="text/javascript" src="aom/js/shop.js"></script>
    <script type="text/javascript" src="aom/js/lightbox/jquery.colorbox.js"></script>
    <link type="text/css" media="screen" rel="stylesheet" href="aom/js/lightbox/lightbox1/colorbox.css">
    <link rel="stylesheet" type="text/css" href="style.css">
    Remove the lines above aom_header, should work then
  • Got it! Thank you man.

Next Topics on Trending Feed

  • 3

    I'm about to drive myself crazy. I created a function on jsFiddle. Took me 4 hours to make it work. Now, I don't know how to transfer the code from Fiddle to my actual website. Take a look at my site. Also, here is a link to jsFiddle What am I doing wrong?!