Solved

jQuery equivalent for scriptaculous slideshow

Posted on 2008-06-16
6
1,504 Views
Last Modified: 2013-11-18
Hello Experts,
I currently have a working sideshow on the site which uses sideshow.js for scriptaculous. For various reasons we have decided not to use scriptaculous anymore.
Can someone of you please let me know if there is any equivalent sideshow feature/plugin in jQuery.
I am attaching the existing code which actually receive list of Ids to process the sideshow.
Your help is much appreciated.
Thanks
Sam
0
Comment
Question by:newbie27
  • 5
6 Comments
 
LVL 8

Author Comment

by:newbie27
ID: 21793039
please have the existing script attached, i would be very grateful if someone of you can advice me to use the similar for jQuery...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" CONTENT= "BDS Live; a comprehensive library resource covering books, DVDs, games and music.">
<meta name="author" CONTENT="Site hosted and maintained by Ehaus Ltd - http://www.ehaus.co.uk">
<meta name="copyright" CONTENT="All material copyright Bibliographic Data Services Ltd or its licencsors.">
<title>BDSLive -  Page. At the heart of your library</title>
<link media="screen" href="styles/screen.css" rel="stylesheet" type="text/css" />
 
<script type="text/javascript" src="include/scriptaculous/prototype.js"></script>
<script type="text/javascript" src="include/scriptaculous/scriptaculous.js?load=effects,dragdrop,builder"></script>
<script type="text/javascript" language="javascript" src="include/slideshow.js" ></script>
<script type="text/javascript" language="javascript" src="include/SlideShowServices.js" ></script>
 
<!--[if IE 5]>
<link media="screen" href="styles/screenie5.css" rel="stylesheet" type="text/css" />
<![endif]-->
 
<% 
ISBNList = Request("ISBNs") 
If ISBNList <> "" Then
	If Right(ISBNList, 1) = "," Then ISBNList = Left(ISBNList, Len(ISBNList) -1)
End If
 
ListName = Request("ListName")
 
theSort = Replace(Request("sort"), "|", "/")
theSort = Replace(theSort, "/a", "")
theServer = Request("server")
 
%>
</head>
<SCRIPT TYPE="text/javascript">
<!--
//var isbnArray = new Array(<%="""" & Replace(ISBNList, ",", """,""") & """"%>)
SLIDES = new slideshow("SLIDES");
SLIDES.timeout = 5000;
SLIDES.prefetch = 3;
SLIDES.repeat = true;
 
makeRequest('slideShow', '<%=ISBNList%>', '<%=theServer%>', '<%=theSort%>');
 
 
//if (false) SLIDES.shuffle();
 
//-->
</SCRIPT>
<body><a name="top"></a>
<div id="marginleft">
<div id="marginright">
	<div id="wrapper">
		<!--#include file="include/SlideShowheader.inc"-->
		<div id="editable">
			<div id="listholder">
				<div id="holder">
					<div class="nextprevTop" style="margin:0 0 10px 0;">
						<div class="items">
							<h2><%=ListName%></h2>
						</div>
						<div class="pagenav">
							<!-- SLIDE NAV BAR  -->
							<STRONG><A HREF="javascript:SLIDES.previous()">&lt;previous</A></STRONG>
							<STRONG><A HREF="javascript:SLIDES.next()">next&gt;</A></STRONG>
							<STRONG><A HREF="javascript:SLIDES.hotlink();window['myBDS'].focus();">view</A></STRONG>
							<STRONG><A HREF="javascript:SLIDES.play()">play</A></STRONG>
							<STRONG><A HREF="javascript:SLIDES.pause()">pause</A></STRONG>
						</div>
					</div>
					
					<div class="content-box">
						<div class="maincol" style="padding: 10px 10px 10px 10px;">
							<!-- Main body  -->
								
								<div id="errors"></div>
 
								<div style="float:right;margin:10px 10px 10px 10px; width:350px; ">
									<P align="left">
										<a href="javascript:SLIDES.hotlink();window['myBDS'].focus();"><img name="SLIDESIMG" STYLE="filter:progid:DXImageTransform.Microsoft.Fade(); width:330px; border-color:#8c8c8c;" src="images/spacer.gif" BORDER="1" alt="Click here to view Title"></A>
									</P>
								</div>
								<div style=" border: margin:10px 10px 10px 10px; ">
								<DIV ID="SLIDESTEXT" style="width:370px; margin:10px 10px 10px 10px; ">
									<SCRIPT type="text/javascript">
									<!--
									// For browsers that cannot change the HTML on the page,
									// display all of the text from the slideshow.
									// I place this within the DIV, so browers won't see it
									// if they can change the DIV.
									nodivtext = SLIDES.get_all_text("<li>", "<p>\n");
									if (nodivtext) {
									  document.write("<UL>\n" + nodivtext + "\n</UL>");
									}
									//-->
									</SCRIPT>
								</DIV>
								<div style="float:right; text-align:top; ">
								<SCRIPT type="text/javascript">
									<!--
									if (document.images) {
									  SLIDES.image = document.images.SLIDESIMG;
									  SLIDES.textid = "SLIDESTEXT";
									  SLIDES.update();
									}
									
									//-->
								</SCRIPT>
								</div>
							<!-- /Main body  -->
						</div>
					</div><!-- ends display -->
				</div><!-- end -->
			</div><!-- end container -->
		</div> <!-- end editable -->
 
<!--#include file="include/footer.inc"-->
	</div><!-- end wrapper -->
</div></div><!-- ends bg shadows -->
</body>
</html>

Open in new window

0
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
ID: 21793444
0
 
LVL 8

Author Comment

by:newbie27
ID: 21793567
Hello Hielo,
Thanks for your post, however, that seems only sliding through the images ...
I want it also for the rest of the content for each record

can please see the attached...
screen.JPG
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 8

Author Closing Comment

by:newbie27
ID: 31467574
thanks
0
 
LVL 8

Author Comment

by:newbie27
ID: 21793602
0
 
LVL 8

Author Comment

by:newbie27
ID: 21793634
hielo,
please can you also look into this ... i still have not managed to make it work right ....

please help

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_23487530.html
thanks
sam
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question