inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Mar 20, 2013 12:34:19 GMT -8
I'm trying to create an alert box like the one that pops when you click on the "participated" button. Everything works fine and looks great until I declare the position of the box "fixed" then it just disapears off the screen and I can't find.
Here is what my code looks like.
var box = '<div id="alert_box" class="container ui-widget ui-corner-all" style="position: fixed; width: 45%; margin-top: 50px; align: center; z-index: 2000; background-color: rgba(51, 0, 0, 0.5); border-radius: 5px 5px 5px 5px; border: 0 none; font-size: 1em; padding: 15px;">' + '<div class="title-bar">' + '<h2><center>Alert!</center></h2>' + '</div>' + '<div class="content cap-bottom"><center></br>'+alert+'</br></br><button id="alert_accept">Accept</button></div>' + '</div>';
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 25, 2013 5:13:37 GMT -8
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Mar 27, 2013 11:47:53 GMT -8
Okay, well that simplifies things
|
|