PDA

View Full Version : Text Pop Up



Luckyrare
09-04-2005, 08:40 PM
Heya
Now... I Used to have this code. I Lost it xP

Okay
I Want a pop up 450 x 350

Not Linking from a image. Just Plain Text :)

Thanks!

splintercell!
09-04-2005, 10:07 PM
I would recomend not using one! They mess your site up in Fire Fox and other browers..

-JT-
09-04-2005, 10:17 PM
with service pack 2 it will make iExplorer stop responding...

Luckyrare
09-04-2005, 10:18 PM
Ummmmm, Shall I Just Target it into a a new window? But I Want A Nice Size xP

-JT-
09-04-2005, 10:25 PM
i would recomend NO popup

Luckyrare
09-04-2005, 10:31 PM
Ummmmmmmm... Give me the code anyway. Ill do some testing.

Mentor
09-04-2005, 10:43 PM
if you target a new windwo, u can use javacsript to resize the window when its open.
but u wouldnt be able to do it with onload

Luckyrare
09-04-2005, 10:46 PM
Ahhhh... Javascript

Yeah. Whats the code to resize it? :)

Mentor
09-04-2005, 11:18 PM
Ahhhh... Javascript

Yeah. Whats the code to resize it? :)



<script language=JavaScript>
<!--
function resizeOuterTo(w,h) {
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
top.outerWidth=w;
top.outerHeight=h;
}
else top.resizeTo(w,h);
}
}
//-->
</script>


and to make it work, add in to the body tag, so its



<body onLoad="resizeOuterTo(600,450)">


athogh u can put any size u wnat in there, and that wil be teh windows size.

u just jam that in whatevr page needs resiving

Want to hide these adverts? Register an account for free!