Prompting SaveAs when Form in Web Browser is closed.

Hi All,
I'm configuring with LiveCycle Designer 7.1 on LiveCycle Forms 7.1 server.
If a saved form is opened and changed in Adobe Reader 7 with Reader Extensions enabled, Reader prompts users to save their PDF form when they close their form (i.e. with the standard x on the top right hand corner of a window).
We would like the same prompt to appear for a freshly-rendered form the user sees within a web browser session when the form is about to close. It would be good if we can avoid two Save prompts from appearing in a saved PDF, as Adobe Reader has its own in-built save alert.
To firstly trigger the prompt, I have tried using the following in the docClose event at the xfa.form.MyForm level:
var saveResponse = xfa.host.messageBox(Save form?, windowname, 2, 2);
If (saveResponse == 4)
app.execMenuItem(SaveAs);
But I observed that the message box appears only after the form disappears. When the Yes button is selected, no SaveAs window comes up. It seems as if the script executes only after the document is closed.
Has success with implementing something like this?
Thanks,
Xiao

Hi there
Assuming you were Publishing in version 3 and choosing the HTML option, the standard.js file was likely there. I'd be totally shocked to find it wasn't part of the equation. This calls into question what your perception of Publishing is.
I ask, because if you are coming at this from a Web Developer perspective, Publishing likely means something totally different to you than it does in the Captivate realm. In Captivate, you Publish to take the source .CP file and create output files from that source.
In the Web Development realm, the act of Publishing is performing a process that transfers copies of the content on your hard drive to the Web Server.
I'm wondering if somehow you have your Windows setup configured such that it doesn't show you files with a .JS file extension. That's the only other possibility I can fathom as to why you wouldn't be seeing it.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks

Similar Messages

  • White space when running forms in web browser

    Hi I am running a simple master - detail form in web browser on my machine . The form is coming fine but a lot of white space of present on the right hand side of the form how can i eliminate that?I have checked my html file and HSPACE="0" and VSPACE="0". what else can be the reason?

    are you running in seperateframe=true?
    if not you could check your width and height properties of your formsweb.cfg config section
    regards

  • Display Report Parameter Form on Web Browser

    I have prepared a report (with a user parameter form )using Report Developer. Then I call the report in a web-based application through the web-browser. the parameter form display normally, except that there are two buttons on the top : submit and return. Also, the layout of the parameter form is not consistent with the style of my application.
    1. Can I customized the layout of the parameter form so that it can have consistent style with my web-based program ? If yes, how?
    2. Can I suppress the buttons shown on the parameter form ?
    (Our Report Server is 9iAS )

    Hi
    Reports built-in parameter form is deliberately fairly simple in capabilities (otherwise, you'd have all the functionality of Forms inside of Reports). However, with JSPs in Reports 9i, you can go farther to create a custom parameter form of your own liking.
    Thanks
    The Oracle Reports Team

  • How to Run a form in Web browser?!

    Hi,
    1- Is it possible to run a .fmx file in web browser? if yes how to do so?
    if no. what do I need to do to make it possible?
    Many thanks

    Forms 6i and above yes it is possible.
    Forms 6i can be deployed both web and client/server, but 9i and above is only for web deployment.
    If you want to deploy for testing purposes you can run the forms from the forms builder using OC4J Instance, but for production deployment you need to have OAS, Oracle Application Server.
    Tony

  • How do i save PDFs directly from web browser to iBooks - on a MAC

    Is it possible to save PDFs directly from a web browser (any web browser) to iBooks?
    it is easy to view and 'open in' iBooks from an iPad/iPhone, but don't see this option on the MAC.
    i have resorted to saving the file and emailing it.  Once viewed on the 'i-device' it can be easily saved.
    iBooks is installed on my MAC and synced, so i can view the library.
    I am just missing this direct step - MAC to iBooks
    Please help,
    Thanks - Rob

    The iphone is not a storage/backup device.
    The sync is one way - computer iphone.  The only exception is itunes purchases:  File>Devices>Transfer Purchases
    Copy everything from your old computer, or your backup copy of your old comptuer, to your new one.

  • .flv movie quits when viewing in web browser

    I'm still having problems with my flash movies. I'm using the
    .flv playback component in flash and when I preview my movie (an
    .flv file) in flash it plays all the way through, but when I view
    through a web browser the movie quits after 25 seconds (it's 30
    seconds long). At 25 seconds in, the movie freezes (like when a DVD
    movie freezes/messes up and the jumbled up boxes appear) and then
    the movie quits even though it didn't have any problems loading.
    I've encoded using Adobe Media Encoder 5 different times and
    rerendered the movie from After Effects but am still having a
    problem. Anyone have any idea what the problem is?

    The jquery is there to animate the marquee, so even without the JS file the div container should still be showing up right? Part of the video tutorial said to switch to "live view" to make sure one of the div containers was positioning correctly, and when I do this nothing happens. It works for the guy on the tutorial so I am not sure what I am doing differently. Since it is not working at this point I have not added the jQuery, should I just assume it is a JQuery problem and continue on? I just don't understand why it is showing up in design view but just a blank white page in live view.

  • Ea6300 causing network issues when connecting to web browser on my Mac

    I have had my ea6300 for two months and its causing major issues when connecting to my web broweser before I throw it out the window can someone give me some help.

    Hi bigtimer30, what do you mean by “it’s causing major issues when connecting to my web browser”? Do you mean that the MAC computer is no longer able to access the internet? If yes, is it with both wired and wireless connections? Is this happening to all of your devices? Or just that specific MAC computer? If all the other devices are still able to connect except the MAC, I suggest that you do a power cycle on the computer (if you haven’t done it yet). And you’re having difficulties with the wireless part, try to hard wire the computer straight to your router, and check if you experience the same thing. If the wired connection is okay, you may try playing with the router’s wireless channel. Better if you could give more details for us to give you more suggestions. 

  • Hide doc when opening a web browser?

    Is there a way to set the dock to show when no windows are up, but when I click on a web browser, like Firefox, it hides itself? Thanks!
    -Py

    What version of the Mac OS are you using with your computer? There is something like this available in 10.8 (Mountain Lion) - Full Screen. This feature is not available in previous versions.
    Best of luck.

  • Text not fit to size when deploy in web browser when upgrade to 10g

    Hi,
    I 'm currently evaluating the form upgrade from 6i to 10g (10.1.2).
    The text on the boilerplate was fit to size in the form builder 10g , however after compilation of the upgraded form and deploy to web browser, those text item close to the field get truncated.
    Moreover, the spacing of the LOV is increased in the web and it need to scroll down view all items.
    Is there any configuration can be changed to revert back to 6i , otherwise it may required to patch on the text position again.
    Cheers,
    Ana

    Hello,
    I think that it is just a problem of difference between the Forms Builder font and the Java web corresponding font.
    Have a look at the <FORMS_HOME>/formsxx/java/oracle/forms/registry/registry.dat file.
    Francois

  • Un-embed applet on oracle 10g forms from web browser

    Hi all,
    I want to ask how can i seperately open my applet from web browser in oracle 10g forms. To be more precise to my question, i dont want to use my applet in web browser. It should be opened in new window i.e. applet window.
    Regards,
    Qasim Javaid Malik

    If you want to run forms without the IE browser (hidden)
    Try this
    To open web forms just like client server with a hidden IE window, I have invented two methods.
    ****** make seperateFrame = True on formsweb.cfg ******
    Method 1
    <job id="SYMA">
    <script language="VBScript">
    Const SW_HIDE = 0
    Const High = 128
    strComputer = "."
    strCommand = "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://symphony-devl.atradiusnet.com/forms/frmservlet?config=syma"
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" _
    & strComputer & "\root\cimv2")
    ' Configure the Notepad process to show a window
    Set objStartup = objWMIService.Get("Win32_ProcessStartup")
    Set objConfig = objStartup.SpawnInstance_
    ' Create Notepad process
    Set objProcess = objWMIService.Get("Win32_Process")
    intReturn = objProcess.Create _
    (strCommand,Symphony, objConfig, intProcessID)
    If intReturn <> 0 Then
    Wscript.Echo "Process could not be created." & _
    vbNewLine & "Command line: " & strCommand & _
    vbNewLine & "Return value: " & intReturn
    Else
    Wscript.Echo "Process created." & _
    vbNewLine & "Command line: " & strCommand & _
    vbNewLine & "Process ID: " & intProcessID
    End If
    </script>
    </job>
    Method 2
    <job id="SYMA">
    <script language="VBScript">
    dim objShell
    set objShell = CreateObject("InternetExplorer.Application")
    objShell.ShellExecute "C:\Program Files\Internet Explorer\IEXPLORE.EXE", "http://ws-79767.atradiusnet.com:8890/forms/frmservlet?config=localJpi", "", "open",0
    </script>
    </job>
    Change the URL as appropriate, it's fantasitic .... !!!!!!
    Any questions let me know ...... !

  • What are the steps required for running a form in web browser in form10g

    Hi All,
    I want to run my form in web i.e forms10g. Please guide me what are the application server, configuation files and built in packages required to set up.
    Thanks

    You have to do some homework before you post here. You're very unlikely to get any help without explaining what you already tried and what your specific problem is. I guess your best of to start reading the Forms Services Deployment Guide.
    I can't point you to the correct location since you didn't even mention the version you're using. If it's 10.1.2.0.2 you can find it at http://download-uk.oracle.com/docs/cd/B14099_19/web.1012/b14032/toc.htm
    Otherwise have a look around at http://docs.oracle.com

  • Charm create a request form the web browser

    Hello,
    Is there a way to create a change request from the web browser? That is can one have a URL that would take one directly to the CHARM_CREATE transaction?
    Regards,
    Avrohom

    Unfortunately not....Take a look at this thread as I was in need of this at one point as well.
    BSP for charm_create

  • When I am web browsing why does my screen zoom by itself

    Quite often as I am web browsing, the screen zooms to a very large image.  Am I doing something on my mouse?  I have looked up everything related to zooming, but it keeps happening.

    Press the key combination option-command-8 to disable Zoom. If you're using an Apple wireless mouse, open the  Mouse pane in System Preferences and uncheck the box marked Smart zoom.

  • When I open FF it asks me EVERY time which file I want to open firefox.exe with. When I choose FF, it opens a savefile prompt and opens a blank web browser.

    When it opens and I choose FF to open .exe with, it won't let me click the box that says use this program from now on.
    Also it doesn't matter if I save the file or not, it asks every time.
    Then when the screen opens, it is a blank browser. I just click on my bookmarks to get me started, but I've tried setting up my home page, it won't start up there though.
    I've already tried a new shortcut, but the program file does this too.
    I tried updating my version of FF, it's not helping this problem either.
    I also found an article about a web page fixer program that is supposed to help with the box checking that says always use this program, but it hasn't helped either.

    My solution to my original problem of stopping FF from intruding with an erstwhile search doesn't work. Firefox IGNORES my settings to NOT check for updates to addons (letalone disabled and unwanted addons). It continues to check when I reopen FF. What a PITA>
    Further, it gives me no solution. Just takes more than a minute of my time waiting for it to stop.
    grr

  • Spry Collapsible Panel problem when previewing in web browser

    Hello.
    I have inserted a spry collapsible panel into my website, made ZERO adjustments to any of the scripting or even css styling, and previewed the panel in my Safari browser. It does not seem to be working correctly. I've attached a couple of images showing what the panel looks like in the browser. My site is not published yet, so I cannot give out the url.
    Is something wrong with the js file? I tried the panel earlier on a different site on the same computer and it was working fine.
    the "Tab" menu text does not fit inside the grey box. Everything collapses fine, however, the gray box is too thin for the text. I've tried adjusting it in the CSS sheet, but it doesn't seem to change anything.
    This is the panel in the collapsed state. It looks bad. I know it's not supposed to work like this.
    When I preview the site in "live view" everything works fine...
    // SpryCollapsiblePanel.js - version 0.8 - Spry Pre-Release 1.6.1
    // Copyright (c) 2006. Adobe Systems Incorporated.
    // All rights reserved.
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are met:
    //   * Redistributions of source code must retain the above copyright notice,
    //     this list of conditions and the following disclaimer.
    //   * Redistributions in binary form must reproduce the above copyright notice,
    //     this list of conditions and the following disclaimer in the documentation
    //     and/or other materials provided with the distribution.
    //   * Neither the name of Adobe Systems Incorporated nor the names of its
    //     contributors may be used to endorse or promote products derived from this
    //     software without specific prior written permission.
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    // POSSIBILITY OF SUCH DAMAGE.
    (function() { // BeginSpryComponent
    if (typeof Spry == "undefined") window.Spry = {}; if (!Spry.Widget) Spry.Widget = {};
    Spry.Widget.CollapsiblePanel = function(element, opts)
    this.element = this.getElement(element);
    this.focusElement = null;
    this.hoverClass = "CollapsiblePanelTabHover";
    this.openClass = "CollapsiblePanelOpen";
    this.closedClass = "CollapsiblePanelClosed";
    this.focusedClass = "CollapsiblePanelFocused";
    this.enableAnimation = true;
    this.enableKeyboardNavigation = true;
    this.animator = null;
    this.hasFocus = false;
    this.contentIsOpen = false;
    this.openPanelKeyCode = Spry.Widget.CollapsiblePanel.KEY_DOWN;
    this.closePanelKeyCode = Spry.Widget.CollapsiblePanel.KEY_UP;
    Spry.Widget.CollapsiblePanel.setOptions(this, opts);
    this.attachBehaviors();
    Spry.Widget.CollapsiblePanel.prototype.getElement = function(ele)
    if (ele && typeof ele == "string")
    return document.getElementById(ele);
    return ele;
    Spry.Widget.CollapsiblePanel.prototype.addClassName = function(ele, className)
    if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) != -1))
    return;
    ele.className += (ele.className ? " " : "") + className;
    Spry.Widget.CollapsiblePanel.prototype.removeClassName = function(ele, className)
    if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) == -1))
    return;
    ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
    Spry.Widget.CollapsiblePanel.prototype.hasClassName = function(ele, className)
    if (!ele || !className || !ele.className || ele.className.search(new RegExp("\\b" + className + "\\b")) == -1)
    return false;
    return true;
    Spry.Widget.CollapsiblePanel.prototype.setDisplay = function(ele, display)
    if( ele )
    ele.style.display = display;
    Spry.Widget.CollapsiblePanel.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
    if (!optionsObj)
    return;
    for (var optionName in optionsObj)
    if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
    continue;
    obj[optionName] = optionsObj[optionName];
    Spry.Widget.CollapsiblePanel.prototype.onTabMouseOver = function(e)
    this.addClassName(this.getTab(), this.hoverClass);
    return false;
    Spry.Widget.CollapsiblePanel.prototype.onTabMouseOut = function(e)
    this.removeClassName(this.getTab(), this.hoverClass);
    return false;
    Spry.Widget.CollapsiblePanel.prototype.open = function()
    this.contentIsOpen = true;
    if (this.enableAnimation)
    if (this.animator)
    this.animator.stop();
    this.animator = new Spry.Widget.CollapsiblePanel.PanelAnimator(this, true, { duration: this.duration, fps: this.fps, transition: this.transition });
    this.animator.start();
    else
    this.setDisplay(this.getContent(), "block");
    this.removeClassName(this.element, this.closedClass);
    this.addClassName(this.element, this.openClass);
    Spry.Widget.CollapsiblePanel.prototype.close = function()
    this.contentIsOpen = false;
    if (this.enableAnimation)
    if (this.animator)
    this.animator.stop();
    this.animator = new Spry.Widget.CollapsiblePanel.PanelAnimator(this, false, { duration: this.duration, fps: this.fps, transition: this.transition });
    this.animator.start();
    else
    this.setDisplay(this.getContent(), "none");
    this.removeClassName(this.element, this.openClass);
    this.addClassName(this.element, this.closedClass);
    Spry.Widget.CollapsiblePanel.prototype.onTabClick = function(e)
    if (this.isOpen())
    this.close();
    else
    this.open();
    this.focus();
    return this.stopPropagation(e);
    Spry.Widget.CollapsiblePanel.prototype.onFocus = function(e)
    this.hasFocus = true;
    this.addClassName(this.element, this.focusedClass);
    return false;
    Spry.Widget.CollapsiblePanel.prototype.onBlur = function(e)
    this.hasFocus = false;
    this.removeClassName(this.element, this.focusedClass);
    return false;
    Spry.Widget.CollapsiblePanel.KEY_UP = 38;
    Spry.Widget.CollapsiblePanel.KEY_DOWN = 40;
    Spry.Widget.CollapsiblePanel.prototype.onKeyDown = function(e)
    var key = e.keyCode;
    if (!this.hasFocus || (key != this.openPanelKeyCode && key != this.closePanelKeyCode))
    return true;
    if (this.isOpen() && key == this.closePanelKeyCode)
    this.close();
    else if ( key == this.openPanelKeyCode)
    this.open();
    return this.stopPropagation(e);
    Spry.Widget.CollapsiblePanel.prototype.stopPropagation = function(e)
    if (e.preventDefault) e.preventDefault();
    else e.returnValue = false;
    if (e.stopPropagation) e.stopPropagation();
    else e.cancelBubble = true;
    return false;
    Spry.Widget.CollapsiblePanel.prototype.attachPanelHandlers = function()
    var tab = this.getTab();
    if (!tab)
    return;
    var self = this;
    Spry.Widget.CollapsiblePanel.addEventListener(tab, "click", function(e) { return self.onTabClick(e); }, false);
    Spry.Widget.CollapsiblePanel.addEventListener(tab, "mouseover", function(e) { return self.onTabMouseOver(e); }, false);
    Spry.Widget.CollapsiblePanel.addEventListener(tab, "mouseout", function(e) { return self.onTabMouseOut(e); }, false);
    if (this.enableKeyboardNavigation)
    // XXX: IE doesn't allow the setting of tabindex dynamically. This means we can't
    // rely on adding the tabindex attribute if it is missing to enable keyboard navigation
    // by default.
    // Find the first element within the tab container that has a tabindex or the first
    // anchor tag.
    var tabIndexEle = null;
    var tabAnchorEle = null;
    this.preorderTraversal(tab, function(node) {
    if (node.nodeType == 1 /* NODE.ELEMENT_NODE */)
    var tabIndexAttr = tab.attributes.getNamedItem("tabindex");
    if (tabIndexAttr)
    tabIndexEle = node;
    return true;
    if (!tabAnchorEle && node.nodeName.toLowerCase() == "a")
    tabAnchorEle = node;
    return false;
    if (tabIndexEle)
    this.focusElement = tabIndexEle;
    else if (tabAnchorEle)
    this.focusElement = tabAnchorEle;
    if (this.focusElement)
    Spry.Widget.CollapsiblePanel.addEventListener(this.focusElement, "focus", function(e) { return self.onFocus(e); }, false);
    Spry.Widget.CollapsiblePanel.addEventListener(this.focusElement, "blur", function(e) { return self.onBlur(e); }, false);
    Spry.Widget.CollapsiblePanel.addEventListener(this.focusElement, "keydown", function(e) { return self.onKeyDown(e); }, false);
    Spry.Widget.CollapsiblePanel.addEventListener = function(element, eventType, handler, capture)
    try
    if (element.addEventListener)
    element.addEventListener(eventType, handler, capture);
    else if (element.attachEvent)
    element.attachEvent("on" + eventType, handler);
    catch (e) {}
    Spry.Widget.CollapsiblePanel.prototype.preorderTraversal = function(root, func)
    var stopTraversal = false;
    if (root)
    stopTraversal = func(root);
    if (root.hasChildNodes())
    var child = root.firstChild;
    while (!stopTraversal && child)
    stopTraversal = this.preorderTraversal(child, func);
    try { child = child.nextSibling; } catch (e) { child = null; }
    return stopTraversal;
    Spry.Widget.CollapsiblePanel.prototype.attachBehaviors = function()
    var panel = this.element;
    var tab = this.getTab();
    var content = this.getContent();
    if (this.contentIsOpen || this.hasClassName(panel, this.openClass))
    this.addClassName(panel, this.openClass);
    this.removeClassName(panel, this.closedClass);
    this.setDisplay(content, "block");
    this.contentIsOpen = true;
    else
    this.removeClassName(panel, this.openClass);
    this.addClassName(panel, this.closedClass);
    this.setDisplay(content, "none");
    this.contentIsOpen = false;
    this.attachPanelHandlers();
    Spry.Widget.CollapsiblePanel.prototype.getTab = function()
    return this.getElementChildren(this.element)[0];
    Spry.Widget.CollapsiblePanel.prototype.getContent = function()
    return this.getElementChildren(this.element)[1];
    Spry.Widget.CollapsiblePanel.prototype.isOpen = function()
    return this.contentIsOpen;
    Spry.Widget.CollapsiblePanel.prototype.getElementChildren = function(element)
    var children = [];
    var child = element.firstChild;
    while (child)
    if (child.nodeType == 1 /* Node.ELEMENT_NODE */)
    children.push(child);
    child = child.nextSibling;
    return children;
    Spry.Widget.CollapsiblePanel.prototype.focus = function()
    if (this.focusElement && this.focusElement.focus)
    this.focusElement.focus();
    Spry.Widget.CollapsiblePanel.PanelAnimator = function(panel, doOpen, opts)
    this.timer = null;
    this.interval = 0;
    this.fps = 60;
    this.duration = 500;
    this.startTime = 0;
    this.transition = Spry.Widget.CollapsiblePanel.PanelAnimator.defaultTransition;
    this.onComplete = null;
    this.panel = panel;
    this.content = panel.getContent();
    this.doOpen = doOpen;
    Spry.Widget.CollapsiblePanel.setOptions(this, opts, true);
    this.interval = Math.floor(1000 / this.fps);
    var c = this.content;
    var curHeight = c.offsetHeight ? c.offsetHeight : 0;
    this.fromHeight = (doOpen && c.style.display == "none") ? 0 : curHeight;
    if (!doOpen)
    this.toHeight = 0;
    else
    if (c.style.display == "none")
    // The content area is not displayed so in order to calculate the extent
    // of the content inside it, we have to set its display to block.
    c.style.visibility = "hidden";
    c.style.display = "block";
    // Clear the height property so we can calculate
    // the full height of the content we are going to show.
    c.style.height = "";
    this.toHeight = c.offsetHeight;
    this.distance = this.toHeight - this.fromHeight;
    this.overflow = c.style.overflow;
    c.style.height = this.fromHeight + "px";
    c.style.visibility = "visible";
    c.style.overflow = "hidden";
    c.style.display = "block";
    Spry.Widget.CollapsiblePanel.PanelAnimator.defaultTransition = function(time, begin, finish, duration) { time /= duration; return begin + ((2 - time) * time * finish); };
    Spry.Widget.CollapsiblePanel.PanelAnimator.prototype.start = function()
    var self = this;
    this.startTime = (new Date).getTime();
    this.timer = setTimeout(function() { self.stepAnimation(); }, this.interval);
    Spry.Widget.CollapsiblePanel.PanelAnimator.prototype.stop = function()
    if (this.timer)
    clearTimeout(this.timer);
    // If we're killing the timer, restore the overflow property.
    this.content.style.overflow = this.overflow;
    this.timer = null;
    Spry.Widget.CollapsiblePanel.PanelAnimator.prototype.stepAnimation = function()
    var curTime = (new Date).getTime();
    var elapsedTime = curTime - this.startTime;
    if (elapsedTime >= this.duration)
    if (!this.doOpen)
    this.content.style.display = "none";
    this.content.style.overflow = this.overflow;
    this.content.style.height = this.toHeight + "px";
    if (this.onComplete)
    this.onComplete();
    return;
    var ht = this.transition(elapsedTime, this.fromHeight, this.distance, this.duration);
    this.content.style.height = ((ht < 0) ? 0 : ht) + "px";
    var self = this;
    this.timer = setTimeout(function() { self.stepAnimation(); }, this.interval);
    Spry.Widget.CollapsiblePanelGroup = function(element, opts)
    this.element = this.getElement(element);
    this.opts = opts;
    this.attachBehaviors();
    Spry.Widget.CollapsiblePanelGroup.prototype.setOptions = Spry.Widget.CollapsiblePanel.prototype.setOptions;
    Spry.Widget.CollapsiblePanelGroup.prototype.getElement = Spry.Widget.CollapsiblePanel.prototype.getElement;
    Spry.Widget.CollapsiblePanelGroup.prototype.getElementChildren = Spry.Widget.CollapsiblePanel.prototype.getElementChildren;
    Spry.Widget.CollapsiblePanelGroup.prototype.setElementWidget = function(element, widget)
    if (!element || !widget)
    return;
    if (!element.spry)
    element.spry = new Object;
    element.spry.collapsiblePanel = widget;
    Spry.Widget.CollapsiblePanelGroup.prototype.getElementWidget = function(element)
    return (element && element.spry && element.spry.collapsiblePanel) ? element.spry.collapsiblePanel : null;
    Spry.Widget.CollapsiblePanelGroup.prototype.getPanels = function()
    if (!this.element)
    return [];
    return this.getElementChildren(this.element);
    Spry.Widget.CollapsiblePanelGroup.prototype.getPanel = function(panelIndex)
    return this.getPanels()[panelIndex];
    Spry.Widget.CollapsiblePanelGroup.prototype.attachBehaviors = function()
    if (!this.element)
    return;
    var cpanels = this.getPanels();
    var numCPanels = cpanels.length;
    for (var i = 0; i < numCPanels; i++)
    var cpanel = cpanels[i];
    this.setElementWidget(cpanel, new Spry.Widget.CollapsiblePanel(cpanel, this.opts));
    Spry.Widget.CollapsiblePanelGroup.prototype.openPanel = function(panelIndex)
    var w = this.getElementWidget(this.getPanel(panelIndex));
    if (w && !w.isOpen())
    w.open();
    Spry.Widget.CollapsiblePanelGroup.prototype.closePanel = function(panelIndex)
    var w = this.getElementWidget(this.getPanel(panelIndex));
    if (w && w.isOpen())
    w.close();
    Spry.Widget.CollapsiblePanelGroup.prototype.openAllPanels = function()
    var cpanels = this.getPanels();
    var numCPanels = cpanels.length;
    for (var i = 0; i < numCPanels; i++)
    var w = this.getElementWidget(cpanels[i]);
    if (w && !w.isOpen())
    w.open();
    Spry.Widget.CollapsiblePanelGroup.prototype.closeAllPanels = function()
    var cpanels = this.getPanels();
    var numCPanels = cpanels.length;
    for (var i = 0; i < numCPanels; i++)
    var w = this.getElementWidget(cpanels[i]);
    if (w && w.isOpen())
    w.close();
    })(); // EndSpryComponent

    I have inserted a spry collapsible panel into my website, made ZERO
    adjustments to any of the scripting or even css styling
    That is good, that means that I have a local copy of the scripting and css files eliminating the need to attach the code to a post.
    Is something wrong with the js file? I tried the panel earlier on a
    different site on the same computer and it was working fine
    The fact that it works on a different site means that something is correct. My assumption is that the scripting and css files are doing their job correctly and to answer your question regarding the js file, no.
    Having eliminated the Spry original JavaScript and CSS files as being the culprits, there must be a problem with the rest of the site, incorrect HTML, other interfering JavaScript or CSS.
    I can keep guessing, but only those persons that are privy to your code can give you any positive input. Please find a way to upload your files so that we can see the code in context.
    To this end, screen captures do not assist in solving the problem, they only add to others' amusement at seeing the problem.
    Ben
    PS I forgot to say, welcome to our community and yes I am a cynical old codger, sorry.

Maybe you are looking for

  • I would like to downgrade my CC membership from the full version to the Photographers version

    I currently have the full CC membership, paying monthly. I am not using any of the other programs other than Lightroom & Photoshop so would like to downgrade to the Photographers version please. There seems to be no way of doing this in my account se

  • How to create custom project in LabVIEW 8

    We can create VIs from the template in similar fashion i want to create a perticular folder hierarchy and copy some common VIs in perticular locations when i create  a new project. as in 7.1(or even in 8) we had option to create blank VI or VI from t

  • Could not activate Cellular Network - Iphone 2.2.1

    Bought an unlocked (italian) 3G iphone to use in UK. All works well except that it will not connect to internet or mail without wifi connection. Using Orange SIM I have set APN ot orangeinternet and it still won;t work. Have tried resetting <networks

  • K9N6SGM-V bios questions And overclocking

    Hi all i was wondering if anyone could tell me what the latest bios for the K9N6SGM-V actualy does they never give clear details on the bios pages as to what it does, The latest one just says Quote Update CPU module. People on here say dont flash you

  • Unable to clos itunes

    I downloaded a new version of the software for my ipad first generation and it said that it had to make a security copy, and it keep like that for way to much time so i was trying to se what to do when i accidentally canceled it so it ppeared a messa