ghostsquad
01-28-2007, 06:23 AM
My site uses a "tab" structure to simulate frames to allow background music to play without interruption. It doesn't have much content, which is why its ok if it all loads the first time you visit.
I'm already using projectseven's equal col height script for when the page loads, but the function won't dynamically change the heights even if I include it in the "onclick" event.
here's how the tabs work (note, the page never really changes)
onclick="showPanel(1);" onmouseover="hover(this);" onmouseout="setState(1)"
showPanel() shows the appropriate one, and hides the rest.
here's what happens on page load:
<script type="text/javascript">
window.onload=function(){
P7_equalCols2(0,'left_col','P','right_col','P');
showPanel(1);
}
</script>
anyone know of any scripts that will analyze the heights and change them on an "onclick" event?
I'm already using projectseven's equal col height script for when the page loads, but the function won't dynamically change the heights even if I include it in the "onclick" event.
here's how the tabs work (note, the page never really changes)
onclick="showPanel(1);" onmouseover="hover(this);" onmouseout="setState(1)"
showPanel() shows the appropriate one, and hides the rest.
here's what happens on page load:
<script type="text/javascript">
window.onload=function(){
P7_equalCols2(0,'left_col','P','right_col','P');
showPanel(1);
}
</script>
anyone know of any scripts that will analyze the heights and change them on an "onclick" event?