PDA

View Full Version : For brian's Popup box II (help with some enhancements)



joelu
12-26-2004, 06:58 PM
for brian's popup box II at Dynamic Content section,
it seems that the popup box can be only settle for absolute position.
my question is: is
is there anyway that i can make the popup box appear relatively instead absolute.
something like an absolute position Div tag inside of a relative position Div tag (holder)

please help, thanks

mschat
07-14-2006, 11:21 PM
I too am looking for the same thing....????
-mschat

Jesdisciple
07-15-2006, 01:01 AM
http://www.dynamicdrive.com/dynamicindex11/abox2.htm
Odd. It doesn't do anything for me. I tried adding some code which seemd implied, but all it did was take the errors away. Here is how I have the code as-is:
<html>
<head>
<script type="text/javascript" src="popUp.js"></script>
</head>
<body>
<script>
window.onload=function(){
new popUp(200, 100, 300, 175, "Div", "Put all of your content text in here.<br><br>You can also place HTML code in here too, such as a picture: <img src=\"max.gif\">. Notice how a backslash must proceed every quotation (\") that appears in your HTML content.", "white", "black", "bold 10pt sans-serif", "Title Bar", "navy", "white", "#dddddd", "gray", "black", true, true, true, true, false);
}
</script>
</body>
</html>I did assume the <script src="popUp.js"> tag, because otherwise that file is dormant.