Connecting Tech Pros Worldwide Help | Site Map

targeting in frame

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 11:23 AM
E.J.M. Fakkeldij
Guest
 
Posts: n/a
Default targeting in frame

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?


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.