Prezhi0usGurL
03-18-2003, 12:21 AM
i have 2 questions:
1. how do u make a window that u can set the width and height??? is there a specific tag or a javascript??? HELP please.. if anyone knows..
2. how do u make a link that when u click on instead of a window popping-out.. an error message pops-out??? does anybody knows how to do that???
HELP.. PLEASE.. THANKS!!!
Love Lots,
Kaisy
starlet
03-18-2003, 12:53 AM
1. http://www.lissaexplains.com/java4.shtml#window
2. I dont understand.
PikaBean32
03-18-2003, 02:06 AM
ok... well... I know a code for a pop-up/error type thingie when you enter the site:
<SCRIPT language="JavaScript">alert("TEXT") </SCRIPT>
and a code for a mouseover pop-up/error thingie:
<a href="" onMouseover="alert('TEXT')">TEXT</a>
I bet if you took out the mouseover part and got:
<a href="alert('TEXT')">TEXT</a>
something like that it might give you a regular link, give it a go...
but.. I also have a pop up button:
<INPUT TYPE="button"
VALUE="TEXT HERE"
onClick='alert("TEXT")'></FORM>
i dunno, thats the best I can do, hope it kinda helped
frederick
03-19-2003, 03:28 AM
ok well..... I really don't understand that second question........ but for the first.... i have written this.
a) i don't understand either. do you want it so YOU can control the size of the windows? or do you want anyone who is visiting your site to be able to adjust the size of the window?
b) i'm going to tell you both.
-- the blue numbers give you controll of the window size.
-- the pink "1" will TURN ON the resizable function.
<script language="javascript">
//<!--
function whatever1 ()
{ window.open ("http://your popup address.html","popup01 "," width= 300 ,height= 300 ,location=0,menubar=0,
resizable= 1 ,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>
<script language="javascript">
//<!--
function something-else2 ()
{ window.open ("http://your next popup address.html","popup02 "," width= 300 ,height= 300 ,location=0,menubar=0,
resizable= 1 ,scrollbars=0,status=0,titlebar=1,toolbar=0") ->
</script>
understand?