Professional Web Applications Themes

Go to URL open in blank window HELP! - Macromedia Dreamweaver

Hi, Why cant I specify a new or blank browser window when usin dreamweaver's "Go To URL" behaivour? If i go into the code and replace "MM_goToURL('parent','filename.asp');return doent.MM_returnValue") with: If i go into the code and replace "MM_goToURL('blank','filename.asp');return doent.MM_returnValue") It does not work! Any ideas?? Cheers in advance Tom...

  1. #1

    Default Go to URL open in blank window HELP!

    Hi,
    Why cant I specify a new or blank browser window when usin dreamweaver's "Go
    To URL" behaivour?

    If i go into the code and replace
    "MM_goToURL('parent','filename.asp');return doent.MM_returnValue")
    with:
    If i go into the code and replace "MM_goToURL('blank','filename.asp');return
    doent.MM_returnValue")

    It does not work!

    Any ideas??

    Cheers in advance

    Tom


    Elliott Guest

  2. #2

    Default Re: Go to URL open in blank window HELP!

    hmm.. what if you replace it by:
    MM_goToURL('_blank','filename.asp');return doent.MM_returnValue")

    -ville

    Elliott wrote:
    > Hi,
    > Why cant I specify a new or blank browser window when usin dreamweaver's "Go
    > To URL" behaivour?
    >
    > If i go into the code and replace
    > "MM_goToURL('parent','filename.asp');return doent.MM_returnValue")
    > with:
    > If i go into the code and replace "MM_goToURL('blank','filename.asp');return
    > doent.MM_returnValue")
    >
    > It does not work!
    >
    > Any ideas??
    >
    > Cheers in advance
    >
    > Tom
    >
    >
    Ville Leivo Guest

  3. #3

    Default Re: Go to URL open in blank window HELP!

    No, tried that, it brings up the error _blank is undefined!

    Tom

    "Ville Leivo" <ville.leivokolumbus.fi> wrote in message
    news:3F1E84C0.7040209kolumbus.fi...
    > hmm.. what if you replace it by:
    > MM_goToURL('_blank','filename.asp');return doent.MM_returnValue")
    >
    > -ville
    >
    > Elliott wrote:
    > > Hi,
    > > Why cant I specify a new or blank browser window when usin dreamweaver's
    "Go
    > > To URL" behaivour?
    > >
    > > If i go into the code and replace
    > > "MM_goToURL('parent','filename.asp');return doent.MM_returnValue")
    > > with:
    > > If i go into the code and replace
    "MM_goToURL('blank','filename.asp');return
    > > doent.MM_returnValue")
    > >
    > > It does not work!
    > >
    > > Any ideas??
    > >
    > > Cheers in advance
    > >
    > > Tom
    > >
    > >
    >

    Elliott Guest

  4. #4

    Default Re: Go to URL open in blank window HELP!

    In article <bfm09e$dql$1forums.macromedia.com> , "Elliott"
    <telliottbezier.co.uk> wrote:
    > Why cant I specify a new or blank browser window when usin dreamweaver's "Go
    > To URL" behaivour?
    Why do you need to use JS for this when you can just make a normal link with
    a "_blank" target?

    -- James M. Shook
    [url]http://www.jshook.com[/url]

    James M. Shook Guest

  5. #5

    Default Re: Go to URL open in blank window HELP!

    Because there is no hyperlink for the user to press
    Im attaching the javascript behaivour to the onLoad command inside the body
    tag, so when the page loads, a seperate window will display

    Cheers
    Tom

    "James M. Shook" <james_shookcomcast.net> wrote in message
    news:bfm25a$hdq$2forums.macromedia.com...
    > In article <bfm09e$dql$1forums.macromedia.com> , "Elliott"
    > <telliottbezier.co.uk> wrote:
    >
    > > Why cant I specify a new or blank browser window when usin dreamweaver's
    "Go
    > > To URL" behaivour?
    >
    > Why do you need to use JS for this when you can just make a normal link
    with
    > a "_blank" target?
    >
    > -- James M. Shook
    > [url]http://www.jshook.com[/url]
    >

    Elliott Guest

  6. #6

    Default Re: Go to URL open in blank window HELP!

    In article <bfm3vi$l69$1forums.macromedia.com> , "Elliott"
    <telliottbezier.co.uk> wrote:
    > Im attaching the javascript behaivour to the onLoad command inside the body
    > tag, so when the page loads, a seperate window will display
    Then use the "Open Browser Window" behavior, and attach it to the onLoad
    event in the <body> tag as before.

    -- James M. Shook
    [url]http://www.jshook.com[/url]

    James M. Shook Guest

  7. #7

    Default Re: Go to URL open in blank window HELP!

    try:
    window.open(theLocation,windowName,features)

    or just
    window.open(theLocation,windowName)
    if you dont mind having a standard window opening!

    --

    *****************************

    BULLET
    Studio 5
    Culford House
    01-07 Orsman Road
    London N1 5RA
    +44(0)20 76135324
    [url]www.bulletclip.com[/url]

    *****************************

    "Elliott" <telliottbezier.co.uk> wrote in message
    news:bfm09e$dql$1forums.macromedia.com...
    > Hi,
    > Why cant I specify a new or blank browser window when usin dreamweaver's
    "Go
    > To URL" behaivour?
    >
    > If i go into the code and replace
    > "MM_goToURL('parent','filename.asp');return doent.MM_returnValue")
    > with:
    > If i go into the code and replace
    "MM_goToURL('blank','filename.asp');return
    > doent.MM_returnValue")
    >
    > It does not work!
    >
    > Any ideas??
    >
    > Cheers in advance
    >
    > Tom
    >
    >

    steve Guest

  8. #8

    Default Re: Go to URL open in blank window HELP!

    On Wed, 23 Jul 2003 13:46:45 +0100, "Elliott" <telliottbezier.co.uk>
    wrote:
    >If i go into the code and replace "MM_goToURL('blank','filename.asp');return
    >doent.MM_returnValue")
    >
    >It does not work!
    "MM_goToURL('about:blank','filename.asp');retu rn
    doent.MM_returnValue"


    Gary
    Gary White Guest

  9. #9

    Default Re: Go to URL open in blank window HELP!

    Don't use MM_goToURL

    Use MM_openBrWindow
    Unregistered Guest

Similar Threads

  1. Page_Load not fired when window.open used to load window.
    By Yan-Hong Huang[MSFT] in forum ASP.NET General
    Replies: 7
    Last Post: October 1st, 09:28 PM
  2. New Window Target doesn't open a new window inContribute but does in Firefox
    By toddtemple2 in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: January 8th, 08:36 PM
  3. How do I open a completely blank browser window?
    By cyphyr webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: February 4th, 12:59 PM
  4. Flash Page goes blank with Javascript:window.open() to HTML pages
    By Slideguy webforumsuser@macromedia.com in forum Adobe Flash, Flex & Director
    Replies: 0
    Last Post: November 17th, 11:04 PM
  5. Replies: 5
    Last Post: October 6th, 06:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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