Table appears for a second before spry Master/Detail loads

Hi!
I'm using the Spry Master/Detail function on a page to display an interactive version of the table on the same page. On browser load, the table is briefly displayed before it is replaced by the Spry interactive table. Is there any way to avoid this? It looks kinda hokey.
ps I know I could avoid it by putting the table on another page, but then it wouldn't be searchable.
Thanks in advance.
Mignonne

Sorry for butting in, Hi Beth,
Considering the number of images that have to be loaded before the data can be displayed, the page is quite fast.
There are a couple of things that can be done to make it load faster and to give it a feel that is is loading faster.
To make it run faster consider
compressing components with GZip, see here http://developer.yahoo.com/performance/rules.html#gzip
placing expiry headers on images, css and js see here http://developer.yahoo.com/performance/rules.html#expires
place the reference to js files further down, see here http://developer.yahoo.com/performance/rules.html#js_bottom
use a Content Delivery Network, see here http://developer.yahoo.com/performance/rules.html#cdn
To make it feel as though it runs faster, hide the contents until the data has been processed and issue a message or loading bar to that extent.
1. add the following style rule to make use of the SpryHiddenRegion feature
.SpryHiddenRegion {visibility:hidden;}
2. change the first part of the Master/Detail region to
  <div class="MasterDetail">
    <div spry:region="dsepimediums">
     <div spry:state="loading" align="center"><h2>Loading data, please wait ...</h2></div>
      <div spry:state="ready">
        <div class="MasterContainer">
          <div class="MasterColumn" spry:repeat="dsepimediums" spry:setrow="dsepimediums" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected"><span spry:content="{Plant_Name}"></span></div>
        </div>
      </div>
    </div>
    <div spry:detailregion="dsepimediums" class="DetailContainer SpryHiddenRegion">
      <div class="DetailColumn"><h2>{Plant_Name}</h2></div>
Here we are making use of the various states that Spry goes through see here http://livedocs.adobe.com/en_US/Spry/1.4/help.html?content=WSFC2EB69F-9F15-4005-A993-B7667 BA7EB75.html
We are also doing our best to hide our data until fully available see here http://livedocs.adobe.com/en_US/Spry/1.4/help.html?content=WSFC2EB69F-9F15-4005-A993-B7667 BA7EB75.html
I hope this helps.

Similar Messages

  • White Box appears for a second before loading (Preloader?)

    Hello,
    This is my second post in 2 days (sorry). I am working with
    Flash MX. I am building a site and I have build a template of sorts
    (menu layout & background image). I was originally going to try
    to load external swf (which was yesterday's issue and now resolved)
    but it didn't quite give me the effect I was looking to achieve.
    So, I am now linking to each page using flash buttons. I drop
    a .swf it's own HTML page (home, contact, etc.). I am not sure if
    this is the best way to do it, but it has worked in the past.
    However, I am getting a white box where the swf sits as I navigate
    from page to page.
    Is this because I need a preloader? I have the background
    color in my .fla file set to black. If not, how do rid of the box?
    Thanks.

    Hey, I couldn't wait to try this out. I pasted your code in
    and I am still having the issue. Maybe it's just the way I have set
    this up. I like having individual swf on each page. Not sure where
    to go from here. I really do appreciate all your help in sticking
    with my issue. Sorry if I am misunderstanding things. As I learn, I
    want my work to look professional.
    Also, at what point do I use a preloader? Is it always
    needed?
    Here is my HTML code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <title>Untitled Document</title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4
    resized
    if (init==true) with (navigator) {if
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
    onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW ||
    innerHeight!=document.MM_pgH) location.reload();
    MM_reloadPage(true);
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length; i++)
    if (a
    .indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    //-->
    </script>
    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    body,td,th {
    color: #000000;
    -->
    </style></head>
    <body>
    <div id="Layer1" style="position:absolute; width:200px;
    height:115px; z-index:1; left: 52px; top: 0px;">
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
    width="978" height="723">
    <param name="movie" value="untitled.swf">
    <param name="bgcolor" value="#000000" />
    <param name="quality" value="high">
    <embed src="untitled.swf" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="978" height="723
    bgcolor="#000000""></embed>
    </object>
    </div>
    </body>
    </html>

  • When I click on "bookmarks" the list only appears for a second or two before disappearing

    When I click on "Bookmarks" my list of saved bookmarks only appears for a second or two before disappearing. I don't have time to make a selection????

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • My ipod touch wont turn on!! the apple logo appears for five seconds and then it goes to a black screen and it has been repeating this when im not even touching it!! help!!

    my ipod touch wont turn on! i pressed the power button and the white apple logo appeared for five seconds and went to a black screen, and then back to the logo for 5 secs and back to the black screen for 5 secs. im not touching my ipod and it is still doing this. i did leave it onover night to update ios, is this why??

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • I recently updated to the latest version of Itunes (11.1) and when i try to play music or tv shows, the sound lasts only for a second before going completely mute, anyone know how to fix this?

    recently updated to the latest version of Itunes (11.1) and when i try to play music or tv shows, the sound lasts only for a second before going completely mute, anyone know how to fix this?

    Check this thread out -> iTunes 10.4 & Multimedia Keyboard
    It doesn't look like there is a fix yet, but some people in the thread are pointing to this workaround:
    pikot wrote:
    Following some suggestion i seem to have found a solution for the problem and my play/pause, next and previous buttons work with iTunes 10.4.1
    - You need to open a text editor (like notepad) as an administrator.
    - Open the SetPoint players.ini file (C:\Program Files\Logitech\SetPointP\players.ini)
    - Edit the line under the [Players] section to match the line bellow (bold is the wndClass which is to be changed)
    iTunes=wac,iTunes.exe,ITWindow,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,iTunes
    - Save the file
    - Restart the SetPoint and hopefully play/pause, next and previous buttons should work (at least they work for me)

  • I am not able to update any apps, when I tap on update, installing, appears for a second and 'update' appears again.

    On my iphone5 , When I tap on update, installing, appears for a second and update appears
    Again and it does not updates, this happens on my ipad2 and iPhone 3 also.

    Settings>General>Software Update is currently only available for IOS 5 and above.
    If your are using IOS 4, you need to connect to iTune (computer) to update software
    http://support.apple.com/kb/HT4972

  • Macbook air 2013 needs power button pressed for 10 seconds before it turns on?

    macbook air 2013 needs power button pressed for 10 seconds before it turns on? also I've tried resting PRAM but when i press the 4 buttons before the start up screen it never restarts again? please help!

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    If this does not help, contact Apple.
    Genius Bar reservation:
    http://www.apple.com/retail/geniusbar/
    Best.

  • I updated my iPad to iOS 6 I face a problem to retrieve  my books in the iBooks and the videos as well all the other apps are fine , I am sure I did back up, the books appear for a second in the iBook then disappear? Thanks

    I updated my iPad2 to iOS 6 I face a problem to retrieve  my books in the iBooks and the videos as well . All the other apps are fine with full data. I am sure I did back up to my friend's mac book pro .The books appear for a second in the iBook then disappear? Thanks

    They gave me a brand new phone and I logged into all of my iCloud stuff, etc...
    When I try to go onto the Internet it will say its loading, loading, loading, then give up. Pandora has given up after one song. All other apps that need to connect to Internet or networks load and load and then give up. I will double tap the one button and close out all the apps and it may work for a second but no more. Then I will turn the phone off and the same thing happens.
    I have run out of ideas.

  • How Do I: Bind a YUI Calendar Widget to a Spry Master Detail Region?

    Hello All,
    Does anyone know how to bind a YUI Calendar widget to a Spry
    master detail region? I have the dataset, yui calendar inserted but
    no clue how to bind the two so my dataset populates the calendar
    (Highlights dates that have a event) and when a date in the
    calendar is clicked it shows in the details section.
    I have found a tidbit or two via google but they don't deal
    with the new yui cs4
    widget. I have seen some video on adove tv that touches on
    inserting the yui calendar into a spry dataset but not how to bind
    the two together...
    Any thoughts on this would be greatly appreciated.

    You have to write some code that sets up a select callback on
    the YUI side of things, and then set the current row of the data
    set that matches that date.
    Something like this:
    var cal1 = new YAHOO.widget.Calendar("cal1","YUICal1");
    cal1.render();
    cal1.selectEvent.subscribe(function(type, args, obj)
    // Get the selected date string from cal1.
    var selectedDate = cal1.getSelectedDates()[0].getDate();
    // Find the first row in the data set that has the
    // selected date in it's "date" column.
    var row = ds1.findRowsWithColumnValues({"date":
    selectedDate}, true);
    // If we have a matching row, make it the current row for
    the data set.
    if (row)
    ds1.setCurrentRow(row.ds_RowID);
    }, cal, true);
    --== Kin ==--

  • Using Spry Master Details And Flash Videos

    I orginally posted this in the Dreamweaver forum but found
    this one and figured it was a more appropriate place.
    Hi, I am using the Spry Master Detail set to Dynamically load
    a flash player into a detail area. Works great in Firefox but
    doesn't load the player in IE.
    http://www.3screensart.com/default5.cfm
    I have tried various methods
    http://www.3screensart.com/default6.cfm
    but still isn't working as intended.
    I could go back to iFrames but really don't want to do that
    either.

    Did you ever get this to work? I am trying to do something
    similar with no success. I tried swfobject and other ways of
    getting the parameters through Spry to Flash to no avail. Something
    in Spry is mangling my embed on the way to IE whenever it's
    included in a Spry region.
    I am reluctantly being forced to find something other than
    Spry due to IE.

  • Little gear on my screen for 30 seconds before log in?

    I have a small gear showing on my screen, the only object. Then it takes approx 30 seconds before the log in appears..Whats up?

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    4. Reinstall Yosemite: Reboot from the Recovery HD. Select Reinstall OS X from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    5. Reinstall Yosemite from Scratch:
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    How to Clean Install OS X Yosemite
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Blue screen appears for 1 second after closing my games apps

    I'm the only one here having this issue ?
    after i played a game like clash of clans, and i'm bout' to close the apps in multitasking tab,
    suddenly blue screen appears and  flickering for one second...
    i don't know if my unit having a error or there is something like bugs? but its a brand new...
    here's the link of video of that issue:
    httpswww.youtube.comwatchv=zy55sqScu7g&feature=youtu.be
    please help me.. what to do to fix this problem
    co'z i cant get a peace of mind with my unit!

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • Spry Master Detail from two HTML tables?

    I'm trying to use two spry tables generated from html on the same page.I would like to set up an advaned master detail region where the "tbl_adrs" (contains Multiple addresses) references the "tbl_provider" (contains a provider name and the unique identifier 'ProNo'). Is this possible with spry data set from html tables? All examples reference spry tables from XML. If it is possible, here is the HTML to look at.
    Thanks in advance.
    John
    </style>
    <script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var ds_provider = new Spry.Data.HTMLDataSet(null, "tbl_provider");
    ds_provider.setColumnType("ProNo", "number");
    var ds_adrs = new Spry.Data.HTMLDataSet(null, "tbl_adrs");
    ds_adrs.setColumnType("ProNo", "number");
    ds_adrs.setColumnType("ID", "number");
    //-->
    </script>
    <table width="300" border="0" id="tbl_provider">
          <tr>
            <th scope="col">Provider</th>
            <th scope="col">ProNo</th>
          </tr>
          <?php do { ?>
            <tr>
              <td><?php echo $row_rs_provider['BigName']; ?></td>
              <td><?php echo $row_rs_provider['ProNo']; ?></td>
            </tr>
            <?php } while ($row_rs_provider = mysql_fetch_assoc($rs_provider)); ?>
        </table>
        <p> </p>
        <div spry:region="ds_provider ds_adrs">
          <table>
            <tr>
              <th spry:sort="Provider">Provider</th>
              <th spry:sort="ProNo">ProNo</th>
            </tr>
            <tr spry:repeat="ds_provider" spry:odd="odd" spry:even="even" spry:hover="hover" spry:select="selected">
              <td>{Provider}</td>
              <td>{ProNo}</td>
            </tr>
          </table>
          <p>{ds_adrs::ProNo}{ds_adrs::ID}</p>
          <p>{ds_adrs::Group}</p>
          <p>{ds_adrs::Complex}</p>
          <p>{ds_adrs::Institution}</p>
          <p>{ds_adrs::Street}</p>
          <p>{ds_adrs::City}</p>
          <p>{ds_adrs::Phone}</p>
          <p>{ds_adrs::Fax}</p>
        </div>
        <p> </p>
        <p> </p>
        <table width="300" border="0" id="tbl_adrs">
          <tr>
            <th scope="col">ProNo</th>
            <th scope="col">ID</th>
            <th scope="col">Group</th>
            <th scope="col">Complex</th>
            <th scope="col">Institution</th>
            <th scope="col">Street</th>
            <th scope="col">City</th>
            <th scope="col">Phone</th>
            <th scope="col">Fax</th>
            <th scope="col">County</th>
          </tr>
          <?php do { ?>
            <tr>
              <td><?php echo $row_rs_adrs['ProNo']; ?></td>
              <td><?php echo $row_rs_adrs['ID']; ?></td>
              <td><?php echo $row_rs_adrs['Group']; ?></td>
              <td><?php echo $row_rs_adrs['Complex']; ?></td>
              <td><?php echo $row_rs_adrs['Institution']; ?></td>
              <td><?php echo $row_rs_adrs['Street']; ?></td>
              <td><?php echo $row_rs_adrs['Adrs_Comp']; ?></td>
              <td><?php echo $row_rs_adrs['Phone']; ?></td>
              <td><?php echo $row_rs_adrs['Fax']; ?></td>
              <td><?php echo $row_rs_adrs['County']; ?></td>
            </tr>
            <?php } while ($row_rs_adrs = mysql_fetch_assoc($rs_adrs)); ?>
        </table>

    Moved to the Spry forum.

  • After effects slow ram preview hold for 4 seconds before starting

    Hi I have upgraded from After effects CS5.5 to CC 2014 , and I notices that when I want to make Ram view by hitting 0 num pad key , it pauses for 3 or 4 seconds before it start caching , and it become really annoying if you want to ram preview every 1 min , I tried playing around with the Preferences /Memory/ Ram reserved for other apps , but no good .
    That was not the case in CS 5.5 , is it was starting caching as soon as I hit the 0 key .
    I am working on Mac pro workstation , quad core intel xieon 2x 3.2 Ghz Mac Os 10.7.5
    Thanks

    I am guessing that you have MP rendering turned on in the preferences. Please turn it off and test again.

  • "Not responding" appears for 60 seconds - why?

    I am using Firefox ver. 4.0.1 with Google toolbar; Windows 7 Ultimate, 32-bit
    When I click the Mozilla icon "Not Responding" appears for about 60 seconds. I wonder why this is happening? Could it be a service has not started? What is FF looking for or waiting for. What should happen when I click the Firefox icon? How can I log events and see exactly what did happen?

    https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding

Maybe you are looking for