Simon wrote:
> function OpenNewswin(fForceOpen) {
>
> if(MyCookie.Read("newsdisabled")!="yes") {
> if( (MyCookie.Read("newstoday")!="yes") || (fForceOpen) )
> { window.open( "info_offline.htm", "PopupNews",
>
"location=no,status=no,toolbar=no,menubar=no,width="+iWidth+",height="
+iHeig
> ht)
> MyCookie.Write('newstoday','yes',1);
> }
> }
> }
------------------------------
no vzdyt jsem napsal co tam musi byt. no tak dobre, vyse uvedena fce
otevreni okna se upravi na:
function OpenNewswin(fForceOpen) {
if(MyCookie.Read("newsdisabled")!="yes") {
if( (MyCookie.Read("newstoday")!="yes") || (fForceOpen) )
{ window.open( "info_offline.htm", "PopupNews",
"location=no,status=no,toolbar=no,menubar=no,scrollbars="+iscrollbars+
",width="+iWidth+",height="+iHeight)
MyCookie.Write('newstoday','yes',1);
}
}
}
a nebo primo do metody open objektu window zapsat 'scrollbars=yes',
prip. 'scrollbars=1', konkretne:
window.open( "info_offline.htm",
"PopupNews","location=no,status=no,toolbar=no,menubar=no,scrollbars=ye
s",width="+iWidth+",height="+iHeight)
BTW. 'miluji' pop up reklamy pri vstupu na stranku :(((
- h! -
http://hyneklipa.cz/
This archive was generated by hypermail 2.1.3 : 18. 08. 2003, 11:15 CEST