Open pop up browser window

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

  1. #1

    Default Open pop up browser window

    I'm not an experienced web site builder, so trying to find a way to open a new
    browser window without navigation bars, menus etc. Have used the Open Browser
    Window function in the Behavious box but it opens new window on mouseover, not
    when link is clicked. Tried changing the javascript wording to OnClick which
    opened new window but also the page with the link went to the new page too.
    Anyone know how to solve this? Many thanks

    West London Guest

  2. Similar Questions and Discussions

    1. get a ink to open in a new browser window
      Is there a way to get publisher to open existing links to new windows?
    2. Open new web browser window
      Can anyone help with the following query. I want to open up a new window from a flash movie when i click on a text box link. The code is as...
    3. Open browser window
      Hi, I'm sure this is very simple, but I'm pretty new to dreamweaver and HTML, so your help would be much appreciated. What I want is to specify the...
    4. How to get a OPEN/SAVE dialog option window when open Excel from IE browser.
      I use the following to open Excel from IE browser, but I don't get a OPEN/SAVE dialog option window. Instead, the Excel opened in the browser...
    5. Open new browser window
      Hello, I want to make a php application, which displays different text in separate windows. I mean for example a new window will open with text...
  3. #2

    Default Re: Open pop up browser window

    West London wrote:
    > I'm not an experienced web site builder, so trying to find a way to open a new
    > browser window without navigation bars, menus etc. Have used the Open Browser
    > Window function in the Behavious box but it opens new window on mouseover, not
    > when link is clicked. Tried changing the javascript wording to OnClick which
    > opened new window but also the page with the link went to the new page too.
    > Anyone know how to solve this? Many thanks
    Either you need to remove the page url from teh href in the link that
    pops open the window and replace it with:
    javascript:;
    or you need to add to the end of the onClick event the following:
    return false;



    Danilo
    danilocelic *TMM* Guest

  4. #3

    Default Re: Open pop up browser window

    Thanks Danilo. The javascript action using the Behavious window creates the
    action of the desired pop up window appearing but on mouseover not onclick.
    What I'd like to do is change it to the new window opening when the link is
    clicked. It doesn't seem to work by deleting the href of the new window's url
    or changing the javascript wording from OnMouseOver to OnClick. It's almost
    doing what I need but not OnClick

    West London Guest

  5. #4

    Default Re: Open pop up browser window

    West London wrote:
    > Thanks Danilo. The javascript action using the Behavious window creates the
    > action of the desired pop up window appearing but on mouseover not onclick.
    > What I'd like to do is change it to the new window opening when the link is
    > clicked. It doesn't seem to work by deleting the href of the new window's url
    > or changing the javascript wording from OnMouseOver to OnClick. It's almost
    > doing what I need but not OnClick
    IN case it's your browser acting up, its onClick or onclick, not OnClick
    as the event in the <a> tag.

    Next, yo9u should be able to change the event in the Behaviors panel, by
    clicking on onmouseover, there should be a drop down that gives you more
    event options, if not, then click the + button in the Beyhaviors panel
    and then go to Show Events for > and select at lest the 4.0 browsers item.


    Beyond that you'll need to post a URL to the page in question.


    Danilo
    danilocelic *TMM* Guest

  6. #5

    Default Re: Open pop up browser window

    Danilo - many thanks for your help - I've taken out the h ref and changed the
    Javascript to <a onClick and it's worked.

    However, the cursor doesn't change when it's over the text that, when clicked,
    now opens up the new browser window. Is there a way of making it change so that
    when over the text it looks like it does when over a hyperlink? Many thanks.

    West London Guest

  7. #6

    Default Re: Open pop up browser window

    West London wrote:
    > Danilo - many thanks for your help - I've taken out the h ref and changed the
    > Javascript to <a onClick and it's worked.
    >
    > However, the cursor doesn't change when it's over the text that, when clicked,
    > now opens up the new browser window. Is there a way of making it change so that
    > when over the text it looks like it does when over a hyperlink? Many thanks.
    You'll have to post a link to your page, as something has gone wrong.
    When you have a behavior applied to a link wrapped around your text,
    then you should get the hand pointer.

    Danilo
    danilocelic *TMM* Guest

  8. #7

    Default Re: Open pop up browser window

    Hi Danilo

    The link is [url]http://www.freedomtotravel.org.uk/policies%20featured/itssoeasy.htm[/url]

    The links opening up new browser windows are text that say "(Click here to
    find out what this means)"

    It would be good if the cursor could change when over these.

    Many thanks

    West London Guest

  9. #8

    Default Re: Open pop up browser window

    West London wrote:
    > Hi Danilo
    >
    > The link is [url]http://www.freedomtotravel.org.uk/policies%20featured/itssoeasy.htm[/url]
    >
    > The links opening up new browser windows are text that say "(Click here to
    > find out what this means)"
    >
    > It would be good if the cursor could change when over these.
    The two Click Heres in the last row of the table do have the mouse hand
    pointer appear in both IE6 and Firefox1.0.4

    Which browser/OS are you using?


    Danilo
    danilocelic *TMM* Guest

  10. #9

    Default Re: Open pop up browser window

    Hi Danilo

    It's not the usual hyperlinks in the bottom row of the table (they open in a
    usual browser window) that are the problem. It's the three in the left hand
    column, 5th, 6th and 7th rows down (next to Financial Services Authority,
    Insurer and Underwriter) where it says "Click here to find out what this
    means". They are attached to the onClick function in the Behaviours window and
    open up a modified browser window. It's these links that I'd like the cursor to
    change when over them. If I keep the a href, the cursor changes but the
    original window also opens up in the new destination as well as a new window
    opening, which is obvisouly not what I want! As you suggested, I took out the a
    href to stop that but by doing so, the cursor no longer changes.

    West London Guest

  11. #10

    Default Re: Open pop up browser window

    West London wrote:
    > Hi Danilo
    >
    > It's not the usual hyperlinks in the bottom row of the table (they open in a
    > usual browser window) that are the problem. It's the three in the left hand
    > column, 5th, 6th and 7th rows down (next to Financial Services Authority,
    > Insurer and Underwriter) where it says "Click here to find out what this
    > means". They are attached to the onClick function in the Behaviours window and
    > open up a modified browser window. It's these links that I'd like the cursor to
    > change when over them. If I keep the a href, the cursor changes but the
    > original window also opens up in the new destination as well as a new window
    > opening, which is obvisouly not what I want! As you suggested, I took out the a
    > href to stop that but by doing so, the cursor no longer changes.
    Please re-read my initial post, I did not say to remove the href. Either
    replace with javascript:; or add return false; at the end of the onclick
    event.

    Danilo
    danilocelic *TMM* Guest

  12. #11

    Default Re: Open pop up browser window

    Danilo

    Sorry to have wasted your time by misundestanding your first post - I'm not as
    experienced as you - obviously! It's now working exactly as I wanted it. I
    really appreciate your help to make our charity's web site look better! Many,
    many thanks.

    Kevin

    West London Guest

  13. #12

    Default Re: Open pop up browser window

    Hi Danilo - I thought what I had done had worked but it hasn't. If I leave the
    h ref in, the original page changes too (although the new window without
    navigation bar opens - that's the bit I want to happen). If I add
    return="false" at the end of the onClick function (which I've added from the
    Behaviours window) it doesn't make any difference - unless I'm putting it in
    the wrong place. This is where I've placed it - perhaps you could amend it to
    show me what you mean? Many thanks.

    (<a href="../fsa.htm"
    onClick="MM_openBrWindow('../fsa.htm','fsa','menubar=yes,scrollbars=yes,resizab l
    e=yes,width=500,height=500')" return="false">Click
    here to find out what this means</a>)

    West London Guest

  14. #13

    Default Re: Open pop up browser window

    West London wrote:
    > Hi Danilo - I thought what I had done had worked but it hasn't. If I leave the
    > h ref in, the original page changes too (although the new window without
    > navigation bar opens - that's the bit I want to happen). If I add
    > return="false" at the end of the onClick function (which I've added from the
    > Behaviours window) it doesn't make any difference - unless I'm putting it in
    > the wrong place. This is where I've placed it - perhaps you could amend it to
    > show me what you mean? Many thanks.
    Please be very careful about adding code that others suggest to you, I
    actually said to add to the end of the onlcick event:
    return false;
    which would give you soemthing like:
    onclick="MM_openBrWindow(....);return false;"




    Danilo
    danilocelic *TMM* Guest

  15. #14

    Default Re: Open pop up browser window

    Hi Danilo

    I take your point about being very careful about scripts anyone recommends.

    This is what I've changed it to and it still isn't working properly. What on
    earth am I doing wrong?

    (<a href="../fsa.htm"
    onClick="MM_openBrWindow('../fsa.htm','fsa','menubar=yes,scrollbars=yes,resizab l
    e=yes,width=500,height=500')return false">Click
    here to find out what this means</a>)

    West London Guest

  16. #15

    Default Re: Open pop up browser window

    West London wrote:
    > Hi Danilo
    >
    > I take your point about being very careful about scripts anyone recommends.
    >
    > This is what I've changed it to and it still isn't working properly. What on
    > earth am I doing wrong?
    >
    > (<a href="../fsa.htm"
    > onClick="MM_openBrWindow('../fsa.htm','fsa','menubar=yes,scrollbars=yes,resizab l
    > e=yes,width=500,height=500')return false">Click
    > here to find out what this means</a>)
    Try:
    (<a href="../fsa.htm"
    onClick="MM_openBrWindow('../fsa.htm','fsa','menubar=yes,scrollbars=yes,resizab le=yes,width=500,height=500');return
    false;">Click here to find out what this means</a>)


    You left off the ; I had in my example:
    onclick="MM_openBrWindow(....);return false;"




    Danilo
    danilocelic *TMM* Guest

  17. #16

    Default Re: Open pop up browser window

    Danilo

    What a difference a ; makes! What I have now learned is to be meticulous in
    following instructions! Many thanks for all your help and patience! It's now
    definitely doing everything I wanted. Thanks again. Kevin

    West London 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