[b] Sample of popup window[/b]
<">[b][url=http://h1.ripway.com/babybrattgurl/d0cument.window()]SAMPLE CLICK ME[/url][/b]
:idea: Now you can open a simple window, also this function can have different features of that window to appear.
Syntax
window.open([url], [Window Name], [Feature List], [Replace]);
Feature List:
[quote]
Property Default value Description
width auto specifies width of the new window in pixels
height auto height of the window in pixels
top auto specifies window position
left auto specifies window position
directories no should the directories bar be shown? (Links bar)
location no specifies the presence of the location bar
resizable no specifies whether the window can be resized.
menubar no specifies the presence of the menu bar
toolbar no specifies the presence of the toolbar
scrollbars no specifies the presence of the scrollbars
status no specifies the presence of the statusbar[/quote]
for specified popup window
<">[b][url=http://h1.ripway.com/babybrattgurl/specifiedpopup.open()]SAMPLE CLICK ME[/url][/b]
Fullscreen popup window
The fullscreen parameter is supported only by Internet Exploer browser.
If you need to open fullscreen popup window in all browsers you need to use this modified function:
All browsers fullscreen popup window
<">[url=http://h1.ripway.com/babybrattgurl/fullscreenpopup.open()]SAMPLE CLICK ME[/url]
Centered popup window
To open new popup window in the middle of the screen we should know the size of a window and resolution of the screen. On the basis of these data, we will calculate values for the top-left corner.
<">[b][url=http://h1.ripway.com/babybrattgurl/centeredpopup.open()]SAMPLE CLICK ME[/url][/b]
:midfinger: [b]you can easily copy paste t0 ur FS pr0file or add t0 ur JS EXT.. enj0i em..[/b]
Last edited by Ephemeral (2007-12-12 01:16:12)