E
E.J.M. Fakkeldij
My problem seems to be more complex than I thought.
I like to open a new window in 'main' instead of 'content'.
The solution provided by Fox does not work in the DIV ID either.
My frameset is:
<frame name="contents" target="main" src="homeLeft.html">
<frame name="main" src="Inhoud.htm" target="_self">
My function is:
<script>
var oPopup = window.createPopup();
function richDropDown()
{
oPopup.document.body.innerHTML = oContextHTML.innerHTML;
oPopupBody = oPopup.document.body;
oPopupBody.style.backgroundColor = "white";
oPopup.show(40, 0, 250, 150, dropdowno);
}
</script>
Mu use is:
<div id="dropdowno" style="etc" >
<span style="etc" >
<img src="../images/driehoekhor.gif"></span></div>
<DIV ID="oContextHTML" STYLE="display:none;">
<div style="etc" >
<DIV onmouseover="this.style.filter='etc"
onmouseout="this.style.filter='';"
STYLE="etc">
<SPAN
ONCLICK="parent.main.location.href='http://www.ic2.com/internet.htm'">
internet<br>
</SPAN>
Does anyone know how to target 'main' in this DIV ID?
I like to open a new window in 'main' instead of 'content'.
The solution provided by Fox does not work in the DIV ID either.
My frameset is:
<frame name="contents" target="main" src="homeLeft.html">
<frame name="main" src="Inhoud.htm" target="_self">
My function is:
<script>
var oPopup = window.createPopup();
function richDropDown()
{
oPopup.document.body.innerHTML = oContextHTML.innerHTML;
oPopupBody = oPopup.document.body;
oPopupBody.style.backgroundColor = "white";
oPopup.show(40, 0, 250, 150, dropdowno);
}
</script>
Mu use is:
<div id="dropdowno" style="etc" >
<span style="etc" >
<img src="../images/driehoekhor.gif"></span></div>
<DIV ID="oContextHTML" STYLE="display:none;">
<div style="etc" >
<DIV onmouseover="this.style.filter='etc"
onmouseout="this.style.filter='';"
STYLE="etc">
<SPAN
ONCLICK="parent.main.location.href='http://www.ic2.com/internet.htm'">
internet<br>
</SPAN>
Does anyone know how to target 'main' in this DIV ID?