Tema: saitas is 2 langu
Autorius: Donatas Uselis
Data: 2010-01-14 21:38:36
sveiki, turiu 1 toki reikaliuka, reikia kazkokio patikomo kodo.
1 langas yra aktivus ( yra rodomas kitas saitas ) o 2 langas neaktivus . yra
sudeti mano skaitliukai. kodas atrodo taip:


koki turite dar pasiulima? nes sitas ne ant visu narsikliu stabiliai dirba

<script type="text/javascript">

/***********************************************
* Collapsible Frames script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var columntype=""
var defaultsetting=""

function getCurrentSetting(){
if (document.body)
return (document.body.cols)? document.body.cols : document.body.rows
}

function setframevalue(coltype, settingvalue){
if (coltype=="rows")
document.body.rows=settingvalue
else if (coltype=="cols")
document.body.cols=settingvalue
}

function resizeFrame(contractsetting){
if (getCurrentSetting()!=defaultsetting)
setframevalue(columntype, defaultsetting)
else
setframevalue(columntype, contractsetting)
}

function init(){
if (!document.all && !document.getElementById) return
if (document.body!=null){
columntype=(document.body.cols)? "cols" : "rows"
defaultsetting=(document.body.cols)? document.body.cols : document.body.rows
}
else
setTimeout("init()",100)
}

setTimeout("init()",100)

</script>

</head>
<frameset rows="*,0">
<frame src=http://google.lt name="mainwin">
<frame src="skaitliukai.html"  scrolling=no border=0>
</frameset>