<***** SRC="http://misusedmayhem.com/sc/ssm.js" language="Java*****1.2"> //Dynamic-FX slide in menu v6.5 (By maXimus, http://maximus.ravecore.com/) //Updated July 8th, 03' for doctype bug //For full source, and 100's more DHTML *****s, visit http://www.dynamicdrive.com <***** SRC="http://misusedmayhem.com/sc/ssmItems.js" language="Java*****1.2"> <***** type="text/java*****"> /* FUNCTION TO GET ELEMENTS WITH TAG/ATTRIBUTE/VALUE */ function getElementsByAttribute (tag, attr, value, stopat) { var re; var foundels; var iFound; var sAttrValue; checkels = document.getElementsByTagName(tag); foundels = new Array(); for (el = 0; el < checkels.length; el++) { sAttrValue = checkels[el].getAttribute(attr, 2); re = new RegExp(value, "ig"); if (re.test(sAttrValue) != 0) { iFound = foundels.push(checkels[el]); if (stopat > 0 && iFound >= (stopat)) { el = checkels.length; } } } return foundels; } /* END FUNCTION TO GET ELEMENTS WITH TAG/ATTRIBUTE/VALUE */ <***** type="text/java*****"> /* BEGIN EZURL */ ezURL = document.location.href.match("http:\/\/((?:pub|b|p)([0-9]+)|beta|vanchau|inbox)\.ezboard\.com\/(b|f)([a-zA-Z0-9]+(?=frm[0-9]+)|[a-zA-Z0-9]+(?!frm[0-9]+))(frm[0-9]+|)(?:(?:[\.]{1})([a-zA-Z0-9\=\+\&\.]+)|)(?:(?:[\x3F]{1})([a-zA-Z0-9\=\+\&\.]+)|)(?:.*)"); try { if (ezURL.length > 0) { ezPub = ezURL[2].length > 0 ? ezURL[2] : ezURL[1]; ezFullPub = ezURL[1]; ezIsBoard = ezURL[3] == "b" ? true : false; ezBoardID = ezURL[4]; ezForum = ezURL[5]; ezPage = ezURL[6]; ezQuery = ezURL[7]; } } catch (e) { } ezURL = null; /* END EZURL */ <***** type="text/java*****"> /* EZINBOX ALERT FUNCTION */ // call with true for a popup window and with false for a java***** OK alert function inboxalert(bWindow) { for (al = 0; al < document.links.length; al++) { if ( document.links[al].href.match(".boardRedirectToInboxServer|.showInBoxFolder") ) { if (document.links[al].parentNode.innerHTML.match("NEW!")) { x = document.links[al].parentNode.innerHTML.match("([0-9]+) NEW!")[1]; if (!bWindow) { alert(x + " new messages!"); } else { inbox = window.open("","","height=40,width=260,status=no,toolbar=no,address=no"); inbox.document.write("

You have " + x + " new messages...
go to ezInbox

"); } } } } } /* END EZINBOX ALERT FUNCTION */

Savage City
   > Police Department

 
New Topic
Login | Register Your Free Account (Required) | Search | Help | Find Communities! Need help logging in?

1 visitor in the last 15 minutes: 0 Members - 1 Guest - 0 Anonymous

  Topic Replies Last Comment Started By

New Topic

icon legend:
Closed threads - cannot reply to these posts Closed Topics
Unread messages New messages

jump to:
Misused Mayhem Productions

Buttons


Affiliates

<***** type="text/java*****"> /* QUICK REPLY by phalen180 */ /* copyright 2005 phalen180 Please email serverfund at geke.net for info on how to donate to keep the G E K E . N E T ezboard ***** archive going */ if ( document.location.href.indexOf(".showMessage") != -1 || document.location.href.indexOf(".showPrevMessage") != -1 || document.location.href.indexOf(".showNextMessage") != -1 || document.location.href.indexOf(".deleteSingle") != -1) { /* Comment the lines below out or change the value to false to assume that we will NOT include personal photo or signature, or use emoticons or to show a link to the emoticon list or to hide the subject box */ // For the following options // use 0 for never, // 1 for always, // 2 to show checkbox (unchecked), // 3 to show checkbox (checked) includePersonalPhoto = 1; includeSignature = 1; useEmoticons = 3; convertLinks = 3; stayInTopic = 2; showPreview = 2; linkEmoticonList = false; /* use "text" for plain text, "html" for HTML and "choose" to show a dropdown */ // postType = "html"; // postType = "text"; // postType = "choose"; postType = "ezcodes"; showSubjectBox = true; subjectSize = 50; messageCols = 60; messageRows = 4; /* UNCOMMENT THIS ONE TO USE THE ORIGINAL STYLE */ // addReplyButton = document.getElementsByName("addreplybutton").item(1); /* UNCOMMENT THIS ONE TO USE A TEXT ADD/REPLY BUTTON */ // foundels = getElementsByAttribute("a", "href", ".showAddReplyScreenFromWeb?", 0); // addReplyButton = foundels[foundels.length - 1].childNodes[0]; /* UNCOMMENT THIS ONE TO USE AN IMAGE ADD/REPLY BUTTON */ addReplyButton = getElementsByAttribute("img", "alt", "Add Reply", 2)[1]; QRCell = addReplyButton.parentNode; while ( QRCell.nodeName != "TR" ) { QRCell = QRCell.parentNode; } QRCell = QRCell.getElementsByTagName("td").item(0); QRForm = document.createElement("form"); QRForm.method = "post"; QRForm.action = addReplyButton.parentNode.href.replace(".showAddReplyScreenFromWeb", ".addReplyFromWeb"); QRForm.name = "PostMessage"; QRSubject = document.createElement("input"); QRSubject.value = document.title.replace(" - www.ezboard.com", ""); QRSubject.id = "quickreplysubject"; QRSubject.name = "subject"; if ( showSubjectBox ) { QRSubject.type = "text"; QRSubject.className = "inputbox"; QRSubject.maxLength = 60; QRSubject.size = subjectSize; QRSubject.tabIndex = 3; QRSubject.style.marginRight = "3px"; } else { QRSubject.type = "hidden"; } QRBody = document.createElement("textarea"); QRBody.rows = messageRows; QRBody.cols = messageCols; QRBody.id = "quickreplybody"; QRBody.className = "inputbox"; QRBody.value = ""; QRBody.name = "body"; QRBody.tabIndex = 4; QRSubmit = document.createElement("input"); QRSubmit.type = "submit"; QRSubmit.className = "inputbutton"; QRSubmit.id = "quickreplysubmit"; QRSubmit.value = "Quick Reply"; QRSubmit.tabIndex = 5; QRCell.align = "right"; QRCell.appendChild(QRForm); /* Uncomment the commented lines to add labels for the two boxes */ // QRForm.appendChild(document.createTextNode("Subject: ")); QRForm.appendChild(QRSubject); QRForm.appendChild(QRSubmit); // QRForm.appendChild(document.createElement("br")); // QRForm.appendChild(document.createTextNode("Message: ")); QRForm.appendChild(document.createElement("br")); QRForm.appendChild(QRBody); QRForm.appendChild(document.createElement("br")); if (postType != "choose") { QRpt = document.createElement("input"); QRpt.type = "hidden"; QRpt.name = "postType"; QRpt.value = postType; QRForm.appendChild(QRpt); } else { QRpt = document.createElement("select"); QRpt.name = "postType"; QRpt.appendChild(QRSelection("text", "Plain Text")); QRpt.appendChild(QRSelection("ezcodes", "EZ Codes")); QRpt.appendChild(QRSelection("html", "HTML")); QRForm.appendChild(QRpt); } if ( includeSignature > 0) { QRForm.appendChild(QROption("includeSignature","Include custom signature.", includeSignature)); } if ( includePersonalPhoto > 0) { QRForm.appendChild(QROption("includePersonalPhoto","Include personal photo.", includePersonalPhoto)); } if ( useEmoticons > 0 ) { QRForm.appendChild(QROption("emoticons","Use Emoticons.",useEmoticons)); } if ( convertLinks > 0 ) { QRForm.appendChild(QROption("convertLinks","Convert URL links.",convertLinks)); } if ( stayInTopic > 0) { QRForm.appendChild(QROption("stayInTopic","Stay in topic", stayInTopic)); } if ( showPreview > 0) { QRForm.appendChild(QROption('preview','Preview', showPreview)); } if ( linkEmoticonList && ezFullPub != "") { eListLink = document.createElement("a"); eListLink.href = "http://" + ezFullPub + ".ezboard.com/b" + ezBoardID + ".showEmoticonsHelp"; eListLink.target = "_blank"; eListLink.innerHTML = "complete emoticon list"; QRForm.appendChild(document.createElement("br")); QRForm.appendChild(eListLink); } } function QROption(sName, sLabel, iShowState) { if ( iShowState > 0 ) { QROpt = document.createElement("span"); QROpt.id = "span" + sName; QRCheckBox = document.createElement("input"); QRCheckBox.name = sName; QRCheckBox.id = sName; QRCheckBox.value = "on"; if ( iShowState > 1 ) { QRCheckBox.type = "checkbox"; // checkbox label QRCheckBoxLabel = document.createElement("label"); QRCheckBoxLabel.htmlFor = sName; QRCheckBoxLabel.innerHTML = sLabel; if ( iShowState > 2 ) { QRCheckBox.defaultChecked = true; } QROpt.appendChild(QRCheckBox); QROpt.appendChild(QRCheckBoxLabel); } else { QRCheckBox.type = "hidden"; QROpt.appendChild(QRCheckBox); } return QROpt; } } function QRSelection(sOption, sDisplay) { QRSel = document.createElement("option"); QRSel.innerHTML = sDisplay; QRSel.value = sOption; return QRSel; } /* END QUICK REPLY */ <***** type="text/java*****"> /* HIDE ICON LEGEND ON MAIN PAGE */ if (ezIsBoard) { allTables = document.getElementsByTagName("table") ; for (at=0; at < allTables.length; at++) { if (allTables[at].innerHTML.toLowerCase().indexOf(" <***** type="text/java*****"> /* LAUNCH EZINBOX ALERT FUNCTION */ inboxalert(true); /* END LAUNCH EZINBOX ALERT FUNCTION */

Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.