Close Window

Hi
In the behaviors panel I have a "open browser window" but I
don't see one for "close window". please Could some one tell me how
I apply the javascript to my image which I prepared in fireworks
for "close window". Thank you
Dave Sofield

Dave Scofield wrote:
> Hi
> In the behaviors panel I have a "open browser window"
but I don't see one for
> "close window".
Huh? Which program are you referring to? As gar as I know,
there's
nothing like that in Fireworks.
Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
http://www.projectseven.com
Fireworks Newsgroup:
news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/
http://www.adobe.com/communities/experts/

Similar Messages

  • Javascript Open and Close window

    I am creating a new website and am having problems getting
    the open window and close window to work. I want this window to
    open a new window (NOT a popup window used with the "onload"
    option). I am using an img tag so that when you click on the image
    thumbnail this new window opens. It is my understanding in order to
    use the window.close option, you must have the javascript in the
    header of the html document for the close to work. In the heading
    of the document that contains the link to open a new window I have
    the following:
    <SCRIPT language="JavaScript1.2">
    function popuponclick()
    Cellex = window.open("products/cellex.htm",
    "console","status=1,width=350,height=150");
    function closepopup()
    if(false == cellex.closed)
    cellex.close ();
    else
    alert('Window already closed!');
    </SCRIPT>
    Then I have this in the body:
    <img src="images/thumbnails/dermalogicath.jpg"
    alt="Dermalogica" width="94" height="84" border="0"
    /></a></td>
    <td><a href="products/mdskin.htm"
    onclick="window.open('products/mdskin.htm','mdskin',width=610,height=780,scrollbars=yes') ;return
    false; target="_blank">
    However, I'm getting script errors when opening the window on
    the lines in the body Unterminated error. I have tried using the
    help in Dreamweaver as well as many docs posted, but still cannot
    get this to work. Once I get the script errors resolved, the when
    the window opens, it will not close. I get the message that a
    window is trying to be closed and do I want to close the window
    which closes internet explorer entirely. I'm using IE 7.0 as well
    as foxfire and have the same issue on both. If I use the
    dreamweaver behaviors to call a javascript, it puts "onload" and if
    I change to "onclick" then the script will not work. When I use the
    behavior "open window" it still doesn't work. I'm totally lost as
    to what I'm doing wrong as I have followed about 10 papers all
    using the same instructions.
    Hopefully some one can help me, I'm getting fustrated as this
    seems to be pretty straight forward.
    Thanks, vienie

    Try this on for size:
    I have included two functions.
    windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
    myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
    Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
    <script language="JavaScript1.1" type="text/javascript">
      This functions is for internal application use.
      Examples of myLocation:
      url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
      url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
      url = myLocation('184', '10');
    function myLocation(myApp, myPage){
      var myHost = location.host;
      var newURL;
      newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
      return newURL;
    /*  Function windowRebuild()
    *   This function will open a new window and close the old window.
    *   This function will also maximize the new window and remove all toolbars.
    function windowRebuild(){
       if(window.name != 'myAppWin'){
        var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
        var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
        window.opener = 'x';
        window.close();
       if(window.name == 'myAppWin'){
        window.moveTo(0,0);
        window.resizeTo(screen.availWidth,screen.availHeight);
    </script>Let me know if that works or you need some more explanation.
    Chris

  • Where did Close Tab and Close Window under the File tab go? I end up with all these open windows or exiting altogether.

    Under the File tab, I no longer see Close Tab or Close Window. Thus, I end up with a lot of open windows, because if I click File Exit, I'm logged out.

    You need to create a file userChrome.css in the chrome folder in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and paste the above posted code in the file.<br />
    You can use the ChromEdit Plus extension to make it easier to edit the file.
    You can access the profile folder via this button:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    That code will cause all hidden menu entries to get visible all the time, so you can use the mouse to open the menus and do not need to use the keyboard.

  • Mail In Full Screen Closes Window after Sending

    I love using mail in full screen.
    When I send a new message or reply to a message the Mail window closes out of the full screen and closes the mail window.  How do I get the window to stop closing after I send or reply?

    I found out what is was. I had serial mail try to send about 200 emails. Something went wrong (not sure whether it is lion compatible) and there were a load of unsent emails somewhere in the background. Funny thing was they were not showing anywhere, just when I tried to close window, an unsent message popped up.
    Anyway, force quit mail as I could not be bothered to find out how many mails had not been sent, and on reopening all back to normal
    HTH

  • How do I add a close window button/image

    All I want to do: Add a close window button (round/square with an "x" through it) to either one or many html files. I don't see how to do this.
    Using RoboHelp 8 HTML and WinXP. Thanks.

    Ahh I see now. You are asking where to obtain such an image!
    The RoboHelp Gallery doesn't contain one. Sorry. You will need to obtain one from any number of other locations.
    You might look at the following link for one possibility.
    Icon Archive
    Here are a couple from my own colloection. You might right-click and save as.
    There are also a number of packages you may purchase or find. Perhaps the following link will help.
    Click here to search Google
    I cannot advise on the legal implications of using said images.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Acrobat reader install fails on vista - says close windows explorer

    I'm trying to install the latest reader on a Windows Vista laptop but the installation fails with an error message "you must close windows explorer".  In task manager there are no running applications but I can see explorer.exe in the list of processes.  I think this is running the desktop/taskbar so I don't want to close it.  Any ideas how to get round this?
    TIA

    This might work.
    1) Open Adobe Reader
    2) Go to Edit then Preferences
    3) Under Categories on the left side click on Internet
    4) Uncheck Display PDF in browser and click Ok.

  • Image Processor script won't close windows

    I'm testing a client's favorite method for converting folders of, say, 1000 images from RAW to large JPEG. He now uses Photoshop in CS3: He opens File Menu > Scripts > Image Processor, designates a huge folder of RAW files, sets the right parameters, and saves to a different folder. Works perfectly (but slowly) on a Mac G5.
    Now I am testing it on a Mac Pro in PS-CS4, the setup he wants to buy, using exactly the same parameters. Trouble is, the window that opens on each document isn't closed, and so they accumulate! Doesn't matter whether Tabs is enabled or not. Starts eating up scratch space and has the potential to open 1000 tabs or windows. Something is wrong.
    Same operation works perfectly in PS-CS3 on this Mac Pro.
    If the Close Window is missing from this repeating script, then it should be added back -- or a checkbox should be added: "Close each window." I haven't been able to create an Action that will close each window without confusing the Save/Save As mechanism in the script.
    How can I report this apparent bug? Or can someone please tell me what I'm missing.
    (I know there are other ways to accomplish this task. But this one should work!)

    From Kathy: "I still can not find out your issues here. You may try report this to adobe through this link.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform"
    Thank you, Kathy! This was the tip I needed. I thought that Adobe may, indeed, be monitoring this forum. Many manufacturers monitor and post in their own forums, e.g. Apple.
    "Also one simple workaround for you, could be create a close action and run this action in Image Processor."
    I really did try this. Trouble is, you run into unresolvable interactions with a Save As dialog. I.e. the Close Action seems to interfere with the saving of the converted JPEG. At least I couldn't get it to work -- but it should not be necessary.
    There are workarounds, such as selecting multiple items in Bridge, opening them all into ACR, and then selecting them all and clicking Save File. Doesn't open any windows at all! But the bug still needs to be reported.
    From Ramon: "Before your frustration causes you to become overly argumentative, you may want to consider that your interlocutor may actually know a bit more than you seem to think she does. Kathy may even be part of the Adobe team, for all you know."
    You are reading way too much into what I said. Argumentative? I meant what I said literally. The behavior of the Image Processor script should not have any dependencies, and the documentation (such as it is) indicates none whatever. Further, the script, when run identically in CS3, runs perfectly.

  • How do i end a sub vi when the close window control is clicked?

    Hi,
    I have a sub vi that sits in a while loop until a 'Done' button is pressed but sometimes the user clicks on the close window control in the top left of the window (MacOS) instead.
    After this has happened I would like control to return to the calling vi but it's as though the sub vi is still waiting for someone to click on the done button and the any user actions in the calling vi are ignored.
    How do I wire the close window into my program so as clicking on either it or the Done button will end the sub vi and pass control back to the calling vi?
    Thanks,
    Dave.

    The "event structure" can capture events for "this VI" that include "panel close". If you are using an event structure to look for the push of the Done button, just add another event that will catch the panel close as well (you can even configure the stucture to not pass on the close event). If you are not using the event structure to watch for the done button, perhaps you should. If you cannot use it in the same loop, you can put it in a parallel loop and use any of several signaling mechanisms to communicate between the loops.

  • Open a pdf or a doc with close window icon

    I am opening pdf or doc file in the url which opens up in the browser window. To make it user friendly, we want to put close window icon or button in the browser window.
    Note: we are not in favor of using frames as we not using in any pages.
    Thanks for your input.

    Hello!
    Can you post me example to open pdf file using browser..?
    Thanks..

  • Close window script not working in safari?

    So I have a behavior from a DW extension that controls the
    window to self_
    close... and works fine in all browsers but Safari. Anyone
    have a clue why
    that might be? Here's the script:
    <input type=button
    onClick="tmt_winControl('self','close()')" value=" Close
    " >

    We would have to see your code to determine what is wrong.
    Can you post a
    link to the page in question? Your only giving us half of the
    equation.
    fyi.. Massimos Control Window does work in Safari to close
    windows, so
    there's something else wrong. Could be that you do not have
    the supporting
    function in the page.
    Regards,
    Trent Pastrana
    www.fourlevel.com
    "_adrian" <[email protected]> wrote in message
    news:gl36qe$ikc$[email protected]..
    > So I have a behavior from a DW extension that controls
    the window to self_
    > close... and works fine in all browsers but Safari.
    Anyone have a clue
    > why that might be? Here's the script:
    >
    > <input type=button
    onClick="tmt_winControl('self','close()')" value="
    > Close " >
    >

  • KDE - Close window on task manager thumbnail middle click

    So as the title says, I'd like to know if this possible. I can't seem to find the option anywhere and I don't mind dirty hacks like recompiling icon-only task manager or so. This really annoys me
    thx b4
    Last edited by reed1 (2013-08-22 04:35:29)

    arojas wrote:Go to icons-only task manager settongs -> behavior -> middle-click action -> close the application ?
    Yes but that's also applies to clicking the icon on the bar. I want:
    middleclick icon on the bar -> "start new instance"
    middleclick thumbnails (previews) -> "close windows"
    This is the default behavior on windows 7 superbar

  • My pointer arrow is jumping around.  my windows flip.  i can't close windows--there are no 3 colored dots.i don't use a mouse.  i just downloaded Lion and my mac has been acting weird since.

    ALL OF A SUDDEN , MY POINTER ARROW IS OUT OF CONTROL OR WON'T MOVE.  I DON'T USE A MOUSE.  THE WINDOWS SHAKE LIKE WHEN I'M TOLD I HAVE THE WRONG PASSWORD AND THEN THE WINDOWS FADE, SWITCH AND/OR  FLIP AROUND.  THERE ARE NOT THE 3 DOTS IN THE LEFT-HAND CORNER SO I CAN'T CLOSE WINDOWS WHEN I FINISH WORKING WITH SITES.  MY MAC HAS STARTED ACTED WEIRD SINCE I STARTED USING LION.  HELP!!!!!!!!!!!!!!!

    Hi,
    I work for Dr Pod, an iPod repair company. This sounds to be that the hard drive is dying in the iPod. As it is an older iPod it is out of its one year warranty, the iPod won't be repaired for free by Apple, and you'd need to consider wether it'd be better to have the iPod repaired by an iPod repair company such as my own, or to purchase a new one from Apple.
    If you did choose to purchase a new iPod from Apple, then they do provide 10% off the cost of a new iPod if you exchange in your old one. I'm not sure if this applies to faulty ones though (I have heard of some people being turned away for having a faulty device).
    Hope this helps,
    Mark Sweeney
    Dr Pod Founder

  • Lsot a close window icon in the file section

    lost a close window and go back option in the file section of my computer

    Some menu items are hidden by default and only appear if you use the keyboard to open the menu.
    If you sue Alt+F to open the File menu then you get all items in the File menu. The same applies to the History menu with the Back and Forward items that only appear if you use the keyboard.
    You can use one of these methods to open the tab history list:
    * Right click on the Back or Forward button
    * Hold down the left mouse button on the enabled Back or Forward button until the list opens

  • Got a macbook pro. runs FFox 4.0.1 Daily i get prompt says "update FFox". I click it and it says"connecting to server" forever. have to close window. does this daily.

    got a macbook pro. runs FFox 4.0.1
    Daily i get prompt says "update FFox". I click it and it says"connecting to server" forever. have to close window. does this daily.

    got a macbook pro. runs FFox 4.0.1
    Daily i get prompt says "update FFox". I click it and it says"connecting to server" forever. have to close window. does this daily.

  • Can't Close Windows in Safari

    Because of some bad RAM, I had to do some system and software re-installs. I am running the latest version of Tiger, and windows in Safari will not close. They will go to the dock with the yellow button, but will not close with either the red button, the close window command in the File window or the command W combination. When I quit the program, the old windows go away, but that is a pain. I wait to quit Safari until I have 6 or 8 Safari windows open in the dock. Do I need to reset Safari? (I really don't want to lose the keychain passwords.) I've checked and re-checked preferences, and I don't find anything there, either.

    Hello bassomac:
    Try a couple of things.
    Clear the Safari cache.
    Trash the Safari preference file (com.apple.safari.plist).
    Restart safari and see what happens.
    Barry

  • How to close window only if closing last tab is about:newtab

    Is there a way to achieve this behaviour:
    Let's say I have a last tab left open, for example mozilla.org or any other site. When closing that tab I want firefox to open about:newtab. This can be achieved by setting closeWindowWithLastTab flag in config. But here is the catch when closing that about:newtab I want to close window.
    So basically - Close window with last tab only if it is about:newtab. Also I want the close button on last tab to remain there.
    P.S. Last tab close button extension did not help.

    See:
    *Close Button: https://addons.mozilla.org/firefox/addon/close-button/

Maybe you are looking for

  • Error with SDO_TUNE.EXTENT_OF on a table with more than one geometry.

    Hello, I'm using a GeoServer with Oracle Spatial database, and I run into some problems. GeoServer uses SDO_TUNE.EXTENT_OF to calculate the maximum extent of features you add. It works fine for all object with only one geometry, but fails for objects

  • ABOUT FM

    hi friends, how should i pass values or range of values or select-options to function module so that it return value in some itab. with regards

  • Difficulty navigating to and identifying my RAW and JPEG Images

    Hi, I have several related issues that I would appreciate help with. I am finding difficulty navigating to and identifying my RAW and JPEG images in Aperture. I do actually principally work with JPEG and only use RAW when I perceive there to be a ben

  • Opening RAW photo in editor - cannot add a layer or make adjustments.

    Greetings - I have recently upgraded to Photoshop Elements 13. I have a Nikon and I am shooting in RAW. Recently I have found that when I open a photo in the Editor - the vast majority of actions are grayed out. I cannot add a layer - or make other a

  • Safe to ignore this warning?

    Using WL 8.1 (sp3) on Win 2000 (sp4) From my Struts app I'm trying to upload a file from the browser to the server, the file uploads fine, BUT the only problem is I keep getting this warning - "<09-Mar-2006 16:28:47 o'clock GMT> <Warning> <HTTP> <BEA