Home | Pop Window Demo |
Pop Window v1.0 costs 15 CRedits. Buy & download it. Requirements: php.
First example using IFRAME: function PopIframe($link, $name, $url, $title, $w=500, $h=500, $resize=1, $scroll=1, $center=1, $top=10, $left=10)
Second example using INLINE: function PopInline($link, $name, $content, $title, $w=500, $h=500, $resize=1, $scroll=1, $center=1, $top=10, $left=10)
Third example using AJAX: function PopAjax($link, $name, $url, $title, $w=500, $h=500, $resize=1, $scroll=1, $center=1, $top=10, $left=10)
Fourth example using DIV: function PopDiv($link, $name, $divid, $title, $w=500, $h=500, $resize=1, $scroll=1, $center=1, $top=10, $left=10)
Fifth example using regular JavaScript to popup a window: function PopJS($link,$name,$url,$title,$width,$height)
$link = clickable link text to display
$name = a unique name to be used to each pop link
$url or $content = external file to load or content to be used (ajax must be in same domain)
$title = title to be displayed in caption
$w and $h = width and height of opening window
$resize = 0/1 if window can be resized
$scroll = 0/1 if iframe displays automatic scroll bars
$center = 1 if window opens at screen center or...
$top, $left = upper left corner window position (if $center=0)
Files: pop-window.php, pop-window.htm, js/dhtmlwindow.js, js/dhtmlwindow.css and some small pics in pix/*.*