»
AnglaisFran�aisVietnamien

Imprimer - Ouvre la fenêtre d'animation II - JavaScriptBank.com

Version compl�te: jsB@nk » Browser » Window » Ouvre la fenêtre d'animation II
URL: https://www.javascriptbank.com/animated-window-opener-ii.html

Ouvre la fenêtre d'animation II © JavaScriptBank.comAu lieu de se fraye une fenêtre, ce JavaScript l'anime en vue, en l'élargissant horizontalement puis verticalement jusqu'à ce qu'elle remplisse l'écran. Le animation est suffisamment rapide pour ne pas devenir ennuyeux, et le correspondant Liens sont facilement mis en place.

Version compl�te: jsB@nk » Browser » Window » Ouvre la fenêtre d'animation II
URL: https://www.javascriptbank.com/animated-window-opener-ii.html



JavaScript
<SCRIPT language=JavaScript><!-- Begin// Animated Window- By Rizwan Chand ([email protected])// Modified by DD for NS compatibility// Visit http://www.dynamicdrive.com for this scriptfunction expandingWindow(website) {var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes'var heightspeed = 2; // vertical scrolling speed (higher = slower)var widthspeed = 7;  // horizontal scrolling speed (higher = slower)var leftdist = 10;    // distance to left edge of windowvar topdist = 10;     // distance to top edge of windowif (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {var winwidth = window.screen.availWidth - leftdist;var winheight = window.screen.availHeight - topdist;var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)sizer.resizeTo("1", sizeheight);for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)sizer.resizeTo(sizewidth, sizeheight);sizer.location = website;}elsewindow.open(website,'mywindow');}//  End --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<a href="#" onClick="expandingWindow('popup_content.html');return false">JavaScriptBank.com example popup</a><br><input type="button" value="JavaScriptBank.com example popup" onClick="expandingWindow('popup_content.html')"><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->