Using anchors for Sliding panel

I want to use external links with anchors to specific panel in Spry Sliding Panels i.e.
www.mysite.com/Portfolio.html#Panel1
www.mysite.com/Portfolio.html#Panel2
Is it possible to do so?  kindly guide me    

You can use this technique http://foundationphp.com/tutorials/spry_url_utils.php. You can then use the Spry Loadlistener to trigger the showpanel instead of of an onclick event that is used here http://labs.adobe.com/technologies/spry/samples/slidingpanels/SlidingPanelsSample.html
Gramps

Similar Messages

  • Can you use anchors with tabbed panels???

    Im trying to use anchors with tabbed panels but they dont seem to work.  I need to be able to link to specific tabs and specific areas within those tabs, but I haven't been able to find a way to do this.  Does anyone know or have a work around?

    Yes, that is an improvement in Muse, check release notes here, http://forums.adobe.com/message/5104247 - Widget Improvements
    The selected tab in Design view for the Tabbed panel widget will now be selected/active when previewing, exporting or publishing the site to Business Catalyst.
    - Abhishek Maurya

  • Jump Menu for Sliding Panels Widget

    I have used the sliding panels tutorial to build a 15 page
    sliding document inside a new site I am building. It works
    briliantly. However I want to be able to use a jump menu to access
    any of the 15 pages as well as use the next and previous buttons.
    I tried by inserting a form, then jump menu but couldnt put
    it all together code wise.
    Is it possible to use a jump menu for this widget (Im sure it
    must be) and what bits do I put where? Any ideaas greatly
    appreciated.
    Nigel

    OK Ive given it a shot but I dont where to put that code in
    the mix so to speak.
    The widget code skeleton is below: as per the tutorial.
    Where exactly in this mix would I put the code you suggested.
    Im not sure if its css, html or js.
    Sorry Im such a novice at this business but I would be very
    grateful for a bit more help here.
    Nige
    <!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=UTF-8" />
    <title>Untitled Document</title>
    <script type="text/javascript"
    src="SpryAssets/SprySlidingPanels.js"></script>
    <link type="text/css" rel="stylesheet"
    href="SpryAssets/SprySlidingPanels.css">
    <script type="text/javascript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
    if (restore) selObj.selectedIndex=0;
    //-->
    </script>
    </head>
    <body>
    <a href="#" onclick="sp1.showFirstPanel();">First
    Panel</a>|<a href="#"
    onclick="sp1.showPreviousPanel();">Previous Panel</a>|
    <a href="#" onclick="sp1.showNextPanel();">Next
    Panel</a>| <a href="#"
    onclick="sp1.showLastPanel();">Last Panel</a>|
    <div id="panelwidget" class="SlidingPanels">
    <div class="SlidingPanelsContentGroup">
    <div class="SlidingPanelsContent" id="p1">Panel
    1</div>
    <div class="SlidingPanelsContent" id="p2">Panel
    2</div>
    <div class="SlidingPanelsContent" id="p3">Panel
    3</div>
    <div class="SlidingPanelsContent" id="p4">Panel
    4</div>
    <div class="SlidingPanelsContent" id="p5">Panel
    5</div>
    <div class="SlidingPanelsContent" id="p6">Panel
    6</div>
    </div>
    </div>
    <script type="text/javascript">
    var sp1 = new Spry.Widget.SlidingPanels("panelwidget");
    </script>
    </body>
    </html>

  • Using Images for Tabbed Panels

    I'm trying to use button images that I created in photopshop as the background for the tabs of my tabbed panel widget in dreamweaver. I tried this by inserting the folling code into the css (note bold line):
    .TabbedPanelsTab {
    position: relative;
    top: 1px;
    float: left;
    padding: 4px 10px;
    margin: 0px 1px 0px 0px;
    font: bold 0.9em sans-serif;
    background-image:url(images/tabs.gif);
    list-style: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    cursor: pointer;
    color: #FFF;
    I also tried using  background:url(images/tabs.gif) in place of background-image:url(images/tabs.gif) but it still won't work. What do I need to know about using images for my tabs?

    Have a look here
    http://www.adobe.com/devnet/dreamweaver/articles/spry_widgets_design.html

  • How do i style an inactive navigation for sliding panel?

    How  can i style my navigation when they are not active(for example i would  like to style my "previous" navigation arrow in a specific manner when  there is no previous content to show)

    With great difficulty. We must first determine the current panel and then, if the current panel is 0 then the previous button has to be changed and if the current panel matches the total number of panels, the next button has to be changed.
    The following is a complete document that will work. Make sure you have all of the support (read JS) files in the allocated directory.
    <!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=utf-8" />
    <title>Sliding Panels Example.</title>
    <script src="SpryAssets/SprySlidingPanels.js" language="javascript" type="text/javascript"></script>
    <script src="SpryAssets/SpryDOMUtils.js" type="text/javascript"></script>
    <link href="SpryAssets/SprySlidingPanels.css" rel="stylesheet" type="text/css" />
    <style>
    .SlidingPanelsContentGroup {min-height:0;}
    .disabled {color:#F00;}
    </style>
    <script>
    function slideNextPanel() {
         sp1.showNextPanel();
         var currentPanel = getCurrentPanel();
         var panelCount = sp1.getContentPanelsCount()-1;
         if (currentPanel==panelCount) {
              Spry.$$("a#nextPanel").addClassName("disabled");
         } else {
              Spry.$$("a#previousPanel").removeClassName("disabled");
    function slidePreviousPanel() {
         sp1.showPreviousPanel();
         var currentPanel = getCurrentPanel();
         if (currentPanel==0) {
              Spry.$$("a#previousPanel").addClassName("disabled");
         } else {
              Spry.$$("a#nextPanel").removeClassName("disabled");
    function getCurrentPanel() {
         var className = 'SlidingPanelsContent'; //change the className that is on all your content panels..
         var panelCount = sp1.getContentPanelsCount();//get panel length
         var current = sp1.getCurrentPanel(); //get current panel
         var group = sp1.getContentGroup(); //get our group
         var panelNumber = 0;
         if(group.hasChildNodes()){
              var j = 0;
              for(var i = 0, l = group.childNodes.length; i < l; i ++){
                   if(group.childNodes[i].className && group.childNodes[i].className.search(new RegExp("\\b" + className + "\\b")) != -1){ // if it has SlidingPanelsContent class we found the correct node.
                        if(group.childNodes[i] == current){ // if it matches our current panel, we have a number
                             panelNumber = j;
                             return panelNumber;
                        j++; //increase our panelcounter
    </script>
    </head>
    <body>
    <a href="#" id="previousPanel" onclick="slidePreviousPanel();">Previous Panel</a> |
    <a href="#" id="nextPanel" onclick="slideNextPanel()">Next Panel</a> |
    <div id="panelwidget" class="SlidingPanels">
      <div class="SlidingPanelsContentGroup">
        <div class="SlidingPanelsContent" id="p1">Panel 1</div>
        <div class="SlidingPanelsContent" id="p2">Panel 2</div>
        <div class="SlidingPanelsContent" id="p3">Panel 3</div>
        <div class="SlidingPanelsContent" id="p4">Panel 4</div>
        <div class="SlidingPanelsContent" id="p5">Panel 5</div>
        <div class="SlidingPanelsContent" id="p6">Panel 6</div>
      </div>
    </div>
    <script type="text/javascript">
    var sp1 = new Spry.Widget.SlidingPanels("panelwidget");
    </script>
    </body>
    </html>
    Gramps

  • Sliding Panels hidden content shows on page load

    Greetings,
    I am working on a site for a child abuse prevention
    non-profit and need some help asap!
    I am using the unobtrusive sliding panels at:
    Adobe
    Unobtrusive Sliding Panels Example
    I have two panels side by side. When the page loads, all of
    the hidden content is briefly shown to the right of the panels. It
    does this on the adobe sample as well.
    Is there ANY way to hide this hidden content during the page
    load? If so, could I get exact instructions? I am more of a
    front-end person and not the best with scripting.
    BTW, all of the content is static so the "Adobe Hiding Data
    References During Page Load" does not work in this instance.
    Thanks in advance!!

    Try this:
    1. Set a class that sets visibiliity to hidden:
    .hideGroup{visibility:hidden;}
    2. Add this class to your content group:
    <div class="SlidingPanelsContentGroup hideGroup">
    3. Add a line to sp_unobtrusive.js to remove this new class
    after the widget made.
    Spry.$$(".SlidingPanelsContentGroup").removeClassName("hideGroup");
    Add that right under the addEventListener lines.
    That should do it.
    Don

  • Sliding panel widget controls a la Brightcove website

    I'm interesting in building a sliding panels widget with controls that behave as seen on the Brightcove website (Aug.2010). Specifically, when the user clicks on the previous or next buttons, the controls along the bottom change to an "active" state to properly indicate which is the current slide/panel. I assume this would be achieved through javascript. I have been trying to find a source where this method has been documented and have had no luck so far. Can anyone point me in the right direction?
    Thanks in advance for any advice.

    Brightcove uses a JQuery sliding panel. Google the subject and you will find your answer.
    If you want to use Spry, have a look at the second example here http://labs.adobe.com/technologies/spry/samples/slidingpanels/SlidingPanelsSample.html
    Or have a look at customizing http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2141541

  • Sliding panels from data - single panel

    I would like to use the spry sliding panels from data widget
    with only 1 panel at a time. The sample has two at a time.
    Most of the code makes sense, but every modification I try
    breaks the next/previous navigation.

    I modified the code from the example for you, so now it works
    with just one panel visible.
    Changes are:
    set the width of the wigdet en
    slidingpanel class to 250 instead of 500.
    var numberOfPanelsPerView = 1
    remove all the
    spry:if="{ds_RowNumber} % 2 == 0" attributes
    change
    onclick="sp1.showPanel('p{prevStartIndex}') to
    onclick="sp1.showPreviousPanel()
    change
    onclick="sp1.showPanel('p{nextStartIndex}') to
    onclick="sp1.showNextPanel()
    This all leads to the following code
    <!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"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Sliding Panels Sample</title>
    <script type="text/javascript"
    src="../../widgets/slidingpanels/SprySlidingPanels.js"></script>
    <script src="../../includes/xpath.js"
    type="text/javascript"></script>
    <script src="../../includes/SpryData.js"
    type="text/javascript"></script>
    <style type="text/css">
    <!--
    .widget {
    /* width: 500px;*/
    width: 250px;
    height: 230px;
    border: solid 1px black;
    background-color: #CCCCCC;
    .SlidingPanels {
    /* width: 500px; */
    width: 250px;
    height: 230px;
    overflow: visible;
    position: relative;
    float: left;
    padding: 0px;
    .SlidingPanelsContainer {
    width:8000em;
    height:230px;
    position: absolute;
    float:left;
    margin: 0px;
    padding: 0px;
    .SlidingPanelsContent {
    width: 250px;
    height: 230px;
    float: left;
    .content {
    width: 241px;
    height: 200px;
    float: left;
    overflow: hidden;
    padding: 4px;
    border-right: solid 1px #999999;
    .panelnav {
    clear: both;
    height: 42px;
    .left {
    text-align: left;
    margin-left: 4px;
    .right {
    text-align: right;
    margin-right: 4px;
    -->
    </style>
    <link href="../../css/samples.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript">
    <!--
    var ds1 = new
    Spry.Data.XMLDataSet("../../demos/products/products.xml",
    "/products/product");
    function TruncateStrIfNeeded(str, maxChars)
    // Decode our string so when we count characters, we aren't
    counting
    // the chars in an entity name.
    str = Spry.Utils.decodeEntities(str);
    if (str.length > maxChars)
    str = str.substr(0, maxChars - 4) + " ...";
    return Spry.Utils.encodeEntities(str);
    ds1.addObserver({ onPostLoad: function() {
    var numberOfPanelsPerView = 1; //was 2
    var rows = ds1.getData();
    var numRows = rows.length;
    // Add some custom columns to our data set.
    for (var i = 0; i < numRows; i++)
    var row = rows
    // Add a 'teaser' column which is basically the description,
    // but truncated so it can fit within our panel.
    row.teaser = TruncateStrIfNeeded(row.desc, 400);
    // Add a 'viewStartIndex' column that indicates what view
    this row
    // belongs to.
    row.viewNumber = Math.floor(i / numberOfPanelsPerView) + 1;
    row.viewStartIndex = i - (i % numberOfPanelsPerView);
    row.prevStartIndex = row.viewStartIndex -
    numberOfPanelsPerView;
    row.nextStartIndex = row.viewStartIndex +
    numberOfPanelsPerView;
    //-->
    </script>
    </head>
    <body>
    <h3>Building a Sliding Panels widget with Spry
    Data</h3>
    <p>This sample creates a Sliding Panels widget by using
    Spry Data to build the repeating markup. In this sample the content
    panels are generated dynamically and the photo in each panel comes
    from Spry Data. The text is static, which is just there for
    example.</p>
    <p>The content panel is generated in a Spry:repeat
    region. An important thing in the panel widget is that each panel
    should have a unique ID. This ID is generated with a Spry data
    reference. Using the same method, the Panel links are generated the
    same way, using the same data values. This ensures that the panel
    links and IDs match up correctly. In this sample, the visible
    window is twice as wide as the content panel. This allows for 2
    panels to show at once. The links, therefore, need to show only
    every other panel number. This will allow the panel to move by 2
    content panels each time. To do this, a spry:if is used to only
    display the even number panel numbers.</p>
    <p>Note: Since this sample depends on Spry Data for the
    content and markup, it will not degrade when JavaScript is turned
    off. This sample shows how to construct this widget with Data.
    Determine if this method fits your needs with degredation and
    accessibility in mind. Also, this sample is more complicated only
    because we are showing 2 panels at once and there are differing
    lengths of text in the panels.</p>
    <p>Page: <span spry:region="ds1"
    spry:repeatchildren="ds1"> <a href="#"
    onclick="sp1.showPanel('p{viewStartIndex}'); return
    false;">{viewNumber}</a> </span></p>
    <div class="widget">
    <div id="apDiv1" class="SlidingPanels"
    spry:region="ds1">
    <div class="SlidingPanelsContainer">
    <div id="p{ds_RowNumber}" class="SlidingPanelsContent"
    spry:repeat="ds1">
    <div class="content"> <img
    src="../../demos/products/{boximage}" width="75" height="56"
    hspace="5" vspace="5" align="left" alt="Sample Images from Spry
    Data." />
    <p>{desc}</p>
    </div>
    <div class="panelnav left"><a href="#"
    onclick="sp1.showPreviousPanel(); return
    false;">&lt;&lt;
    Previous</a>          <a
    href="#" onclick="sp1.showNextPanel(); return false;">Next
    &gt;&gt;</a></div>
    </div>
    </div>
    <script type="text/javascript">
    var sp1 = new Spry.Widget.SlidingPanels("apDiv1");
    </script>
    </div>
    </div>
    </body>
    </html>

  • Horizontal Sliding Panels flicker IE

    Hello
    I'm using the horizontal Sliding Panel to slide some Images
    and text. It works fine with Safari on Mac, but with IE and Firefox
    on Windows the animation isn't very smooth (the problem concerns
    only the image, the text-sliding works fine). With the vertical
    Sliding Panels I don't have this problem...
    Can anyone help me? Thanks

    solaris23 wrote:
    > Hello Danilo
    >
    > Horizontal:
    http://www.miomedia.ch/test/SprySlidingPanels.html
    > Vertical:
    http://www.miomedia.ch/test/SprySlidingPanels2.html
    >
    > Look on the image in the horizontal slide, the animation
    flickers on the left
    > and right image-borders.
    > In the vertical slide the animation is much smoother.
    This probably has to do with the rendering of the moved
    elements on the page and IE redrawing portions of the images at a
    time during the slide. I'd suspect that the issue actually exists
    in the vertical slide as well, but is minimized due to the angled
    top and bottom of the images, but that's just a suspicion, not a
    known fact. It seems that if I look closely enough at the animation
    in Firefox it seems to be doing something similar, but it is indeed
    a good bit smoother than IE.
    > I'm using transparent png images, I've also tried with
    jpg, with different
    > duration time, different fps... but still the same
    problem....
    That would have been my suggestion too. A quick local copy of
    your page and it seems that making the duration 1000 milliseconds
    seems to help with moving left to right, but moving right to left
    still has a little bit of flicker.
    I tried making the images smaller and it seemed to be
    lessened, so perhaps it's IE and the larger images rendering. You
    might also try making the vertical lines of the screenshot to be a
    bit less vertical, or perhaps add a shadow or glow to the image to
    soften the hard vertical edge.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Background image instead of color for each sliding panel

    I'm working with sliding panels and trying to add some style to the page.  I have figured out how to put a different background color on each slide and even how to put a background image on the whole thing, but  I cannot figure out how to use multiple images (one for each pannel). When I put the images in place of the colors it works fine in the Dreamweaver screen but totally disapears in a web browser.  Here is the url:    http://www.centerofdiscovery.com/the_center_of_discovery_home_page.html
    any help would be great!

    Regarding getting the tabs to sit on top of the content panel, speaking generally here, make the containing div for both the tabs and the content panel to have a margin: 0 auto; setting.This is for horizontal alignment.
    The blue rectangle can be belayed by setting border: none; on the specific rule that applies to the "a" links within that container. It is an indication that there is a link there.
    Please rename the images that have word-spaces in their file names. Some browsers react badly to word-spaces.
    I see that you have
    <p>
      </p><div class="slidingpanelandtab">
        <blockquote>
          <p><a onclick="sp1.showPanel(0); return false;" href="#"><img width="144" height="70" class="oneColFixCtrHdr" src="Images/panneltab.jpg"/></a><a onclick="sp1.showPanel(1); return false;" href="#"><img width="144" height="70" src="Images/panneltabb.jpg"/></a><a onclick="sp1.showPanel(2); return false;" href="#"><img width="144" height="70" src="Images/panneltaba.jpg"/></a><a onclick="sp1.showPanel(3); return false;" href="#"><img width="144" height="70" src="Images/panneltabc.jpg"/></a></p>
        </blockquote>
    Which sets off your "slidingpanelandtab" class div with an empty paragraph space <p></p> and then sets off the next section not only with <p></p> paragraph spacing but also with a <blockquote></blockquote>, which will by all rights indent that element.
    I suggest that you get rid of the spurious paragraph tags and the blockquote; that should tighten up your spacing.
    Beth

  • Sliding Panels using HTMLPanel

    //////// FIXED /////////////
    sorry for the previous post , I fixed my code it was an error
    on my onclick function the 2 widgets work simply perfect.
    if someone interested i can put online some example
    ciao P
    //////// FIXED /////////////
    I'm trying to integarte Sliding Panels and HTMLPanel Widget
    I used the syntax as showed in APi docs
    I call every panel with an onclick function like
    onclick="SP1.showFirstPanel(0)
    ;sp1.loadContent('panels/sp1.html'); return false;"
    and this is the instance of the widget
    var SP1 = new Spry.Widget.SlidingPanels("panelwidget"); //
    sliding widget
    var sp1= new Spry.Widget.HTMLPanel("sp1"); // htmlpannel
    containing my splinding panel number 1
    sp1.loadContent('panels/sp1.html');
    do you think this two widgets can operate togheter ?
    thanks in advance
    Paolo

    bandg111 wrote:
    Hello,
    Title says it all really, I'm using SlidingPanels and am trying to add one of the default easing effects (such as 'sinusoidalTransition' ) to it...
    I don't know what the syntax is!
    I've got
    var sp1 = new Spry.Widget.SlidingPanels("panelwidget" , {duration:600, fps:160, defaultPanel:0, enableAnimation:true, enableKeyboardAnimation:false});
    and want to add easing to it... do I just need to plonk sinusoidalTransition in there somewhere? I can't find examples of the syntax anywhere!
    Add advice appreciated!
    var sp1 = new Spry.Widget.SlidingPanels("panelwidget" , {duration:600, fps:160, defaultPanel:0, enableAnimation:true, enableKeyboardAnimation:false, transition: Spry.sinusoidalTransition});
    Try that.

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • This message could not be delivered because your SMTP settings are not set. Please use the Accounts Preferences panel to set the SMTP options for your account.

    I am not able to send out an email. I keep getting the following message: This message could not be delivered because your SMTP settings are not set. Please use the Accounts Preferences panel to set the SMTP options for your account. Can someone help me with this?

    We need some information, starting with the email provider (eg. Google, Yahoo, Bellsouth, etc)

  • Best practice for using anchor labels?

    I am looking into using anchor labels for the first time and
    I am thinking I cant use them for this site because I am using xml
    and other variables that are being passed in on the first frame but
    maybe there as a chance that it still works. So I would like to
    know the best ways to use anchor labels. Someone who has used them
    please let me know.
    Thanks,
    Randy

    I've used anchor tags in Dreamweaver a lot, but never in
    Flash

  • Sliding Panels Help for Javascript Idiot

    I have a simple thumbnail gallery to which I am attempting to
    apply the Spry Sliding Panels widget. I am creating the gallery
    from an xml file, and this seems to be working fine.
    I looked at the code of the Sliding Panels examples, but
    being the Spry and javascript idiot that I am, I was not able to
    incorporate the Sliding Panels successfully. Would someone mind
    taking a look at my code and perhaps commenting about how I would
    go about adding the sliding panel? I would appreciate it.
    P.s., I currently have 5 thumbnails visible. I would like to
    slide to the next 5 on the click of the arrows that are included.
    Here is the code, without any of my failed attempts at SP
    included:
    <!---Begin Thumbs Holder--->
    <div id="thumbsmask">
    <div id="thumbsbox" spry:region="dsPhotos dsGalleries
    dsGallery">
    <div id="p{ds_RowNumber}" spry:repeat="dsPhotos">
    <div class="thumb">
    <img id="tn{ds_RowID}"
    alt=""
    src="galleries/{dsGalleries::@base}{dsGallery::@base}/thumbnails/{@thumbpath}"
    width="90"
    height="90"
    style="opacity:0.3; filter:alpha(opacity=30)"
    onmouseover="MM_effectAppearFade('tn{ds_RowID}', 500, 30,
    100, false)"
    onmouseout="MM_effectAppearFade('tn{ds_RowID}', 500, 100,
    30, true)"
    onclick="HandleThumbnailClick('{ds_RowID}');"
    title="tn{ds_RowID}" />
    </div>
    <div class="thumbspacer"></div>
    </div>
    </div>
    </div>
    <!---End Thumbs Holder--->
    <div id="arrowholder">
    <div id="arrowright">
    <a href="#">
    <img src="images/arrowright.png" alt="left" width="20"
    height="20" align="right" border="0" />
    </a>
    </div>
    <div id="arrowleft">
    <a href="#">
    <img src="images/arrowlef.png" alt="right" width="20"
    height="20" border="0" />
    </a>
    </div>
    </div>

    Thanks for the response.
    I have tried to implement that, and it still does not work.
    Here is my code with it implemented.
    Thanks again.
    <script type="text/javascript">
    <!--
    var dsGalleries = new
    Spry.Data.XMLDataSet("galleries/galleries.xml",
    "galleries/gallery");
    var dsGallery = new
    Spry.Data.XMLDataSet("galleries/{dsGalleries::@base}{dsGalleries::@file}",
    "gallery");
    var dsPhotos = new
    Spry.Data.XMLDataSet("galleries/{dsGalleries::@base}{dsGalleries::@file}",
    "gallery/photos/photo");
    function TruncateStrIfNeeded(str, maxChars)
    // Decode our string so when we count characters, we aren't
    counting
    // the chars in an entity name.
    str = Spry.Utils.decodeEntities(str);
    if (str.length > maxChars)
    str = str.substr(0, maxChars - 4) + " ...";
    return Spry.Utils.encodeEntities(str);
    dsPhotos.addObserver({ onPostLoad: function() {
    var numberOfPanelsPerView = 5;
    var rows = dsPhotos.getData();
    var numRows = rows.length;
    // Add some custom columns to our data set.
    for (var i = 0; i < numRows; i++)
    var row = rows
    // Add a 'teaser' column which is basically the description,
    // but truncated so it can fit within our panel.
    row.teaser = TruncateStrIfNeeded(row.desc, 400);
    // Add a 'viewStartIndex' column that indicates what view
    this row
    // belongs to.
    row.viewNumber = Math.floor(i / numberOfPanelsPerView) + 1;
    row.viewStartIndex = i - (i % numberOfPanelsPerView);
    row.prevStartIndex = row.viewStartIndex -
    numberOfPanelsPerView;
    row.nextStartIndex = row.viewStartIndex +
    numberOfPanelsPerView;
    //-->
    </script>
    <script type="text/javascript"
    src="scripts/gallery.js"></script>
    <<<<<<<<<<<<<<body>>>>>>>>>>>>>>>
    <!---Begin Thumbs Holder--->
    <div id="thumbsmask">
    <div id="thumbsbox" spry:region="dsPhotos dsGalleries
    dsGallery">
    <div id="p{ds_RowNumber}" spry:repeat="dsPhotos">
    <div class="thumb">
    <img id="tn{ds_RowID}"
    alt=""
    src="galleries/{dsGalleries::@base}{dsGallery::@base}/thumbnails/{@thumbpath}"
    width="90"
    height="90"
    style="opacity:0.3; filter:alpha(opacity=30)"
    onmouseover="MM_effectAppearFade('tn{ds_RowID}', 500, 30,
    100, false)"
    onmouseout="MM_effectAppearFade('tn{ds_RowID}', 500, 100,
    30, true)"
    onclick="HandleThumbnailClick('{ds_RowID}');"
    title="tn{ds_RowID}" />
    </div>
    <div class="thumbspacer"></div>
    </div>
    </div>
    </div>
    <!---End Thumbs Holder--->
    <div id="arrowholder">
    <div id="arrowright" spry:if="{ds_RowNumber} % 2 == 0
    &amp;&amp; {prevStartIndex} &gt;= 0">
    <a href="#" onclick="sp1.showPanel('p{prevStartIndex}');
    return false;">
    <img src="images/arrowright.png" alt="left" width="20"
    height="20" align="right" border="0" />
    </a>
    </div>
    <div id="arrowleft"spry:if="{ds_RowNumber} % 2 != 0
    &amp;&amp; {nextStartIndex} &lt; {ds_RowCount}">
    <a href="#" onclick="sp1.showPanel('p{nextStartIndex}');
    return false;">
    <img src="images/arrowlef.png" alt="right" width="20"
    height="20" border="0" />
    </a>
    </div>
    </div>
    <script type="text/javascript">
    var sp1 = new Spry.Widget.SlidingPanels("thumbsmask");
    </script>

Maybe you are looking for

  • Signing a document using an existing certificate

    Hi, I've been searching for APIs to digitally sign documents. I've successfully signed documents using Keystore and KeyPairGenerator (both of them work), but I haven't been able to use an existing certificate (a .cer file) to sign a document. Can any

  • Workaround for 1023 byte limit in utl_file

    I am looking for a work-around for the 1023 byte limit in PL/SQL's utl_file.put_line. Here's what I need to be able to do : I need to extract all columns out of a table into a file. Two of the columns are varchar 2000 bytes. I am using utl_file.put_l

  • Photoshop open but won't show...

    I was in the process of using Photoshop today, when I clicked the scrollbar, and the program suddenly disappeared as if it had closed. The program still appears to be open on the dock, but no amount of clicking will make it show. When I ctrl-click th

  • Jump Menu/Database question

    Greetings all. I have a contact management database for different departments. As it stand right now, I have a one page on my site with a list of each department, and when you click on a department it takes you to a webpage that populates with inform

  • Using old accesories with 5th Gen?

    hi, i had a fourth gen that somehow disappeared-long story. anyway, i now have a 5th gen 60 gig and was wondering if some of the old stuff would work? specifically the wall charger with firewire cable? it seems to be the same size on the bottom. Also