|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS Stylesheet - Body Unload event
Is it possible to add an Body Unload event inside a CSS Stylesheet??
Code:
<body bgcolor="#000000" onUnload="window.opener.location.reload(true)" 'd like to have the above code in the style below... Code:
body { font-family: Verdana, Arial; color: #000080;
font-size: 8pt; margin-left: 1pt; margin-right: 2pt;
margin-top: 1pt; margin-bottom: 6pt }
|
|
#2
|
|||
|
|||
|
you cant have html inside a css file.
|
|
#3
|
|||
|
|||
|
window.opener.location.reload(true) is Javascript...
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > CSS Stylesheet - Body Unload event |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|