victory1
Full Member
Posts: 102
victory1 said 0 great things
|
Post by victory1 on Mar 15, 2010 3:48:13 GMT -8
Believe it or not, I tweaked the memberpop code to come up with registerpop code and to my astonishment it worked; I was surprised when it actually worked since I don't know anything about javascript! Of course that was with the help of Google search and Todge's 'Pop-up' for a new member code. Anyway, I need help tweaking it. It now shows up when someone click's register and of course right after registration before they sign in and activate their account. Could you help me to make it not show up the 1st time but right after registration like the 2nd time. I'm not storing a cookie for registerpop since I'm actually using Todge memberpop code to tell new members about my Book Club and the registerpop is only triggered by hitting the register button. If you need to test it, you can test it on my Test Board on my signature since both scripts are there and no activation e-mail necessary for registration <div id="registerpop" style="position: absolute; top: 50px; middle: 100px; overflow: auto; display: none;">
<table width="250px" cellpadding="4" cellspacing="1" align="center" class="bordercolor"> <tr> <td class="titlebg" width="100%" colspan="2" align="center">
<font size=2><b>Thanks for Registering!</B></font> </td> </tr> <tr> <td width="100%" class="windowbg2" vAlign="top" align="center"> <font size=2>Please take a few minutes and introduce yourself in the Introduction Board after registration. In order for us to evolve into something significant, your participation is greatly appreciated. Please try to contribute by answering a thread or even starting one yourself. Lack of activity will kill a forum in it's infancy!<br></br> <p> <font color="#980000">Click anywhere in the box to navigate away from this message!</font></p></font> </td> </tr> </table>
</div>
<script type="text/javascript"> if(document.location.href.match(/ion=register/i)) document.getElementById("registerpop").style.display=""; document.getElementById('registerpop').onclick = function(){this.style.display = 'none';} </script>
|
|
|
Post by Wormopolis on Mar 15, 2010 7:00:29 GMT -8
if(document.location.href.match(/ion=register2/i))
|
|
victory1
Full Member
Posts: 102
victory1 said 0 great things
|
Post by victory1 on Mar 15, 2010 9:41:14 GMT -8
if(document.location.href.match(/ion=register2/i)) That worked. Thanks
|
|
|
Post by Wormopolis on Mar 15, 2010 15:26:37 GMT -8
excellent!
|
|