Post by stinky666 on Dec 31, 2004 21:45:10 GMT -5
Can u go do another test post on my forum please, can u do 4, can u make a new thread in my test boad, just saying something as short as hi, and then reply to that thread saying something like "testing code" a pretty long word, then do the same in any other board......Like the announcements, i dont think members can make a new thread, so just reply to the newest thread, or just post in another board....
Ive taken ur drop down rate code off to see if that solves it, and im going to post it here so i dont forget it ok......
Please dont lock or delete this thread:
Ive taken ur drop down rate code off to see if that solves it, and im going to post it here so i dont forget it ok......
Please dont lock or delete this thread:
<script language="javascript" type="text/javascript">
<!--
/*
Rate Icons Drop Down
Copyright © 2004 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.
*/
var RateReplace = new Array()
var RateURL = new Array()
var RateWords = new Array()
//RateReplace is the word in the censorded words list
RateReplace[0] = "rate1";
//RateURL is the URL of the image
RateURL[0] = "http://img.photobucket.com/albums/v365/stinky666/terrible2.gif";
//RateWords is the text for the drop down and the image alt for preview
RateWords[0] = "Terrible (1/8)";
RateReplace[1] = "rate2";
RateURL[1] = "http://img.photobucket.com/albums/v365/stinky666/notbad2.gif";
RateWords[1] = "Not Bad (2/8)";
RateReplace[2] = "rate3";
RateURL[2] = "http://img.photobucket.com/albums/v365/stinky666/noob2.gif";
RateWords[2] = "Noob (3/8)";
RateReplace[3] = "rate4";
RateURL[3] = "http://img.photobucket.com/albums/v365/stinky666/mediocre2.gif";
RateWords[3] = "Mediocre (4/8)";
RateReplace[4] = "rate5";
RateURL[4] = "http://img.photobucket.com/albums/v365/stinky666/average2.gif";
RateWords[4] = "Average (5/8)";
RateReplace[5] = "rate6";
RateURL[5] = "http://img.photobucket.com/albums/v365/stinky666/verygood2.gif";
RateWords[5] = "Very Good (6/8)";
RateReplace[6] = "rate7";
RateURL[6] = "http://img.photobucket.com/albums/v365/stinky666/excellent2.gif";
RateWords[6] = "Excellent (7/8)";
RateReplace[7] = "rate8";
RateURL[7] = "http://img.photobucket.com/albums/v365/stinky666/superior2.gif";
RateWords[7] = "Superior (8/8)";
// NO EDIT
var pic = '<a id="RLink" name="RLink" href=""><img border ="0" style="display: none;" src="" alt="Image" id="RPreview" name="RPreview" /></a>';
if(location.href.indexOf("=post")!=-1 || location.href.indexOf("=createpoll")!=-1 || location.href.indexOf("=modify")!=-1 || location.href.indexOf("=imsend")!=-1) {
var TD = document.getElementsByTagName("TD");
for(t=0;t<TD.length;t++) {
if(TD[t].width=="23%" && TD[t].innerHTML.match("Message:")) {
var NewTable = document.createElement("table");
NewTable.insertRow(0).insertCell(0).appendChild(TD[t+1].childNodes[0]); var Setup;
for(d=0;d<RateReplace.length;d++) {
Setup += '<option value="'+d+'">'+RateWords[d]+'</option>'; }
var RHead = '<select name="RateDDList" onchange="javascript:change_RDDL(this.form)" id="RateDDList">';
NewTable.rows[0].insertCell(1).innerHTML+=RHead+Setup+'</select><br /><br />'+pic;
NewTable.rows[0].cells[1].vAlign="top"; NewTable.rows[0].vAlign="top"
NewTable.vAlign="top";
TD[t+1].innerHTML = ""; TD[t+1].appendChild(NewTable);}}}
function change_RDDL(form) {
var RPreview = document.getElementById("RPreview");
var RateDDList = document.getElementById("RateDDList");
var c = RateDDList.value; RPreview.style.display = "block";
RPreview.src = RateURL[c]; RPreview.alt = RateWords[c];
RLink.href = "javas"+"cript:ad"+"d('"+RateReplace[c]+"')"; }
//-->
</script>