jQuery slideshow

Posted on 2008-06-16
Last Modified: 2011-10-19
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.
Question by:newbie27
  • 5
  • 2

Author Comment

ID: 21793595

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<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 -">
<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" />
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")
<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();
<body><a name="top"></a>
<div id="marginleft">
<div id="marginright">
        <div id="wrapper">
                <!--#include file="include/"-->
                <div id="editable">
                        <div id="listholder">
                                <div id="holder">
                                        <div class="nextprevTop" style="margin:0 0 10px 0;">
                                                <div class="items">
                                                <div class="pagenav">
                                                        <!-- SLIDE NAV BAR  -->
                                                        <STRONG><A HREF="javascript:SLIDES.previous()">&lt;previous</A></STRONG>
                                                        <STRONG><A HREF="">next&gt;</A></STRONG>
                                                        <STRONG><A HREF="javascript:SLIDES.hotlink();window['myBDS'].focus();">view</A></STRONG>
                                                        <STRONG><A HREF="">play</A></STRONG>
                                                        <STRONG><A HREF="javascript:SLIDES.pause()">pause</A></STRONG>
                                        <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>
                                                                <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>");
                                                                <div style="float:right; text-align:top; ">
                                                                <SCRIPT type="text/javascript">
                                                                        if (document.images) {
                                                                          SLIDES.image = document.images.SLIDESIMG;
                                                                          SLIDES.textid = "SLIDESTEXT";
                                                        <!-- /Main body  -->
                                        </div><!-- ends display -->
                                </div><!-- end -->
                        </div><!-- end container -->
                </div> <!-- end editable -->
<!--#include file="include/"-->
        </div><!-- end wrapper -->
</div></div><!-- ends bg shadows -->

Open in new window

LVL 82

Expert Comment

ID: 21804194
Do you have a url for that picture? I don't know what behaviour you are seeing.

Author Comment

ID: 21804401
Yes I do,
please follow this url
user details:
from the left menu, please chose view list and then on the page you will find slide show button...
thanks for your help
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Author Comment

ID: 21845834
hello hielo,
please can you look into this
i am unable to show cookie data in the grid.
please help
LVL 82

Accepted Solution

hielo earned 500 total points
ID: 21852141
For the slideshow, refer to the following:

I haven't used this, but from the example, it seems that's what you are after. Look at the source code of the example for a sample html structure and js setup.

Author Comment

ID: 21853795
thank hielo,
i will refer to your link above, hopefully that should help me out.
please hielo can you look into this
when i make a temporary cookie list from here
by default it is showing the results fine, but then when i wanted to pick it manually from the drop down list, the flexigrid is not been showed up. please help.
if you do not, no one else could, HIELO. please look.


Author Closing Comment

ID: 31467595

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

830 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