Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Remember me

Go Back   Tutorialized ForumsWeb Design & DevelopmentDreamweaver

Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
Unread Tutorialized Forums Sponsor:
Old June 4th, 2015, 10:07 PM
Anaky Anaky is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
Join Date: Jun 2015
Posts: 1 Anaky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 48 sec
Reputation Power: 0
Unhappy Multiple JQuery's on 1 Webpage


I have recently followed a tutorial and managed to create this working JQuery slider.

The problem is I want another slider on the same page, though im not sure how to do this, can anyone help?

Below is the code I am using.

I have removed the 2 link's from the script tag's for JQuery.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JQuery Slider</title>

<style type="text/css">
.slider {
	margin:30px auto;
.slider img {
<link href="jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css" />
<link href="jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="Link Removed"></script>
<script type="text/javascript" src="Link Removed"></script>
<script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script><script type="text/javascript">

	function Slider() {
		$(".slider #1").show("fade", 500);
		$(".slider #1").delay(5500).hide("fade", 500);
		var sc = $(".slider img").size();
		var count = 2;
		setInterval(function (){
			$(".slider #"+count).show("fade", 500);
			$(".slider #"+count).delay(5500).hide("fade", 500);
			if(count == sc){
			   count = 1;
			   count = count + 1;
		}, 6500);


<body onload="Slider();">

<div class="slider" id="slider1">
<img id="1" src="slider1/slide1.jpg" border="0" alt="Slide1"/>
<img id="2" src="slider1/slide2.jpg" border="0" alt="Slide2"/>
<img id="3" src="slider1/slide3.jpg" border="0" alt="Slide3"/>

<div class="slider" id="slider2">
<img id="1" src="slider2/slideA.jpg" border="0" alt="SlideA"/>
<img id="2" src="slider2/slideB.jpg" border="0" alt="SlideB"/>
<img id="3" src="slider2/slideC.jpg" border="0" alt="SlideC"/>


Last edited by Anaky : June 4th, 2015 at 10:15 PM. Reason: Trying To Explain Better

Reply With Quote

Viewing: Tutorialized ForumsWeb Design & DevelopmentDreamweaver > Multiple JQuery's on 1 Webpage

Developer Shed Advertisers and Affiliates

Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.

© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap