Frame Issue[solved]
Posted: Fri Mar 18, 2005 7:14 am
I have 5 frames.
topFrame,leftFrame,rightFrame,bottomFrame,mainFrame
In the leftFrame I have a menu, whereby I send some values through a url to the mainFrame with a $whattodo variable that contains the value of the page I want to load, namely portal.php.
In the portal.php I have this piece of code:
So, as the portal page loads, I want to send the variable menu_items_id to the right frame. But it doesn't work. I am not a javascript guru, so could someone please tell me what I am doing wrong.
topFrame,leftFrame,rightFrame,bottomFrame,mainFrame
In the leftFrame I have a menu, whereby I send some values through a url to the mainFrame with a $whattodo variable that contains the value of the page I want to load, namely portal.php.
In the portal.php I have this piece of code:
Code: Select all
<script language="e;JavaScript"e; type="e;text/JavaScript"e;>
function initializeFilter()
{
parent.framesї'rightFrame'].location = "e;right.php"e;;
parent.framesї'rightFrame'].filterLoad.submit();
}
</script>
<form name="e;filterLoad"e; id="e;filterLoad"e; method="e;post"e; action="e;"e;>
<input name="e;menu_items_id"e; type="e;hidden"e; id="e;menu_items_id"e; value="e;<?php echo $menu_items_id; ?>"e;>
</form>
<body onLoad="e;initializeFilter()"e;>