Problem with Frames JavaScript and variables
I don't feel like giving the why I need this but here it is:
This works:
Code:
<html>
<head>
<title>Knowledge Forum Project</title>
<script Language=JavaScript>
var strFrameCols = "10%,*"
</script>
</head>
<frameset rows = "10%,*,15%" border=0>
<frame name = "fraHeader" src = "http://www.altavista.com" scrolling=no>
<frameset cols = "10%,*">
<frame name = "fraSideNav" src = "Navig.htm">
<frame name = "fraMain" src = "" scrolling=yes>
</frameset>
<frame name = "fraBottNav" src = "Navig.htm" scrolling=auto>
</frameset>
</html>
but when I replace "10%,*" with strFrameCols, which has the same value, the page screws up. WHY?
Oh yeah I'm using IE 5.50 in WinME.