basically, this part would go into your styles area...above the meta tag stuff...
<!-- Pop Up-->
<script language=javascript>
<!--
function showforumrules(newin) {
flyout=window.open(newin,"flyout","resizeable=no,s crollbars=no,toolbar=no,width= 400,height=360,top=50,left=190")
}
// -->
</script>
than, the next part would be something like this, added where you would want a form button basically.....(can use image to...not just a button, so it could go in your main menu of your forums)
<form>
<input type="button" name="Submit" value="Rules" onclick="showforumrules('misc.php?s=$session[sessionhash]&action=showforumrules&forumid=$forumid')">
</form>
Im thinking your missing something though, because getinfo uses a $userinfo[userid] at the end of the script, and $forumid by itself doesnt look rite....
|