Using Fade in conjunction with SubmitForm xhRequest response

I am using the Spry.Utils.SubmitForm function as detailed on the Spry example pages.  The problem I am running into is that I also want to use the Fade effect to fade the div away after, say 5, seconds.
No matter what combination of possibilities I try it won't work.
Here is the code for the function that is working perfectly:
function updateResponseDiv(req)
//dsStories = new Spry.Data.XMLDataSet("getdata.php", "stories/story", {useCache:false});
dsStories.loadData();
var response = req.xhRequest.responseText;
Spry.Utils.setInnerHTML('form_response', response);
Here is the latest attempt of the code that I have tried:
function updateResponseDiv2(req)
//dsStories = new Spry.Data.XMLDataSet("getdata.php", "stories/story", {useCache:false});
dsStories.loadData();
var response = req.xhRequest.responseText;
Spry.Effect.DoFade('form_response', {duration: 5000, from: 100, to: 0, setup: function(){ Spry.Utils.setInnerHTML('form_response', response); } });
When I use the "updateResponseDiv2" nothing seems to happen after the call to re-load the XML dataset dsStories.
Any help on this would be appreciated!
Thanks,
Andy

Unfortunately, this site is on a restricted access system.  I can provide some code chunks, but I am unable to grant access to outside viewers.
Here is the code that contains the form that is calling the javascript function:
        <div spry:region="dsStories">
            <table width="96%" cellspacing="2" cellpadding="4">
                <tr>
                    <th align="center">Active</th>
                    <th align="left">Headline</th>
                    <th align="left" spry:sort="date">Date</th>
                    <th align="left">Teaser</th>
                    <th align="center">Functions</th>
                </tr>
                <tr spry:repeat="dsStories">
                    <td align="center">
                    <form spry:if="'{active}' == '1'" id="frmDeact" name="frmDeact" method="post" action="submitdata.php" onsubmit="return Spry.Utils.submitForm(this, updateResponseDiv);">
                            <input type="hidden" id="id" name="id" value="<?php echo '{id}'; ?>" />
                            <input type="hidden" name="active" id="active" value="0" />
<input type="hidden" name="action" id="action" value="activation" />
                            <input class="buttonDeact" type="submit" name="deactivate" id="deactivate" value="" />
                        </form>
                    <form spry:if="'{active}' == '0'" id="frmAct" name="frmAct" method="post" action="submitdata.php" onsubmit="return Spry.Utils.submitForm(this, updateResponseDiv);">
                            <input type="hidden" id="id" name="id" value="<?php echo '{id}'; ?>" />
                            <input type="hidden" id="active" name="active" value="1" />
                            <input type="hidden" id="action" name="action" value="activation" />
                            <input class="buttonAct" type="submit" id="activate" name="activate" value="" />
                        </form>
                    </td>
                    <td>{headline}</td>
                    <td valign="baseline" width="75px">{date}</td>
                    <td>{teaser}</td>
                    <td class="nowrap" align="center">
                        <form id="frmEdit" name="frmEdit" method="post" action="edit.php">
                            <input type="hidden" id="id" name="id" value="<?php echo '{id}'; ?>" />
                            <input type="hidden" id="headline" name="headline" value="<?php echo '{headline}'; ?>" />
                            <input type="hidden" id="teaser" name="teaser" value="<?php echo '{teaser}'; ?>" />
                            <input type="hidden" id="url" name="url" value="<?php echo '{url}'; ?>" />
                            <input type="hidden" id="imgpath" name="imgpath" value="<?php echo '{imgpath}'; ?>" />
                            <input type="hidden" id="alt" name="alt" value="<?php echo '{alt}'; ?>" />
                            <input class="buttonEdit" type="submit" id="edit" name="edit" value="" />
                        </form>
</td>
                </tr>
            </table>
        </div>
Thanks,
Andy

Similar Messages

  • I have a new time capsule, want to use it in conjunction with iMac G5 and MacBook; laptop runs Snow Leopard  but G5 can't install Snow Leopard, is stuck at OS 10.4.11.  Am I doomed?  Can anyone advise me?  Thanks..

    I have a new Time Capsule, want to  use it in conjunction with an iMac G5 and a MacBook.  MacBook runs Snow Leopard, but G5 (lacking Intel processor) can't install Snow Leopard, is stuck at OS 10.4.11.  Am I doomed?  Will appreciate any advice.  Thanks.

    you should still be able to get a copy of Mac OS X 10.5 (Leopard), which should run on your G5.

  • Is it possible to use Garageband in conjunction with external midi devices?

    We want to set up a music project for people with disabilities, using Garageband and various external midi devices, such as a 'Roland' keyboards, 'Alesis' AirFX, 'Alesis' SynthFX, soundbeam, 'Norton' sound sequencer etc.....is it possible?? We have used all this equipment with 'Steinberg Cubasis' software, but now want to try it with Garageband if it is possible!! Help?????!!!

    daveandgit wrote:
    I'm guessing that as we're using a midi to usb interface, it would work with Mac anyway??
    as long as the inteface is mac compatible, yes
    daveandgit wrote:
    Also, would using an 8 or 16 channel mixer unit work to increase the amounts of tracks playable??
    audio and MIDI are seperate things, and wouldn't help on any computer with any MIDI interface. for GB:
    http://www.bulletsandbones.com/GB/GBFAQ.html#maxnumrecordabletracks
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Blip sound when using skype in conjunction with ga...

    I wonder if you can help me. I play a game called Guildwars and have downloaded the latest version which is Guild Wars 2. The game is good and I use Skype to play with other players around the world. In Guildwar 1 Skype worked wonderfully but in 2 I can play the game with no interferrence solo but when I play with other players I get a continuous bleep sound coming from my computer box. I have moved Hub and anything that could cause interferance even uninstalled and reinstalled skype but the bleep sound is still there when playing with people on skype. I have raised this question with them to see if they have the same problem but they dont, hence the reason for help from skype? before I go further into it. Can anyone help. I have been in contact with my IT guys and they say that there is some sort of interferrance being caused can skype isolate that to prevent this bleeping>
    Also on the previous version of Skype I was able to close current conversation with people unfortunately now I have to close down my system to terminate call can you advise about this also.

    I wonder if you can help me. I play a game called Guildwars and have downloaded the latest version which is Guild Wars 2. The game is good and I use Skype to play with other players around the world. In Guildwar 1 Skype worked wonderfully but in 2 I can play the game with no interferrence solo but when I play with other players I get a continuous bleep sound coming from my computer box. I have moved Hub and anything that could cause interferance even uninstalled and reinstalled skype but the bleep sound is still there when playing with people on skype. I have raised this question with them to see if they have the same problem but they dont, hence the reason for help from skype? before I go further into it. Can anyone help. I have been in contact with my IT guys and they say that there is some sort of interferrance being caused can skype isolate that to prevent this bleeping>
    Also on the previous version of Skype I was able to close current conversation with people unfortunately now I have to close down my system to terminate call can you advise about this also.

  • "Windows 8 using 100% of HDD with high average response times and low read/write speed"

    Turns out this is a fairly well known windows 8.1 issue that has been plaguing users since at least 2013 and there is no one simple fix, so it may not be *entirely* hp's fault; but I've had two of these laptops, both the same model, the first one needing to be returned and exchanged for an entirely unrelated issue (hardware failure: ethernet port nonfunctional with lights stuck on). Both are refurbished. Both have been extreemly slow and unresponsive even compared to a lesser Brazos powered laptop I had before, but I've only recently decided to investigate why. 
    So if there is something HP specific going on here, I hope there is one simple fix. My average response time has gone up as far as well over a minute (>60,000ms), so I may be an outlier case here compared to the typical windows 8.1 hardrive responsiveness/bandwidth problem. 
    Edit: there is a case with another HP pavilion laptop (intel powered though, so it may be an intel storage driver issue described in the first link) being much, much worse.
    This question was solved.
    View Solution.

    Guess what just now happened again
     So using DISM did _not_ fix it.

  • Using -private in conjunction with -new-window isn't working correctly

    Using an external program to launch Firefox with command line arguments, it seems that using -private and -new-window URL doesn't seem to work correctly. It's almost as if one or the other gets completely ignored. Has anyone else noticed this?
    Ideally, i'd like to be able to ALWAYS launch a new window to a specified URL in private mode by default.

    It is not possible to open an external link in a Private Browsing mode window.
    You can look at this extension:
    *Private Tab: https://addons.mozilla.org/firefox/addon/private-tab/
    The Firefox menu button gets a purple background or you get a purple PB mask on the Menu bar or tab bar (Linux) when you are in a PB tab and all Private Browsing mode tabs get a dashed underlining unless you are in permanent PB mode.
    You can set the extensions.privateTab.allowOpenExternalLinksInPrivateTabs pref to true on the <b>about:config</b> page to see if that works (haven't tested this with a command line).

  • Using Lightroom in Conjunction with Elements

    I currently use Elements 10 (and love it) and am considering purchasing Lightroom 5.  However it seems like the lines between some of the Adobe products is getting blurred.  Photoshop Elements seems to be getting more of the capabilities of Photoshop CS.  And from what I've read and looked at on Lightroom, it doesn't seem like it really can do anything that Elements cannot do, other than do some functions easier, one example being straightening.
    First question: If I have both Elements and Lightroom, can someone give me one or more practical (and not overly complex) examples of using both together on a single photo?  Please don't include functions that are available in both pieces of software, unless it gives superior results that can be obtained by one but not the other.
    Second question: I don't use raw (yet), so if editing a jpg with both Elements and Lightroom, doesn't it have to be saved in one before editing in the other?  Or is there some type of interface that is available between the two pieces of software where you can edit first in one and then in the other without saving in between?  Obviously I am asking because I am aware of the loss of info due to compression when doing multiple saves and opens on a jpg.  Yes, saving at level 12 might minimize it but there would still be loss of info*.
    * Now that I finished the question, I think I know the answer.  If editing first with Elements, save it as a psd rather than a jpg, then open the psd in Lightroom (is psd a common extension in both?), make the additional mods, and save it as a jpg.  This way there is only one save of the jpg.  Does that work?
    Thanks.

    However it seems like the lines between some of the Adobe products is getting blurred.
    Seems like? No, the capabilities of these two programs definitely overlap.
    And from what I've read and looked at on Lightroom, it doesn't seem like it really can do anything that Elements cannot do, other than do some functions easier, one example being straightening.
    Things like layers and magic extraction tool and a whole bunch of other PSE editor tools are not available in Lightroom.
    First question: If I have both Elements and Lightroom, can someone give me one or more practical (and not overly complex) examples of using both together on a single photo? Please don't include functions that are available in both pieces of software, unless it gives superior results that can be obtained by one but not the other.
    In my opinion, the only sensible workflow is as follows: import into Lightroom, organize in Lightroom, edit in Lightroom (do as much editing in Lightroom as possible) and then transfer the photo to PSE for additional editing that cannot be performed into Lightroom; return edited photo from PSE to Lightroom. I point out that many people find that the editing in Lightroom is powerful enough so that only a small percent of their photos need the additional editing of PSE.
    Second question: I don't use raw (yet), so if editing a jpg with both Elements and Lightroom, doesn't it have to be saved in one before editing in the other?
    None of the capabilities of Lightroom are limited to RAW photos. After you edit a photo In LR and want to send it to PSE, the built in LR function called "Edit In..." will make the copy for Elements to use, launch PSE (if it is not already opened) and allow you to do your edits. Then you save the edited photo (not Save As...) and Lightroom will recognize the changes made in PSE.
    Obviously I am asking because I am aware of the loss of info due to compression when doing multiple saves and opens on a jpg. Yes, saving at level 12 might minimize it but there would still be loss of info*.
    In the process I described, there are two such saves (one by LR and one by PSE). You could eliminate the quality loss (at the expense of much larger files) by telling LR to create a TIF instead of a JPG for editing in PSE.

  • Using Lightroom in conjunction with Nikon Capture NX

    I hate Nikon Capture NX. However, it's by far the easiest way to "defish" shots taken with the 10.5 mm lens (i.e., straighten them out so that they don't have the wildly curved lines of a fisheye shot). I want to use Capture to convert the fisheye shots to rectinlinear shots, BUT I WANT TO DO ALL OTHER PROCESSING (EXPOSURE, WHITE BALANCE, ETC.) IN LIGHTROOM!
    And I can't figure out how to do that. If I open a TIFF exported from Lightroom, Capture won't give me the fisheye-straightening option; it seems to demand that the input be in the form of a .NEF. O.K., so I tried exporting a fisheye shot from Lightroom with the "Original" option selected from the drop-down menu. That gave me a .NEF, which Capture was willing to deal with--but it discarded all the processing I'd done in Lightroom.
    Can anybody explain to me how to use Lightroom AND Capture on the same file, converting a fisheye shot to a rectilinear shot in Capture but doing all other processing in Lightroom?
    Thanks in advance for any advice.
    P.S. Oops, I almost forgot: I'm using Lightroom 1.4 and Capture NX 1.3 on an iMac with OS X 10.4.11.

    Jao, thanks for the speedy reply. I'm sorry to hear that it can't be done; I've tried processing a TIFF in Lightroom, but it works rather differently from the way processing a .NEF works, and the results just don't look good to me.
    I guess I'll have to find another way to defish. I tried doing it with PTGui, but that got quite complicated.
    The search continues. . . .

  • Using Fade effect along with Wipe effect

    Hi,
    I have a requirement where a ViewStack has 4 VBoxes that should appear/disappear with Wipe + fade effect.
    Now I have added standard wipe effect in my mxml and added the same in VBox's show and hide attributes.
    But how do I add fade effect with it?
    Please help.
    Thanks and regards,
    Amey

    Use <parallel around the effects..
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/effects/Parallel.htm l#includeExamplesSummary
    *example at the very bottom of the page.

  • Using Lightroom in conjunction with a Lab using Bridge

    I use Lightroom for my photography on my laptop. However, I am taking a class that uses a calibrate lab and printer setup that only uses Bridge and does not have Lightroom. I would like to manage the photos on lightroom, but export and import the photos to be printed and edited in the lab. Is there a way to do this slickly in Lightroom besides pulling each photo in and out each time? I know how to export in mass, but I don't know how to import a significant number of photos back in after editing. Thanks!
    -photolede

    Not sure why you would want to re import images you have sent to be printed. It doesn't really matter what the particular software is being used by the class is to print from  (and you can't print from Bridge as far as I am aware...it is just a file browser) as long as the system is colour managed (and of course your own system running LR is also colour managed). All you need to do is use LR's print module, print to jpg files from that using whatever the colour profile used by the final printer and on the correct size and type of paper being used. Pass these off to them and the job is done, no further editing should be required at the printing side of things. I

  • Is it possible to use run-time configuration in conjunction with Session Manager?

    I'm trying to avoid using MAX, basically because it's a pain for users to configure MAX when the application already knows what the configuration is. I actually get the configuration from a database, but that's another story. I've experimented with run-time configuration (see page 4-31 of the 'IVI Driver Toolset' manual) and it works fine. However, when I try to use this in conjunction with Session Manager, session manager complains that my logical name is not a driver session name. I suspect that Session Manager is looking up logical names from a different source, therefore run-time configuration won't work. Any suggestions? I've attached the files I'm working with.
    Attachments:
    SessionMgrTrial.zip ‏41 KB

    Hello Mark:
    The Session Manager GetLogicalNames method does not distiguish between logical names and virtual instrument names. A user of the method cannot ask for just logical names or just virtual instrument names. Right now you always get both. The new function is called InstrSessionMgr.GetNames. Notice that the online help file says Boolean for the flags parameter when it is an enum.
    Hope this helps. If you have any further queries, please let us know.
    -NI support
    National Instruments - Software IS the instrument!
    Attachments:
    help.gif ‏22 KB

  • Using Tangosol Coherence in conjunction with Kodo JDO for distributing caching

    JDO currently has a perception problem in terms of performance. Transparent
    persistence is perceived to have a significant performance overhead compared
    to hand-coded JDBC. That was certainly true a while ago, when the first JDO
    implementations were evaluated. They typically performed about half as well
    and with higher resource requirements. No doubt JDO vendors have closed that
    gap by caching PreparedStatements, queries, data, and by using other
    optimizations.
    Aside from the ease of programming through transparent persistence, I
    believe that using JDO in conjunction with distributed caching techniques in
    a J2EE managed environment has the opportunity to transparently give
    scalability, performance, and availability improvements that would otherwise
    be much more difficult to realize through other persistence techniques.
    In particular, it looks like Tangosol is doing a lot of good work in the
    area of distributed caching for J2EE. For example, executing parallelized
    searches in a cluster is a capability that is pretty unique and potentially
    very valuable to many applications. It would appear to me to be a lot of
    synergy between Kodo JDO and Tangosol Coherence. Using Coherence as an
    implementation of Kodo JDO's distributed cache would be a natural desire for
    enterprise applications that have J2EE clustering requirements for high
    scalability, performance, and availability.
    I'm wondering if Solarmetric has any ideas or plans for closer integration
    (e.g., pluggability) of Tangosol Coherence into Kodo JDO. This is just my
    personal opinion, but I think a partnership between your two organizations
    to do this integration would be mutually advantageous, and it would
    potentially be very attractive to your customers.
    Ben

    Marc,
    Thanks for pointing that out. That is truly excellent!
    Ben
    "Marc Prud'hommeaux" <[email protected]> wrote in message
    news:[email protected]...
    Ben-
    We do currently have a plug-in for backing our data cache with a
    Tangosol cache.
    See: http://docs.solarmetric.com/manual.html#datastore_cache_config
    In article <[email protected]>, Ben Eng wrote:
    JDO currently has a perception problem in terms of performance.
    Transparent
    persistence is perceived to have a significant performance overheadcompared
    to hand-coded JDBC. That was certainly true a while ago, when the firstJDO
    implementations were evaluated. They typically performed about half aswell
    and with higher resource requirements. No doubt JDO vendors have closedthat
    gap by caching PreparedStatements, queries, data, and by using other
    optimizations.
    Aside from the ease of programming through transparent persistence, I
    believe that using JDO in conjunction with distributed cachingtechniques in
    a J2EE managed environment has the opportunity to transparently give
    scalability, performance, and availability improvements that wouldotherwise
    be much more difficult to realize through other persistence techniques.
    In particular, it looks like Tangosol is doing a lot of good work in the
    area of distributed caching for J2EE. For example, executingparallelized
    searches in a cluster is a capability that is pretty unique andpotentially
    very valuable to many applications. It would appear to me to be a lot of
    synergy between Kodo JDO and Tangosol Coherence. Using Coherence as an
    implementation of Kodo JDO's distributed cache would be a natural desirefor
    enterprise applications that have J2EE clustering requirements for high
    scalability, performance, and availability.
    I'm wondering if Solarmetric has any ideas or plans for closerintegration
    (e.g., pluggability) of Tangosol Coherence into Kodo JDO. This is justmy
    personal opinion, but I think a partnership between your twoorganizations
    to do this integration would be mutually advantageous, and it would
    potentially be very attractive to your customers.
    Ben--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • How to use Airport Express to extend range in conjunction with Belkin N Wireless Router

    I would like to know how I can extend the range of my Belkin N1 Wireless Router using the the Apple Airport Express? I saw a similar post to this question but the results talk about using this in conjunction with time capsule - I only have a Belkin router and the Airport Express.
    If so, can someone help me to find out which settings/configuration I need to set of my Router and Airport Express in order the extend the range of my network.
    Thank you in advance for your support.

    Thank you for your quick reply. Can you please expand upon how to set up the 'bridge' mode?
    I tried connecting the AE via Ethernet from the Belkin router but was not successful in being able to get any additional coverage. I feel like I am missing a vital set of instructions with set-up/configuration details.
    Thanks again.

  • I am using an Macbook pro in conjunction with a Time Capsule. I back up all my aperture librarys on it, but how can i view these images that are stored on the capsule please ??

    I am using an Macbook pro in conjunction with a Time Capsule. I back up all my aperture librarys on it, but how can i view these images that are stored on the capsule please ??

    If you want to see what is in a file that is backed up by time machine then you have to restore the entire file. Having said that I have had good experience with Time Machine and individual files... if the file is there then all of it's components are almost for sure there. A way to get around this in Aperture would be to use referenced images. The images then still exist as individual files and can be backed up and restored individually. You would have to do so on a file by file basis though and your album information would still only be saved within the Aperture library.

  • How to use new iPad3 in conjunction with Lightroom on desktop iMac?

    Workflow:  Will this work?  Camera RAW to iPad3 to Lightroom???
    I would like to use my new iPad3 in conjunction with my already-established Lightroom workflow on my desktop Mac.  What I have in mind is to shoot in RAW (Sony SLT A-65 - 24.3 megapixels) and then, in the field, transfer my photos from the camera to the iPad3 (64GB version).  On the iPad I might do some rudimentary editing - deleting duds, etc. - but I will still do all my significant editing in Lightroom on the Mac.  Thus, I need to import the photos, from the iPad, in either RAW or DNG into LightRoom once I get back to my office.  My questions are:
    Is it possible to import RAW photos into the iPad3 and either keep them in RAW or convert them to DNG?
    Is it possible to export RAW or DNG photos from the iPad3 into Lightroom?
    What app(s) do I need on the iPad3 to make this happen?
    FYI - I am using Lightroom3, but will upgrade to Lightroom4 if that makes any difference in whether this will work or not.
    Thanks so much, in advance, for your suggestions and your advice!

    You can load your RAW images to any iPad either using the Camera Connection kit that comes with two dongles. One for inserting an SD card from your camera to load the images. Or the USB dongle which you can connect the USB cord for your camera to the iPad to load the images. There are a few CF card readers that will work with the iPad if your camera uses those a Google search will feret them out for you. Additionally, you can also load images to iPad, iPhone or iPod touch (as well as laptops and desktop cumputers) using WiFi as you capture them using an EyeFi SD card.
    http://www.eye.fi/
    A good app for working with EyeFi on the iPad is Shuttersnitch (though, it does not coordinate with Lightroom)
    http://www.shuttersnitch.com/
    Unfortunately their isn't any RAW processing image editing software for the iPad that Lightroom can make use of the edits. Though there is an app called Photosmith that will allow you to rate, label, add keywords etc. then you can upload that info to Lightroom on your laptop or desktop cimputer and have that info synced to the images. You do have to transfer the image files themselves from the iPad to your workstation seperately.
    http://www.photosmithapp.com/

Maybe you are looking for

  • How can i display recent update/delete/insert records in form

    Hai !!!! i am new for forms,.......any body tell me, how can i display recent no of records updated or no of records deleted or no of records are inserted in a form. these records count are display in display items....give me detail explination......

  • New Ipod Nano - won't update "not enough space" but its empty!!

    My wife's iPod Nano is brand new (I have a Video iPod so iPods are not new to me!) I get the message that the iPod cannot be updated because library is too big etc.... What I did: I reinstalled iTunes. Restored library and unticked all tracks. Downlo

  • Live switching?

    I'm pretty sure I know the answer to this but. . . I've been asked by a local church to help them upgrade thier video production capabilities. Currently they have one consumer level DV camera set up into iMovie via firewire and they capture the foota

  • Regarding two containers in alv screen

    hi, i have developed two alv reports,in which if we click on first alv report billing number we should display 2nd alv report item details in second container, but the problem is that for the first time when i click on billing number its item details

  • Need general help

    Hi I am planning to write a management desktop application for rental movies business. There are lots of information to be stored. its intend to serve up to 1,000 clients. The application will work on windows system; the database should be external s