Title: Popup Window v1
1Popup Window v1
Try it
lthtmlgt ltheadgt lttitlegtJavaScript Example2
v1lt/titlegt ltscript type "text/javascript"gt funct
ion popWindow( ) window.open(
"ken_bob_kevin.jpg", "popWin1","width400,
height300") lt/scriptgt lt/headgt ltbodygt lth2gtSe
rious planning session for CS19!
ltimg onMouseover "popWindow( )"
src"arrow.gif"gtlt/h2gt lt/bodygt lt/htmlgt
2Popup Window v2
Try it
lthtmlgt ltheadgt lttitlegtJavaScript Example2
v2lt/titlegt ltscript type "text/javascript"gt funct
ion popWindow( ) leftPos screen.width -
400 window.open( "ken_bob_kevin.jpg",
"popWin1", ? "width400, height300, left "
leftPos ", top0") lt/scriptgt lt/headgt ltbodygt
lth2gtSerious planning session for CS19!
ltimg onMouseover "popWindow( )"
src"arrow.gif"gtlt/h2gt lt/bodygt lt/htmlgt
3Popup Window v3
Try it
lthtmlgt ltheadgt lttitlegtJavaScript Example2
v3lt/titlegt ltscript type "text/javascript"gt funct
ion popWindow( ) leftPos screen.width -
400 newWin window.open( "ken_bob_kevin.jpg",
"popWin1", ? "width400, height300, left "
leftPos ", top0") function hideWindow( )
newWin.close( ) lt/scriptgt lt/headgt ltbodygt
lth2gtSerious planning session for CS19!
ltimg onMouseover "popWindow( )"
onMouseout "hideWindow( )"
src"arrow.gif"gtlt/h2gt lt/bodygt lt/htmlgt
4Popup Window v4
Try it
lthtmlgt ltheadgt lttitlegtJavaScript Example2
v4lt/titlegt ltscript type "text/javascript"gt funct
ion popWindow( ) leftPos screen.width -
400 newWin window.open( "ken_bob_kevin.jpg",
"popWin1", ?"width400, height300, left "
leftPos ", top0") setTimeout("newWin.close(
)",3000) lt/scriptgt lt/headgt ltbodygt lth2gtSerious
planning session for CS19!
ltimg onMouseover "popWindow( )
src"arrow.gif"gtlt/h2gt lt/bodygt lt/htmlgt