Petrov's advanced layer popup

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Petrov's advanced layer popup

    Trying to find the code needed to put into the popup window allowing the user
    to click on: CLOSE WINDOW

    The regular script below does not work on the popup layer.
    <a href="JavaScript:onClick=window.close()">Close Window</a>

    Has anyone been successful with this?




    fransikaye Guest

  2. Similar Questions and Discussions

    1. Cannot create JavaScript popup menu with Show Popup Menuusing Add Behaviors
      Whenever I load a page with this added behavior and test it with my link, I get an "Error on Page" message. Here is what I am doing: Create a...
    2. Disabling Advanced Editing Popup dialog boxes when making a form
      I'm using Acrobat Professional v6 to create a fill in form. I would like to disable the popup properties dialog box that is displayed after each...
    3. Bottom layer spoils its upprt layer
      In my bottom layer, I have a gradient fill in gray color. On top of this layer, I have some paragraphs in blue color. I want the bottom layer has no...
    4. PE2: Selecting and painting a layer having a Hidden Power Tools' layer mask?
      I am making a collage using PE2. I have a background layer (solid color) and then each photo is on its own layer with a layer mask used from the...
  3. #2

    Default Re: Petrov's advanced layer popup

    A better way to write this is:

    <a href="javascript:;" onclick="this.close()">Close Window</a>

    but without seeing a url it is hard to say why it would not work as written.

    --


    E. Michael Brandt

    [url]www.divahtml.com[/url]
    [url]www.divahtml.com/products/scripts_dreamweaver_extensions.php[/url]
    Standards-compliant scripts and Dreamweaver Extensions

    [url]www.valleywebdesigns.com/vwd_Vdw.asp[/url]
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

    --
    E Michael Brandt Guest

  4. #3

    Default Re: Petrov's advanced layer popup

    Unfortunately this is sitting in an intranet server and thus is not available
    for you to view.

    Both of these codes are fine if the page is brought up on its own. i.e. in its
    own IE window.

    However, if I am accessing the url through the advanced layer popup.. so that
    it appears on top of the main page as a flyout type layer.. the code does not
    close that popup/flyout layer.

    I wish I could just show it to you.


    fransikaye Guest

  5. #4

    Default Re: Petrov's advanced layer popup

    > However, if I am accessing the url through the advanced layer popup.. so that
    > it appears on top of the main page as a flyout type layer.. the code does not
    > close that popup/flyout layer.
    So you are not trying to close a popup window? You are trying to hide a
    LAYER? Well then that code could not possibly work.

    You simply need to reverse whatever you did to SHOW that layer - perhaps
    in css: display:none ??


    --


    E. Michael Brandt

    [url]www.divahtml.com[/url]
    [url]www.divahtml.com/products/scripts_dreamweaver_extensions.php[/url]
    Standards-compliant scripts and Dreamweaver Extensions

    [url]www.valleywebdesigns.com/vwd_Vdw.asp[/url]
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

    --
    E Michael Brandt Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139