Popup Window v1 - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Popup Window v1

Description:

'width=400, height=300, left =' leftPos ', top=0') /script ... onMouseout = 'hideWindow( )' src='arrow.gif' /h2 /body /html Try it. Popup Window v4 ... – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 5
Provided by: aberne
Category:

less

Transcript and Presenter's Notes

Title: Popup Window v1


1
Popup 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
2
Popup 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
3
Popup 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
4
Popup 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
Write a Comment
User Comments (0)
About PowerShow.com