Spry Slideshow Shows All While Loading

The Spry Slideshow I built shows all the slides at once while it is loading for the first time. Is there a way to quell this, as it makes the viewer a little queasy -- especially on slow-loading connections. I tried moving the "unobtrusive" javascript file to the end of the page, but that did nothing.
Suggestions?

Excellent suggestion!
First, here are the JS files that get linked in the head of the web page:
SprySlidingPanels.js
SpryDOMUtils.js
Second, here is the basic structure of the slideshow (someone else worked on the CSS, so I cannot vouch for it--though the same thing seems to happen in any slideshow I build, so I seriously doubt there is a CSS issue causing this.)
<div id="newsTicker">
<div id="ticker" class="SlidingPanels">
<div class="SlidingPanelsContentGroup">
            <div id="item1" class="SlidingPanelsContent">
                <img src="irrelevant.jpg" width="641" height="246" alt="doesn't matter" />
                <div class="next"><a href="#" id="link2">Next &gt;&gt;</a></div>
            </div>
            <div id="item2" class="SlidingPanelsContent">
                <img src="irrelevant.jpg" width="641" height="246" alt="doesn't matter" />
                <div class="prev"><a href="#" id="link1">Prev &lt;&lt;</a></div>
                <div class="next"><a href="#" id="link3">Next &gt;&gt;</a></div>
            </div>
            <div id="item3" class="SlidingPanelsContent">
                <img src="irrelevant.jpg" width="641" height="246" alt="doesn't matter" />
                <div class="prev"><a href="#" id="link2">Prev &lt;&lt;</a></div>
                <div class="next"><a href="#" id="link4">Next &gt;&gt;</a></div>
            </div>
            <div id="item4" class="SlidingPanelsContent">
                <img src="irrelevant.jpg" width="641" height="246" alt="doesn't matter" />
                <div class="prev"><a href="#" id="link3">Prev &lt;&lt;</a></div>
                <div class="next"><a href="#" id="link5">Next &gt;&gt;</a></div>
            </div>
            <div id="item5" class="SlidingPanelsContent">
                <img src="irrelevant.jpg" width="641" height="246" alt="doesn't matter" />
                <div class="prev"><a href="#" id="link4">Prev &lt;&lt;</a></div>
            </div>
</div>
</div>
    <div class="bottback">
        <p class="navLinks">
          <a href="#" id="link1">Link</a> |
          <a href="#" id="link2">Link</a> |
          <a href="#" id="link3">Link</a> |
          <a href="#" id="link4">Link</a> |
          <a href="#" id="link5">Link</a>
        </p>
    </div>
  </div>
Lastly, here is the "unobtrusive" code:
//Declare the variable name outside the function so it is global.
var sp;
function InitPage()
sp = new Spry.Widget.SlidingPanels("ticker");
Spry.$$("#link1").addEventListener("click", function(){sp.showPanel('item1');return false; }, false);
Spry.$$("#link2").addEventListener("click", function(){sp.showPanel('item2');return false; }, false);
Spry.$$("#link3").addEventListener("click", function(){sp.showPanel('item3');return false; }, false);
Spry.$$("#link4").addEventListener("click", function(){sp.showPanel('item4');return false; }, false);
Spry.$$("#link5").addEventListener("click", function(){sp.showPanel('item5');return false; }, false);
Spry.Utils.addLoadListener(InitPage);
What's weird is that I seem to be the only soul in the universe experiencing this. And yet, every single slideshow I develop shows all panels on load... why?

Similar Messages

  • Spry Autosuggest: Show All

    Does anyone know of a way to make the Spry AutoSuggest Widget show all options when you first click on it?
    var SpryAutoSuggest3 = new Spry.Widget.AutoSuggest('statusform', 'suggestedStatus', 'dsStatus', 'statusType', {loadFromServer: true, urlParam: 'status'});
    This grabs the data from the XML file as you type it. The XML is database generated on the fly. The XML either shows all the options, or just the ones beginning with the string passed to it from the form field.
    I just want to show all the options when the field is first clicked, and allow them to type if they want to filter it down. My only other option is a normal select list, but thats not as fun
    Cheers,
    Steve

    You can manually try to trigger the `onPostLoad` event: dsFaultCodes.notifyObservers('onPostLoad')
    As usual I answer my own question just moments after posting it!
    function showList(event){
        dsFaultCodes.removeAllFilters(true);
        dsFaultCodes.loadData();
        SpryAutoSuggest.showSuggestions(true);
    This does work, but only once, if you clear the field and try to start again it wont list them all, just the last one you selected. For some reason the removeAllFilters isn't working.
    Any ideas?
    Cheers,
    Steve
    >

  • InDesign showing error while loading EPS -  Urgent HELP!

    Hello All,
    While importing one of the EPS in InDesign CS5.5, I'm getting the below error:
    RangeCheck error occurred creating the screen display for the imported EPS. The EPS will draw as grey box. The actual EPS may not print and will not export as PDF. Do you still want to place this file?
    Please let me know what's the actual issue?
    Thanks,
    Praveen

    Let's break it down into possibilities.
    (a) The EPS is not good.
    (b) InDesign cannot read this perfectly good EPS.
    As for option (a):
    Gejaraja wrote:
    Actually the EPS is created in MathType and it's correctly opening in the software
    You mean, it correctly opens in MathType itself? Well, try opening it with something else. (Uh, I mean not with MathType itself, or another version of MathType, or with InDesign again. Try something else.)
    It could be not all MathType EPS files are good, or possibly there is something in this file of which MathType doesn't think is a problem (but in fact it is), or there is no problem in the file (but InDesign thinks there is).
    By the way, it's pure nonsense to test the state of an EPS file with MathType. MathType does not 'open' EPS files; it doesn't look at the EPS part of it at all. All MathType does is re-create your equation on screen using the encoded private information that itself has stored into the EPS file (and which, in turn, is not used by InDesign, Illustrator, or any other software package other than MathType).
    Gejaraja wrote:
    pl. note that other EPS files are loading fine in InDesign.
    Perhaps those other EPS files are good and this one is not.
    As for option (b):
    If InDesign does not read this EPS even though it is perfectly okay, there is nothing you can do to InDesign to make it accept it. So you still have to treat this Perfectly Good EPS as if it's a Bad EPS, and find another way to re-create it, convert it to another kind of EPS, or to another file format with which InDesign has no problem.
    As for the "actual issue":
    if (a) is true and (b) is false, the issue is that MathType creates EPS files that do not comply to the determined standards;
    if (a) is false and (b) is true, the issue is that InDesign is not able to work with EPS files that comply to the determined standards;
    if both (a) and (b) are true, you have to take it up with both MathType and Adobe technical support;
    if both (a) and (b) are false, then I don't know what the actual issue could be.

  • Spry keys show on page load.

    Hello,
    Well...I don't know how to explain this, so I will just let
    you guys see it, when a user loads the page on the browser it first
    show the spry {keys} and then it relaods after a couple of seconds
    with the actual data. I am using "XML Recordset Export" extension
    and then using Spry Data Set to display the info. I don't know if
    this is slow server or maybe not a good practice.
    This is the
    page...
    Thanks in advance

    Starting with All Panels Closed
    This feature is only supported when using variable height panels, so  you must pass a false into the Accordion's constructor for the  "useFixedPanelHeights" constructor option, and a -1 for the  "defaultPanel" option.
    Gramps

  • Not showing video while loading

    My quicktime is not showing the video on quicktime movies, primarily on the apple website and i'm perplexed as to why. It will play the audio while it is loading and once it has loading i can refresh and it will play the audio and video... any ideas on how to fix this very annoying problem?

    I am having the same problem. If someone could provide a solution that would be great. I reset safari, cleared out cache, made sure I had a newest updates.

  • Error While loading data from 8 DSOname to Cube.

    Hi All,
    while loading data from 8<DSONAME> to CUBE , the data is Sucessfully loaded data into Cube, but the Request Status is shown in Yellow,why it is showing, please tell me how to make it Sucessfull.
    Thanks and Regards,
    santosh.

    HI All,
    In ST22 i'm getting Short Dump, the Error massage is
    MESSAGE_TYPE_X
    WHAT HAPPEN
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
    Error Analyis is:
    Short text of error message:
    Generic process chain
    Long text of error message:
    Technical information about the message:
    Message class....... "RSMPC"
    Number.............. 000
    Variable 1.......... " "
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    "MESSAGE_TYPE_X" " "
    "CL_RSSM_LOADING===============CP" or "CL_RSSM_LOADING===============CM005"
    "IF_RSPC_EXECUTE~EXECUTE"
    there is any Patch Problem...
    Please let me Know how to resolve this issue.
    thanks and regards,
    santosh.

  • Error while loading data to ASO database using rules files and buffer id

    Hello all,
    While loading the data to our ASO cube from a data file and using a server rules file, I am getting a warning: "Incorrect Syntax near ['$'] ". But my script no where mentions the usage of $. Also the console throws no error while loading the data. It displays the progress bar 0-100% while the data is being loaded, but actually no data is getting loaded (when retrieval is checked). Also the script is unable to form any log file or error file. Can anyone throw some light what might be the reason behind this kind of data load behaviour.
    Thanks in advance.
    Amit

    is that the real script? I don't see you using any parameter. (That's where $ comes to play). Try a double quote with echo (I never used echo in MaxL)
    Also don't post passwords and server names on a forum.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Error while loading the multiple instance of Acrobat

    Dear all,
         While loading multiple instances of an acrobat application I get an error message stating that:
              "The organizer database is damaged and will be reset the next time Acrobat is launched.        
               Quit the Application and close any currently opened browsers."
         Can anyone tell me the reason why this occurs, the version of the acrobat is 8.0 (it is a licencedVersion).
    Note: The Snapshot of the image is attached for further reference.
    Regard's
    Amith Sai

    Dear brennao,
              Thank you for your reply, I followed the same procedure which you have mentioned in your reply, but still am facing the same problem is ther any other work around which would help me suppress this error.
    plzzzzzzzzz reply...
    Regard's
    Amith Sai

  • Runtime error while loading data in BI 7.0

    Hi All,
    While loading data in BI 7.0,
    I am getting Runtime Errors "TSV_TNEW_PAGE_ALLOC_FAILED" . No more space available for extending internal table.
    As per SAP BASIS SUPPORT comments:
    "This is NOT a space problem but rather a huge memory resource consumption one, as you're trying to hold excessive amount of data in Memory, and that's when you get the short dump; I know that SAP sometimes is not clear in explaining the issue (ie "No more storage space available...."), but this refers to memory requirement, not disk storage space per se.
    So, please try to break down your data load in smaller sets and this will work OK"
    How to proceed with the above comments? How to break down data load in to smaller sets?
    Please helpme....

    there could be various ways -
    using selections / filters in Infopackage / DTPs based on may be some period or some other char you could identify based on your data.
    Hope it helps
    Vikash

  • Error while loading data from one ODS to anther ODS

    Hi all,
    while loading the data from one ODS to another ODS, we are getting error message - Error: No match found in target. No Space on ODS.
    I have done a runstat on these tables of the ODS.. but the issue repeated.
    Can anyone tell how do we solve this issue.

    Check if you get any other Dump message in ST22 to see if it is due to some space availability in the DSO or underlying tables.
    Or Post in detail if any other errore message is available.

  • UNCAUGHT EXCEPTION error while loading 2lis_11_vakon to OSD_C15 Infocube.

    Hello All,
    While loading data from 2lis_11_vakon to Infocube OSD_C15, we are getting ABAP dump:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_RSR_X_MESSAGE
    The exception 'CX_RSR_X_MESSAGE' was raised, but it was not caught anywher
      along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program 'SAPLRRMS' has to be
    terminated.
    Data is loaded properly till PSA, but while loading it ahead, request remains yellow for long time and eventually becomes red with the dump ahead,
    We are currently on SAP BW - SAPKW70019
    If anyone has got same issue in past, let me know,
    Thanks in advance.
    Regards,
    Vipul.

    Hello,
    Do the following checks:
    1) Check whether you are dropping indexes before the load
    2) Check whether enough table space is available - you can use SM21 and see whether you get messages like this 'ORA-20000: Insufficient privileges#ORA-06512: at
    "SYS.DBMS_STATS", line 2150#ORA-06512: at "SYS.DBMS_STATS",
    line 14112#ORA-06512: at line 1'
    3) Check OSS Note 963760
    Regards,
    Shashank

  • While loading master data into PSA, the eorror is 'Error from PSA"

    Hi All,
    While loading master data into PSA, the eorror is 'Error from PSA"
    Could you anybody please help in this reagard.
    Thanx,
    Sridhar.

    Hi rakesh,
    May be IDOCs not processed completely,
    Idoc Problem, Either wait till time out & process Idoc from detail monitor screen, or go to BD87 & process Idoc with status = YELLOW ( be careful while processing IDOCS from BD87, choose only relevant Idocs
    Cheers
    Raj

  • Spry Slides Showing on Load

    The Spry Slideshow I built shows all the slides at once while
    it is loading for the first time. Is there a way to quell this, as
    it makes the viewer a little queasy -- especially on slow-loading
    connections. I tried moving the "unobtrusive" javascript file to
    the end of the page, but that did nothing.
    Suggestions?

    I should add there is only one item initially selected like a
    simple form.

  • Spry = Exception caught while loading data.xml [object Error]

    Exception caught while loading data.xml [object Error]
    I get this mistake message then I look in the Browser to my
    create html page with put in the xml file by Spry. All my xml files
    are not shows, its shows only the error massage.
    What can I do for the repair it?
    Thanks in advance for you answer and regards.

    Hi Jay,
    While in theory it should work offline, you have run into
    the main issue.
    IE7 has a security limitation that prevents the ActiveX
    control that does the XMLHttpRequest from working from the local
    file system.
    Without being about to control the viewing environment, you
    can't guarantee it will work in all instances.
    It will work if running off a web server (
    http://localhost or otherwise).
    I wouldn't recommend it for offline use unless you can
    control the usage.
    Let me know if you have further questions.
    Thanks,
    Donald Booth
    Adobe Spry Team

  • IPhoto will not load the iPhoto library.  When I select "show all windows" the library does appear but cannot open it.  I am on version 8.1.2 and using Maverick.

    iPhoto will not load the iPhoto library.  When I select "show all windows" the library does appear but cannot open it.  I am on version 8.1.2 and using Maverick.

    I was able to get it fixed. I had received some responses and they had me
    recreate the library I believe.  It's been a while so I cant remember
    exactly what I did. I have since upgraded to the latest i photo version and
    have had no problems with it.
    Brian
    On Friday, November 7, 2014, Apple Support Communities Updates <

Maybe you are looking for