Click to See Complete Forum and Search --> : I have no idea what to call this


Justin
06-02-2003, 02:03 PM
IS there a way to have a function make a table in the center of the page over everything, i am making a game for school and i need a table that poops up with the player who wins name, picture and my winner gif in the center of the screen.
How would i do that?

thanks

Jona
06-02-2003, 02:07 PM
Not sure what you want, first of all I think you meant popups not.. poopups. :D

Anyways, if you'd better explain what you're after, we should be able to provide some help.

Jona

Justin
06-02-2003, 02:11 PM
a poup that is on the page without oppining a nother page
(in page popup)

scriptkid
06-02-2003, 02:13 PM
<div id="youwin" style="position: absolute; left: 100px; top: 100px; visibility: hidden">
<table cellspacing="1" cellpadding="0" border="0" bgcolor="#000000">
<tr>
<td width="200" height="200" align="center" bgcolor="#ff0000"><font color="#ffffff">You Win</font></td>
</tr>
</table>
</div>

Put that somewhere in teh body tag :)

oh yah and to make it pop up...


<input type="button" onclick="youwin.style.visibility: visible">
***EDITED 2x***

Justin
06-02-2003, 02:16 PM
that is exactly what i needed

thankyou very much:D :D :D :D :D :D :D :D

Jona
06-02-2003, 02:18 PM
Whew! I thought you wanted something completely different--but I'm glad it's not what I was thinking you want. :rolleyes:

Jona

scriptkid
06-02-2003, 02:21 PM
well i was thinking maybe a window.modelessDialog or a window.modalDialog would have gotten the job done too but then you would have had an ugly title bar i thinks...not real sure on taht one :-/ so I just went with the div tag

Although I think flash still popups on top of it

brendandonhue
06-02-2003, 03:37 PM
I think Jona thinks you wanted a poop to come down the screen when someone wins :eek:

Jona
06-02-2003, 03:42 PM
:p Not quite, man. :D

Jona

brendandonhue
06-02-2003, 04:01 PM
Oh, thats what I was thinking.