Save initial state after leaving slide

I have a slide with drag and drop.I want to have the page save the interactions state I had on the page when click next then previous. Right now when I go to the next page and come back, the page refreshes to the initial state.

Very annoying, I know, but there is no way to keep the state.

Similar Messages

  • How set an initial state for Slide effects

    Hi everyone, I would like to use the slide effect like the
    collapsable panels, with an initial state "closed".
    I used Spry Pre-Release 1.5 Preview
    In my first attempt
    <a
    onclick="Spry.Effect.Slide('MoreOptionSlide',{duration:1000,from:'0%',
    to:'100%',toggle:true})" >More Options</a>
    The DIV is always "open" and after click it closes and
    performes the slide animation.
    Also i tried to change some style attributes of the DIV and
    restore or change them in the "setup" function of the
    spy.Effect.Slide constructor, I thought this function is executed
    before animation, but it is executed even without be triggered the
    animation.
    Thanks,
    Richard

    Hello Richard,
    After you design the page and adjust the element dimensions
    as if the element would be in page without the animation to show it
    you'll have to set the 'display:none' CSS property on that element.
    In this situation the element will remain in page but will simply
    be invisible. Something like this:
    <div id="MoreOptionSlide" style="width: 300px; height:
    200px; border: 1px solid black; overflow: auto;display:none;">
    </div>
    Now using Spry 1.5 effects you can make this element appear
    after the More Options link is clicked:
    <a href="#" onclick="effect.start(); return false;"
    >More Options</a>
    <script type="text/javascript">
    var effect = new
    Spry.Effect.Slide('MoreOptionSlide',{duration:1000,from:'0%',
    to:'100%',toggle:true});
    </script>
    Regards,
    Cristian MARIN

  • My iPhone 4 is unable to backup after I had the IOS upgraded to 4.3.5 ver. In iTunes, backup progress shown in initial progress even leaving it on overnight. What shd be done to normalize the backup process? SOS

    My iPhone 4 is unable to backup after I had the IOS upgraded to 4.3.5 ver. In iTunes, backup progress shown in initial progress even leaving it on overnight. What shd be done to normalize the backup process?
    iTunes for my PC was also updated to the latest.
    .... SOS

    You should be importing all pics taken with the iphone to your computer regularly as you would with any digital camera, particularly before any update or restore.
    You should also be syncing your contacts to your computer regularly.  They hsould be in whatever program/service that you have selected to sync.
    If you have failed to do this, then they are very likely gone.
    You can try restoring from backup.

  • How to get the initial state of JSF PAGE IN ORACLE ADF

    Hi everybody
    my Jdeveloper version is 12.1.3
    I'm building my JSF pages based on a template that has a navigation pane which contains command navigation items , every one of them (command navigation items) appears as a link at runtime and calls a JSF page , I wish to get the initial state for any page when leaving it then entering such page again , and I would like to know what is the suitable place to write the code to do this task.
    many thanks !

    Clear the cache by adding the following to each jsf page.
    <%
    response.setHeader("Cache-Control","no-cache"); 
    response.setHeader("Pragma","no-cache");
    %>

  • Cannot save the configuration after zone changing.

    The customer is trying to save the configuration after a Zone changing. The error message is the following:
    # copy running-config startup-config
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: Failed to save persistent configuration
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: pss_create failure, code = 0x8048001e, URL = sync:/mnt/pss/zone_zs_active_zset_cfg
    2008 Oct 10 13:22:45 SW1SU %SYSMGR-2-CFGWRITE_ABORTED: Configuration copy aborted.
    Configuration update aborted: request was abort
    or
    #copy running-config startup-config
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: Failed to save persistent configuration
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: pss_create failure, code = 0x8048001e, URL = sync:/mnt/pss/zone_zs_active_zset_cfg
    Does someone has any idea how to solve this problem?

    The root cause is the compact flash card. There was a software fix attempted in 3.0.2 but is not 100%. If the problem shows up again, the reload will clear it, but the ultimate fix is to replace the compact flash card with a new one. In some instances, based on your service provider, this may be a complete chassis replacement. This requires license re-homing as licenses are tied to the chassis serial number. I believe it has to do with the number of writes to the CF card. At some point, the card goes into a read only state and reload is the only option to clear it.

  • Design Studio - put initial state on chart

    Hello,
    I work with DS1.3 SP01, and I have a problem with putting initial state on chart after RESET action from a button.
    Initially I was inspired with Zahid’s post http://scn.sap.com/thread/3566300, but it’s seems to be other scenario and needs.
    I this case, I have a tabstrip with 5 pages, where each presents pie charts. Once we click on one of the chart, a crosstab is displayed for each of them. When I click on button RESET, whatever a page is currently displayed I want to clear all filters for all my charts. During a RESET I hide all cross tabs – so I don’t have to liberate datasources linked to crosstabs.
    My code for RESET button seems to work quite ok, cause it gives me a chart with initial state, ready for next selections…. in condition that I do not click on RESET just after 1st click on pie chart.
    For example :
    - on page 1 : click on pie chart 1, then I go to the page 2/ click on chart 2  - come back to page 1 => click reset (chart 1 - initial state, chart 2-selection is highlighted)
    or
    - on page 1 : click on pie chart, then I add additional filter from panel_filter for all charts => click reset, works fine for all charts.
    If I try to click on RESET just after an action of click on the pie chart, I would say it stays locked, and my RESET do not put him in initial state. But If I click again, it works ! I would like to understand what is happening just after click on pie chart, why the state of chart seems to be "locked" ?
    My code:
    DS_1.clearAllFilters();
    CHART_1.getSelectedMember("XEMPLOYEE").internalKey;
    DS_2.clearAllFilters();
    CHART_2.getSelectedMember("XCOUNTRY").internalKey;
    // put invisible all cross tab from different pages                
    CROSSTAB_1.setVisible(false);      
    Thank you
    Beata

    Hi Beata,
    why you need those bold lines?
    My code:
    DS_1.clearAllFilters();
    CHART_1.getSelectedMember("XEMPLOYEE").internalKey;
    DS_2.clearAllFilters();
    CHART_2.getSelectedMember("XCOUNTRY").internalKey;
    // put invisible all cross tab from different pages               
    CROSSTAB_1.setVisible(false);
    I do not see reason for those. I suspect, when you clear the filters, those lines can cause some issues as the clearfilters call is for sure triggering event to chart and then the selection is cleared.

  • How to save final states with simout

    The simout function description (html and manual) indicates that it is capable of saving initial or final states, however it does not say how to save the final states or indicate to the function how to do this. How do I indicate that I want the final states? (When I run simout, it acts like its assuming initial states).

    When you use the Simout function you are quirying the state of the model as it exists. If you did not immediately prior run a simulation then you will have the output as the initial conditions. If you want the final states then you will have to run a simulation.
    If you are doing this you may want to incorporate into your reportior the use of the resumeto and resumefrom keywords. See the following from the manual:
    Linearizing About a Final Operating Point
    To linearize a single-rate system at a certain operating point, you must first perform:
    y = sim(model,t,u)
    sys = lin(model,{resume});
    The resume keyword indicates that the linearization operating point will be the final operating point of the previous simulation. To save the operating point at th
    e end of the simulation specify the lin options resumeto=filename and resumefrom=filename.
    Alternatively, you can simulate the model until you reach the desired operating point:
    y = sim(model,t,u);
    Find the state at that operating point:
    [x] = simout(model);
    Linearize around the operating point:
    sys = lin(model,{u0=u(length(t),,x0=x})
    Now it sometimes becomes useful to obtain the operating point without running a simulation for this purpose there is a full featured trim function that is documented pretty well in the online manual... Search "trim"
    Garrett Thurston
    [email protected]
    Phone: 781.993.5540

  • Sometimes Undo is "Undo Save History State for Image"...

    Anyone know why the Undo command occasionally produces "Undo Save History State for Image" rather than a proper undo of the last operation?

    I am aware of your contribution to this forum and genuinely have utmost respect for what you say, however without getting too heavily into the semantics of the meaning of the word “bug” I would truly appreciate your thought on this …
    b_gossweiler wrote:
    If you export (or also print) an image, an entry is inserted into the develop history of the image. Although these steps (export, print, ...) cannot be physically undone, the undo removes this history step from the develop history of the image. This makes sense and - IMHO - is not a bug at all.
    Beat
    Would it not be reasonable that when a user requests an “undo” that they would expect this to undo the last thing “they” did regardless of what any background task is doing?   
    If this does occur when performing some background task on several hundred or thousand images does this mean that they could struggle to actually achieve any meaningful undo operation on what they are currently working on because they could be attempting to undo many state changes?      If so, could one consider that from a user’s perspective the undo mechanism is actually broken in this scenario?
    If they request an “undo” and it does not perform to the users reasonably expected behaviour would it not reasonably be considered at least undesirable if not a bug?
    If they perform an “undo” and they get this message have they actually undone something which might be important?   
    Even if it has no ill effects the message alone could be unsettling and confusing to users?
    You say it makes sense and I know I’m slow, but I would not expect a user to see this message when the user wants to undo for example the modification to exposure or other slider they have just changed.
    I’m not hung up on this as I have seen no ill effects other than mild inconvenience; however I would respectively appreciate your views on how this “makes sense” from a user’s perspective.

  • TS1398 After leaving a wi-fi connection my iphone will not automatically connect to the internet via the 3G network unless I turn it off and then on again. Is there a setting that can be changed to overcome this issue?

    After leaving a wi-fi connection my iphone will not automatically connect to the internet using a mobile 3G network unless I turn my phone off and then back on again. Is there a setting that can be changed to overcome this?

    Then I'm at a loss. Mine has switched automatically from the start, favoring Wi-Fi, any of its registered networks, whenever available. Only thing I can think of is trying a Force Restart and see if that clears things up: hold down Home and Sleep till the screen goes black and a white Apple logo pops up. Release and allow it to restart.
    May be similar, when I got the i5 about 16 months ago, the local carrier was starting to roll out 4G service. The phone would regularly lose all carrier connection, voice and data. Haphazardly would reconnect when it felt like it afterwards. Initially did the Off/On dance to speed things up, but discovered that using Airplane Mode would do the same without the lengthier power cycle. After awhile, the carrier 'fessed they were having capacity issues and later the problem went away. So yours too may also be a carrier issue.

  • How can I set the initial state of the PGCTR0 out pin?

    Hi,
    I have a 6115 board, and I am trying to generate a pulse train on PGCTR0 with an external clock. The external clock signal is connected to PFI1 and the PGCTR0 is gated through PFI0. The PGCTR is reset at the end of each run.
    The problem is that the initial state of the PGCTR out pin changes from run to run, but I'd like it to stay high after reset. Any help is appreciated. THanks.
    feng

    Hi Feng,
    The default output state of your counters should be high depending on your board. If you run a counter application, and the line ends in a low state it will stay low. One way to change the output state is to not only reset the counter but reset the board (see knowledge base linked below). The other way is to treat it like a digital line (see second link below). This is probably the best method. This method should allow you to read the value and change it using a couple software calls. Instead of disabling the counter, I would reset the counter since you just want to reset the state. This method is also a decent workaround because you are resetting the counter anyway. Hope that helps. Have a good day.
    Default State of Counter Output Lines
    on E Series Data Acquisition Devices
    http://digital.ni.com/public.nsf/websearch/008995633E33E47486256B5F00034436?OpenDocument
    Using the General Purpose Counter (GPCTR) on the Data Acquisition (DAQ) Device as a Digital Line http://digital.ni.com/public.nsf/websearch/B8A49A4E33F38AB686256B610061DC6D?OpenDocument
    Ron

  • In iphoto, how do i save a photo after editing, in the same or higher file size, it's saves in a lower size

    in iphoto, how do i save a photo after editing, in the same or higher file size, it's saves in a lower size

    It's rather more complicated that this.
    iPhoto is a lossless editor. You don't lose any quality on your shot in iPhoto.
    The file size you see reported is the size of your iPhoto Preview: this is what gets used if you access the data via a media browser. It's a "good-enough-for-most-uses" version of the shot. Email it, upload to websites, use it in Presentation, Word processing file etc
    If you want to set the quality yourself then Export the photo using the File -> Export command.
    You can choose to export to Jpeg, Tiff or png. Tiff is lossless but the file sizes are up to 10 times larger. Jpeg allows you to choose different qualities: High, Medium or low. The difference is the amount of compression involved. High quality means very little compression. It's not unusual for photos exported at this setting to have a larger file size than the original.
    Which setting you choose depends on the use you intend. Further editing, printing then high is important. Sending to Facebook? Well low will do just fine there as they're going to trash the file anyway.
    But the key point: the file size only becomes an issue when you export.
    Regards
    TD

  • Ipod touch wont turn on i tried restoring it but every time i do it just says its waiting for the ipod to respond. meanwhile my ipod is no longer a black screen but the apple logo with a loading bar underneath that after leaving for 8 hours hasnt moved.

    my ipod touch wont turn on ive tried restoring it but every time i do it just says its waiting for the ipod to respond. meanwhile my ipod is no longer a black screen but the apple logo with a loading bar underneath that after leaving for 8 hours hasnt moved.

    Try:
    - Another cable
    - Another USB port
    - Reboot the computer
    - 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       

  • Unable to save a document after signing it in Adobe Acrobat Standard XI.

    I have a user who is unable to save .PDF files that he is opening in Outlook via an embedded link in the email.
    When he clicks on the link, Acrobat opens the document without issue. However, when he applies his signature and goes to save it over the existing document on our internal network file server, he gets the following message: "The document could be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk."
    The network drive has a significant amount of space available, at least 500 gigs.
    This was not an issue up until Friday of last week. Prior to Friday, he had no issue signing documents emailed to him that contained a embedded link pointing back to the file on our internal network file server.  If I have him browse directly to the file in Windows Explorer however, he can open sign the document and overwrite the existing copy.  While that works, I would like him to regain the ability to save his file after opening it from his email; as unless I show him how to get to the file directly via Explorer, he is unable to do so. (And he has to sign many documents a day as well)
    Other users on my network are not encountering this issue, however some are running a different mix of Office and Acrobat. (Such as Office 2010  and Acrobat X, etc)
    I've researched this issue for prior versions of Acrobat and tried to applied the same resolutions for this issue without a positive result. So far I have been unable to find any solutions for this issue dealing with XI. 
    Has anyone else run ino this issue with Acrobat Standard XI? If so what did you do to resolve the issue? Thank you for any help that you can give me.
    Here is the basic setup that his computer is running:
    Windows 7 Profesional 64 bit
    Microsoft Office 2013 Professional
    Adobe Acrobat Standard XI
    Internet Explorer 9
    Also my user is has full Admin rights to his workstation and has the appropriate security rights to the folders he is trying to save the signed document to.

    I would like to confirm the exact same message is happening with us.
    Several users have been receiving the error message shown below when trying to save PDF’s to their desktop or other server.
    We are experiencing the issue with earlier versions of Acrobat (8 & 9) as well.
    This is only started happening this week?

  • How do I save a photo after I have zoomed in on it?  I want to save the zoom-in as a new photo and can't work out why this doesn't work the same way saving a cropped image, or adjusted image does.  Thank you.

    How do I save an image after I have zoomed in on it?  I can't work out why I can't save a zoom-in the same way
    I can save a cropped image or an adjusted image. Thanks, Lily A.

    Hi Matt, thanks for your reply.  Have realised that Zoom in Iphoto is just  a viewing tool and not an editing tool.
    Was creating beautiful abstractions by zooming in and wanted to create a new image of the result.   Have since discovered that cropping after zooming takes me a little way to where I want to go but it isn't the same effect.  Will perhaps have to try to create it when actually shooting.  Am doing a photoshop course in February and maybe will learn a bit more then, too.  Am pretty much an amateur just finding my way.
    Thanks again,
    Best, Lily

  • Spry Validation-text field shows the "required" text even in initial state

    Hi,
    I'm having trouble with spry validation.
    I insert my spry textfied and go to the properties inspector where  I choose validate on "Blur" and "submit" for the Required state. I check the required box for the "required state" but the initial state will also have the "a value is required" text. If I try to delete the "a value is required" text from the initial state, the required state won't show this error.
    What should I do?
    Any help is much appreciated.
    Thank you.

    Hi, thanks so much for the reply
    Well the javascript came with the spry file that I downloaded from the adobe site.
    Here is my statement:
      <label for="name"><span class="style87">Name:</span></label>
                      <span id="sprytextfield1">
                      <input name="name" type="text" class="textInput" id="name" />
                      <span class="textfieldRequiredMsg">A value is required.</span>                  </span></p>
                  <p> <span class="style87">
                      <label for="email">Email:</label>
                      </span><span id="sprytextfield2">
                      <input name="email" type="text" class="textInput" id="email" />
                      <span class="textfieldRequiredMsg">A value is required.</span></span></p>
    This is the statement for the submit button:
      <span class="clearIt">
                      <input name="send" type="submit" id="send" onclick="MM_validateForm('username','','R','password','','R','name','','R','email','','R' ,'comments','','R');return document.MM_returnValue" value="Send comments" />
                    </span><span class="clearIt">
                    <input type="hidden" name="MM_insert" value="form1" />
    This is the javascript
    <script type="text/javascript">
    <!--
    function MM_validateForm() { //v4.0
      if (document.getElementById){
        var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
        for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
          if (val) { nm=val.name; if ((val=val.value)!="") {
            if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
              if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
            } else if (test!='R') { num = parseFloat(val);
              if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
              if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
                min=test.substring(8,p); max=test.substring(p+1);
                if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
          } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
        } if (errors) alert('The following error(s) occurred:\n'+errors);
        document.MM_returnValue = (errors == '');
    //-->
    </script>
    This is at the bottom of the page:
    <script type="text/javascript">
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none");
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur"]});
    //-->
    </script>
    Thank you for your help.

Maybe you are looking for