raen_the_vain
03-17-2005, 06:10 AM
hi, i was hoping somebody could help me in finding this code.
i want the code where you can specify the size a window will be when it pops up from clicking on a link, so it is not "re-sizeable".
Thanks for the help! This place rocks my socks!
Skipperkirk
03-17-2005, 06:20 AM
try putting resizable=0 in the code...
raen_the_vain
03-17-2005, 06:22 AM
try putting resizable=0 in the code...
haha thanks, i think i might have to put in a java script code. ended up finded the answer (i hope)!
raen_the_vain
03-17-2005, 06:46 AM
blah i lied i didn't find the answer! tried putting javascript coding in window and just got lost....hope you will still help me even though this is html section!
i want to put the code in with my slices
<!-- ImageReady Slices (copyright.gif) -->
<p align="left">
<img src="images/copyright.gif" width="235" height="12" border="0" alt="" usemap="#copyright_Map">
<map name="copyright_Map">
<area shape="rect" alt="" coords="69, 0, 132, 11" href="monk.htm" target="_blank">
</map>
<!-- End ImageReady Slices -->
so when the link is clicked, the new window opens a set size (eg, 400x400). where does all that scripting go? do i need to put some in the head of the page aswell??
thanks!
Skipperkirk
03-17-2005, 07:08 AM
ok lets see...
i like to use this code (from MagicSun's html website thing...)
im not sure on how to make it no resiable though...
put the script stuff in your <head> tags
<script language="JavaScript">
<!--
function P(url,h,w) { // (url,height,width)
var p = "height=" + h + ",width=" + w + ",scrollbars=yes";
window.open(url,"",p);
} // -->
</script>
<!-- ImageReady Slices (copyright.gif) -->
<p align="left">
<img src="images/copyright.gif" width="235" height="12" border="0" alt="" usemap="#copyright_Map">
<map name="copyright_Map">
<area shape="rect" alt="" coords="69, 0, 132, 11" href="javascript:P('monk.html',400,400)">
</map>
<!-- End ImageReady Slices -->
i added the javascript:P('monk.html',400,400) into the href part...
so that should do the trick :)
skipperkirk
raen_the_vain
03-17-2005, 07:53 AM
so that should do the trick :)
skipperkirk
it did indeed! thank you so much, your good deed for the day has been done!
yay for this place! and yay for eveyone! red cordial and lollies for everyone!! haha....
Skipperkirk
03-17-2005, 11:35 PM
Glad to be of some help :) yeah, LEIA ROCKS! GO LISSA! :D