Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Thanks! - JS popup window problem
From: Joseph Troha
Date: Wed, 24 Nov 1999 01:40:58 GMT

Thanks for the feedback everyone.

regards,

joe.



Eric Dunham wrote:

> To start with, the basic syntax of the window.open statement is:
> window.open("document.html","windowName","features");
> The "features" include the following="height, width, status, menubar,
> scrollbars, resizable, toolbar, directories"
> When you call these features in the window.open statement, you must not place
> any spaces in between the feature list.
>
> For example,
>
> window.open("mypage.html","my_new_window","scrollbars,height=50,width=50");
>
> This would make a new window called my_new_window with nothing but the
> scrollbars with dimensions of 50x50, containing the file mypage.html.
>
> There are any number of ways that you could open a new window, the most
> popular being the body onLoad event *sigh* :) However, for what you're talking
> about, just use something to the effect of <a href="#"
> onClick="window.open(...)">foo</a> where, of course, the ellipsis signifies the
> arguments that you pass to open(). You may also do it in layers, just use <div>
> and </div> instead of <a> and </a>. I'm sure you can think of many more ways to
> do it...
>
> Additionally, you could write a function such as the following:
> function OpenWin()
> {
> var new_win=window.open("new_win.html", "new_win",
> "toolbar=no,directories=no,menubar=no,width=50,height=50")
> }
>
> And then just call the function like you would any other JS function. Hell, you
> could even pass the page and the window name as parameters if you want all your
> popups to be the same size, such as:
>
> function OpenWin(document,name)
> {
> var new_win=window.open(document,name,
> "toolbar=no,directories=no,menubar=no,width=50,height=50")
> }
> Then call it appropriately.
>
> And one last note...I don't see why anything that you would do in your HTML
> would cause window.open to not function, or did I misunderstand?
>
> Hope that helps, if you need more code or whatever, mail me off list
> brokenatblackhat [dot] net
>
> -Eric
>
> Quoting Joseph Troha <joeatcreativefactory [dot] com [dot] au>:
>
> > hi everyone,
> >
> > Our current flash plug-in detection setup utilises HTML and JS to
> > successfully detect the flash & flash 4.0 plug-in's in both Netscape and
> > IE. This detection system unfortunately does not allow us to initiate a
> > pop up JS window from within the HTML. So we feel that our only hope in
> > initiating a pop-up JS window is from within the plug-in enambled flash
> > button (SWF) that appears as an entry button once the user has
> > successfully obtained flash 4.0.
> >
> > The question is :)
> >
> > Does anyone know (or can I be directed to some source code) of the
> > correct flash "get URL" syntax which will open a new pop up window with
> > no scroll bar, no location bar, no title bar and with a set fixed pixel
> > dimension (ie.760 x 425 pixels) ?
> >
> > Any feedback will be awsome.
> >
> > thanks in adv.
> >
> >
> > regards,
> >
> > joe.
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Joseph Troha
> > Creative Factory
> > Level 3, 30 Inkerman Street
> > StKilda, Melbourne, Australia
> > v> +61 3 9593 8882
> > joeatcreativefactory [dot] com [dot] au
> > www.creativefactory.com.au
> >
> >
> >
> >
> > flasher is generously supported by...
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Streaming Media WEST '99 Conference & Exhibition
> > "The Worlds largest Internet Audio & Video Event"
> > December 7 - 9, San Jose Convention Center, California
> >
> > Reserve your space today at http://www.streamingmedia.com
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > To unsubscribe or change your list settings go to
> > http://www.chinwag.com/flasher or email helpatchinwag [dot] com
> >
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com

--
Joseph Troha
Creative Factory
Level 3, 30 Inkerman Street
StKilda, Melbourne, Australia
v> +61 3 9593 8882
joeatcreativefactory [dot] com [dot] au
www.creativefactory.com.au




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: re: flash: JS popup window proble, Joseph Troha
  Re: FLASH: re: flash: JS popup window pr, Eric Dunham

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]