...

View Full Version : How do I make a link open into a new full screen window?



ble073
02-26-2004, 11:32 PM
Using Animated Link Box by Website Abstraction. My page is in 3 seperate panels with scroll bars. When a link is opened it opens within the left panel (1/3 page size). How do I make that link open into a full screen within a browser? Heres a few lines of the code:

form name="take" >
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><select name="take2" size="5" style="width:200px">
<option value="http://www.java-scripts.net">Java-Scripts.net</option>
<option value="http://www.wsabstract.com">Website Abstraction</option>
<option selected value="http://www.dynamicdrive.com">Dynamic Drive</option>
<option value="http://www.webmonkey.com">Webmonkey</option>
<option value="http://www.freewarejava.com">Freewarejava.com</option>
</select>

<script>

glenngv
02-27-2004, 08:38 AM
You mean you're using frames and you want the page to open without frames?

If correct, then change this line:

window.location=document.take.take2.options[document.take.take2.selectedIndex].value

to:

top.location=document.take.take2.options[document.take.take2.selectedIndex].value;

or

window.open(document.take.take2.options[document.take.take2.selectedIndex].value, "_top");



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum