Jump to content

Jquery image slider wont work and also crashes other UI stuff


sugafree

Recommended Posts

Hi,

 

I am trying to create a decent website. I decided to use some jquery to make it look better, but frankly im struggling with it as im still new to JS and Jquery. I want to add a 3D jquery image slider http://codepen.io/johnblazek/pen/nceyw but as soon as I add it, it messes up my css and nothing is working.

 

In the header is used

<link href="css/ui-lightness/jquery-ui-1.10.4.min.css" rel="stylesheet"><script src="js/jquery-1.10.2.js"></script><script src="js/jquery-ui-1.10.4.js"></script>

index.html

style.css

Edited by sugafree
Link to comment
Share on other sites

second on is Use of getPreventDefault() is deprecated. Use defaultPrevented instead. in jquery-1.10.2.js Ive changed this and the error disappeared but nothing changed. The whole div doesnt show up and some CSS wont work and some other jquery

 

// Events bubbling up the document may have been marked as prevented// by a handler lower down the tree; reflect the correct value.this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...