Jquery 3D Carousel Script Not Working

I need to make the 3d carousel, so I searched and found a script on the internet. it works goods on any offline browser, but it did not work on the website. I used HTML with smarty to make it but only CSS and HTML work but the jquery did not work, even when I upload the HTML page to my server and open it work perfectly.

** the script {

a {
color: #da2020;
}
a:hover {
color: #d6f300;
}
.wrap > h1 {
margin: 26px auto;
}
#showcase {
height: 460px;
background: #16235e;
background: -moz-linear-gradient(top, #16235e 0%, #020223 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#16235e), color-stop(100%,#020223)); /* Chrome, Safari4+ */
background: -webkit-linear-gradient(top, #16235e 0%, #020223 100%); /* Chrome10+, Safari5.1+ */
background: -o-linear-gradient(top, #16235e 0%, #020223 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #16235e 0%, #020223 100%); /* IE10+ */
background: linear-gradient(to bottom, #16235e 0%, #020223 100%); /* W3C */
-webkit-box-shadow: 0px 0px 13px 5px #DB1242;
-moz-box-shadow: 0px 0px 13px 5px #DB1242;
box-shadow: 0px 0px 13px 5px #DB1242;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
#item-title {
color: #F31414;
font-size: 29px;
letter-spacing: 0.13em;
text-shadow: 1px 1px 6px #C72B2B;
text-align: center;
margin-top: 30px;
margin-bottom: 22px;
}
#nav {
text-align: center;
}
#nav > button {
width: 64px;
height: 36px;
color: #666;
font: bold 16px arial;
text-align: center;
margin: 5px;
text-shadow: 0px 1px 0px #f5f5f5;
background: #f6f6f6;
border: solid 2px rgba(0, 0, 0, 0.4);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
cursor: pointer;
}
#nav > button:active,
#nav > button.down {
background: #dfdfdf;
border: solid 2px rgba(0, 0, 0, 0.6);
box-shadow: none;
}
#share {
top: -9px;
}
#credits {
top: -15px;
}
Firefox
Wyzo
Opera
Chrome
Internet Explorer
Safari

 

←
→
}
** I think cs-cart can not read the library.
** kindly see attached to understand me.
its the example of how it works https://test.alphastore-kw.com/div.html

offline.PNG

seperatepage.PNG

withwebsite.PNG

withwebsite.PNG

You are trying to include jquery, but CS-Cart already contains it. 2 different jquery versions can cause conflicts and brake store functions

P.S. Do you see any errors in the developer console of your browser?

You are trying to include jquery, but CS-Cart already contains it. 2 different jquery versions can cause conflicts and brake store functions

P.S. Do you see any errors in the developer console of your browser?

Great thanks to you eComLabs , in developer console on google chrome, I must change the URL of a library to HTTPS not HTTP.

as you advised me I removed the first lib (http://specious.github.io/cloud9carousel/js/lib/jquery.js) to avoid site conflict and future error.

I also tried to include javascript code and also did not work. the only jQury code is work . do you have any advice to make javascript run and work.

overall great thanks to for your help .

The following code works for me

http://prntscr.com/lngwh8

  
  
  
  
    a {
      color: #da2020;
    }
    a:hover {
      color: #d6f300;
    }
    .wrap > h1 {
      margin: 26px auto;
    }
    #showcase {
      height: 460px;
      background: #16235e;
      background: -moz-linear-gradient(top, #16235e 0%, #020223 100%); /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#16235e), color-stop(100%,#020223)); /* Chrome, Safari4+ */
      background: -webkit-linear-gradient(top, #16235e 0%, #020223 100%); /* Chrome10+, Safari5.1+ */
      background: -o-linear-gradient(top, #16235e 0%, #020223 100%); /* Opera 11.10+ */
      background: -ms-linear-gradient(top, #16235e 0%, #020223 100%); /* IE10+ */
      background: linear-gradient(to bottom, #16235e 0%, #020223 100%); /* W3C */
      -webkit-box-shadow: 0px 0px 13px 5px #DB1242;
      -moz-box-shadow: 0px 0px 13px 5px #DB1242;
      box-shadow: 0px 0px 13px 5px #DB1242;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
    }
    #item-title {
      color: #F31414;
      font-size: 29px;
      letter-spacing: 0.13em;
      text-shadow: 1px 1px 6px #C72B2B;
      text-align: center;
      margin-top: 30px;
      margin-bottom: 22px;
    }
    #nav {
      text-align: center;
    }
    #nav > button {
      width: 64px;
      height: 36px;
      color: #666;
      font: bold 16px arial;
      text-align: center;
      margin: 5px;
      text-shadow: 0px 1px 0px #f5f5f5;
      background: #f6f6f6;
      border: solid 2px rgba(0, 0, 0, 0.4);
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      -webkit-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      -moz-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      cursor: pointer;
    }
    #nav > button:active,
    #nav > button.down {
      background: #dfdfdf;
      border: solid 2px rgba(0, 0, 0, 0.6);
      box-shadow: none;
    }
    #share {
      top: -9px;
    }
    #credits {
      top: -15px;
    }
  
  
Firefox Wyzo Opera Chrome Internet Explorer Safari

 

← →

The following code works for me

http://prntscr.com/lngwh8

  
  
  
  
    a {
      color: #da2020;
    }
    a:hover {
      color: #d6f300;
    }
    .wrap > h1 {
      margin: 26px auto;
    }
    #showcase {
      height: 460px;
      background: #16235e;
      background: -moz-linear-gradient(top, #16235e 0%, #020223 100%); /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#16235e), color-stop(100%,#020223)); /* Chrome, Safari4+ */
      background: -webkit-linear-gradient(top, #16235e 0%, #020223 100%); /* Chrome10+, Safari5.1+ */
      background: -o-linear-gradient(top, #16235e 0%, #020223 100%); /* Opera 11.10+ */
      background: -ms-linear-gradient(top, #16235e 0%, #020223 100%); /* IE10+ */
      background: linear-gradient(to bottom, #16235e 0%, #020223 100%); /* W3C */
      -webkit-box-shadow: 0px 0px 13px 5px #DB1242;
      -moz-box-shadow: 0px 0px 13px 5px #DB1242;
      box-shadow: 0px 0px 13px 5px #DB1242;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
    }
    #item-title {
      color: #F31414;
      font-size: 29px;
      letter-spacing: 0.13em;
      text-shadow: 1px 1px 6px #C72B2B;
      text-align: center;
      margin-top: 30px;
      margin-bottom: 22px;
    }
    #nav {
      text-align: center;
    }
    #nav > button {
      width: 64px;
      height: 36px;
      color: #666;
      font: bold 16px arial;
      text-align: center;
      margin: 5px;
      text-shadow: 0px 1px 0px #f5f5f5;
      background: #f6f6f6;
      border: solid 2px rgba(0, 0, 0, 0.4);
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      -webkit-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      -moz-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
      cursor: pointer;
    }
    #nav > button:active,
    #nav > button.down {
      background: #dfdfdf;
      border: solid 2px rgba(0, 0, 0, 0.6);
      box-shadow: none;
    }
    #share {
      top: -9px;
    }
    #credits {
      top: -15px;
    }
  
  
Firefox Wyzo Opera Chrome Internet Explorer Safari

 

← →

Yes eCome-lab its works now perfectly. thanks to your advice.

Yes eCome-lab its works now perfectly. thanks to your advice.

You are welcome! :)

Try this

1. Put jQuery library and the jQuery 3D carousel plugin into your web page.

			1
		
			
			2
		
			

2. Add carousel items into Html5 figure elements.

			01
		
			
			02
		
			  
			03
		
			    
1
			04
		
			    
2
			05
		
			    
3
			06
		
			    
4
			07
		
			    
5
			08
		
			    
6
			09
		
			    
7
			10
		
			    
8
			11
		
			    
9
			12
		
			    
10
			13
		
			  
			14
		
			

3. Add the following CSS snippet into your web page.

view source
			01
		
			#perspective {
			02
		
			  margin:0 auto;
			03
		
			  margin-top:80px;
			04
		
			  width:210px;
			05
		
			  height:140px;
			06
		
			  position:relative;
			07
		
			  -webkit-perspective:1100px;
			08
		
			  perspective:1100px;
			09
		
			}
			10
			11
		
			#carousel {
			12
		
			  width:100%;
			13
		
			  height:100%;
			14
		
			  position:absolute;
			15
		
			  -webkit-transform-style: preserve-3d;
			16
		
			  -moz-transform-style: preserve-3d;
			17
		
			  -webkit-transform: rotateY(0deg) translateZ(-288px);
			18
		
			}
			19
			20
		
			#carousel figure {
			21
		
			  display:block;
			22
		
			  position:absolute;
			23
		
			  background:#2ecc71;
			24
		
			  width:186px;
			25
		
			  height:116px;
			26
		
			  opacity:0.6;
			27
		
			  margin:12px;
			28
		
			  color:#fff;
			29
		
			  cursor:pointer;
			30
		
			  -webkit-transition: opacity1s, -webkit-transform1s;
			31
		
			  -moz-transition: opacity1s, -moz-transform1s;
			32
		
			  -o-transition: opacity1s, -o-transform1s;
			33
		
			  transition: opacity1s, transform1s;
			34
		
			}

4. Call the plugin to initialize the 3D carousel.

			1
		
			$('#carousel').carousel3d();