|
Post by Bradley on Oct 16, 2004 23:27:24 GMT -5
This will create a pop-up window that can contain a image or some other type of HTML code you include. It is not crossbrowser compatible. Headers<script type="text/javascript" language="javascript">
/* Guest Popup with Image Copyright © 2004-2005 Bradley Nelson a.k.a. CCWorld All Rights Reserved
For use on Proboards Boards only. This Header must remain intact at all times. Do not re-post without permission.
Restriced browser version. */
if (document.getElementsByTagName('td')[2].innerHTML.match(/Welcome/gi)) { //DO NOT EDIT var p=window.createPopup() var pbody=p.document.body
//BEGIN EDITING
//background color of window //use hex color codes pbody.style.backgroundColor="#0099CC"
//window border style pbody.style.border="solid black 2px"
//HTML of the window //edit image URL and other parts here pbody.innerHTML="<img src=\"http://somplace.com/images\it.jpg\" /><br /><font size=\"1\">This is a pop-up. Click outside the pop-up to close.</font>"
//DO NOT EDIT //open window p.show(200,200,400,120,document.body) } </script>The hex color code for the window's background.The complete URL for the image.
|
|