targeting in frame

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,268
Latest member
AshliMacin

Latest Threads

Top