Dark RevenantX
04-10-2005, 09:19 PM
Why is HTML disabled in every forum except for the freespace refugee camp? I don't see why I can type a Javascript thing like <table bgcolor=#dfdfdf border=0 cellpadding=0 cellspacing=0 style="border-top:1px solid #000000;border-bottom:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;"><tr bgcolor=#aaaaaa><td align=center><font size=1 face="verdana,arial"><b>Mouse over the arrows to scroll through images. Click a thumbnail to zoom to full-sized image.</b></font></td></tr><tr><td>
<script language="JavaScript1.2">
//<!--
var sliderwidth=600;
var sliderheight=155;
var slidespeed=8;
var timerDelay=20;
slidebgcolor="#eaeaea";
var animatetime;
var topRow='';
var bottomRow='';
var copyspeed=slidespeed;
var actualwidth='';
var actualheight='';
var cross_slide, ns_slide;
function jNull(){}
function stopanimation(){
window.clearInterval(animatetime);
}
function fillup(){
cross_slide=document.getElementById? document.getElementById("slidingGallery") : document.all.slidingGallery;
cross_slide.innerHTML=leftrightslide;
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth;
if (actualwidth==0) actualwidth=5000;
}
function startslideleft(){
if (cross_slide){
stopanimation();
animatetime=setInterval("slideleft()",timerDelay)
}
}
function startslideright(){
if (cross_slide){
stopanimation();
animatetime=setInterval("slideright()",timerDelay)
}
}
function slideleft(){
if (parseInt(cross_slide.style.left)>(-actualwidth+sliderwidth)){
cross_slide.style.left=parseInt(cross_slide.style. left)-copyspeed+"px"
}else stopanimation();
}
function slideright(){
if (parseInt(cross_slide.style.left)<0){
cross_slide.style.left=parseInt(cross_slide.style. left)+copyspeed+"px"
}else stopanimation();
}
htmlCode='<table><tr><td align=center><img src="http://www.villagephotos.com/images/spacer.gif" width=135 height=1><br><a href="javascript:jNull();"><img src="http://thumbs.villagephotos.com/12220393.jpg" border=0 onclick="scrollGalleryImage.src=\'http://img.villagephotos.com/p/2005-3/969604/thefinalfinal1.gif\';return false;"></a></td><td align=center><img src="http://www.villagephotos.com/images/spacer.gif" width=135 height=1><br><a href="javascript:jNull();"><img src="http://thumbs.villagephotos.com/12220426.jpg" border=0 onclick="scrollGalleryImage.src=\'http://img.villagephotos.com/p/2005-3/969604/thefinalfinal2.jpg\';return false;"></a></td><td align=center><img src="http://www.villagephotos.com/images/spacer.gif" width=135 height=1><br><a href="javascript:jNull();"><img src="http://thumbs.villagephotos.com/12220427.jpg" border=0 onclick="scrollGalleryImage.src=\'http://img.villagephotos.com/p/2005-3/969604/thefinalfinal3.jpg\';return false;"></a></td></tr><tr><td valign=top align=center><font face="verdana,arial" size=2>Image #1</td><td valign=top align=center><font face="verdana,arial" size=2>Image #2</td><td valign=top align=center><font face="verdana,arial" size=2>Image #3</td></tr></table>';
leftrightslide=htmlCode;
document.write('<span id="temp" style="visibility:hidden; position:absolute;top:-10000px;left:-10000px;">'+ htmlCode +'</span>');
with (document){
write('<table border="0" cellspacing="0" cellpadding="0"><tr>');
write('<td bgcolor="#333333" onmouseover="startslideright();" onmouseout="stopanimation();"><font color=#ffffff face="comic,arial"><b><<</b></font></td>');
write('<td width=' + sliderwidth + '>');
write('<div id="divwrap" style="position:relative;width:'+ sliderwidth +'px;height:'+sliderheight+'px;overflow:hidden;bac kground-color:'+slidebgcolor+';border-top:1px solid #000000;border-bottom:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;" onMouseover="stopanimation()">');
write('<div id="slidingGallery" style="vertical-align: middle;position:absolute;left:0px;top:0px"></div>');
write('</div>');
write('</td>');
write('<td bgcolor="#333333" onmouseover="startslideleft();" onmouseout="stopanimation();"><font color=#ffffff face="comic,arial"><b>>></b></font></td>');
write('</tr></table>');
}
window.onload=fillup;
//-->
</script>
</td></tr><tr><td align=center><img name="scrollGalleryImage" src="http://img.villagephotos.com/p/2005-3/969604/thefinalfinal1.gif" border=1 vspace=5 hspace=5></td></tr><tr bgcolor=#aaaaaa><td align=center><font size=1 face=verdana><b>Image Hosting and Pure Javascript Scrolling Zoom Gallery by <a href="http://www.villagephotos.com" target="_new">VillagePhotos.com</a></b></font></td></tr></table>
in the freespace forum but not in the other forums. If one is going to be on, why not have all of them on?
I don't mean to be offensive, but what is with this?
<script language="JavaScript1.2">
//<!--
var sliderwidth=600;
var sliderheight=155;
var slidespeed=8;
var timerDelay=20;
slidebgcolor="#eaeaea";
var animatetime;
var topRow='';
var bottomRow='';
var copyspeed=slidespeed;
var actualwidth='';
var actualheight='';
var cross_slide, ns_slide;
function jNull(){}
function stopanimation(){
window.clearInterval(animatetime);
}
function fillup(){
cross_slide=document.getElementById? document.getElementById("slidingGallery") : document.all.slidingGallery;
cross_slide.innerHTML=leftrightslide;
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth;
if (actualwidth==0) actualwidth=5000;
}
function startslideleft(){
if (cross_slide){
stopanimation();
animatetime=setInterval("slideleft()",timerDelay)
}
}
function startslideright(){
if (cross_slide){
stopanimation();
animatetime=setInterval("slideright()",timerDelay)
}
}
function slideleft(){
if (parseInt(cross_slide.style.left)>(-actualwidth+sliderwidth)){
cross_slide.style.left=parseInt(cross_slide.style. left)-copyspeed+"px"
}else stopanimation();
}
function slideright(){
if (parseInt(cross_slide.style.left)<0){
cross_slide.style.left=parseInt(cross_slide.style. left)+copyspeed+"px"
}else stopanimation();
}
htmlCode='<table><tr><td align=center><img src="http://www.villagephotos.com/images/spacer.gif" width=135 height=1><br><a href="javascript:jNull();"><img src="http://thumbs.villagephotos.com/12220393.jpg" border=0 onclick="scrollGalleryImage.src=\'http://img.villagephotos.com/p/2005-3/969604/thefinalfinal1.gif\';return false;"></a></td><td align=center><img src="http://www.villagephotos.com/images/spacer.gif" width=135 height=1><br><a href="javascript:jNull();"><img src="http://thumbs.villagephotos.com/12220426.jpg" border=0 onclick="scrollGalleryImage.src=\'http://img.villagephotos.com/p/2005-3/969604/thefinalfinal2.jpg\';return false;"></a></td><td align=center><img src="http://www.villagephotos.com/images/spacer.gif" width=135 height=1><br><a href="javascript:jNull();"><img src="http://thumbs.villagephotos.com/12220427.jpg" border=0 onclick="scrollGalleryImage.src=\'http://img.villagephotos.com/p/2005-3/969604/thefinalfinal3.jpg\';return false;"></a></td></tr><tr><td valign=top align=center><font face="verdana,arial" size=2>Image #1</td><td valign=top align=center><font face="verdana,arial" size=2>Image #2</td><td valign=top align=center><font face="verdana,arial" size=2>Image #3</td></tr></table>';
leftrightslide=htmlCode;
document.write('<span id="temp" style="visibility:hidden; position:absolute;top:-10000px;left:-10000px;">'+ htmlCode +'</span>');
with (document){
write('<table border="0" cellspacing="0" cellpadding="0"><tr>');
write('<td bgcolor="#333333" onmouseover="startslideright();" onmouseout="stopanimation();"><font color=#ffffff face="comic,arial"><b><<</b></font></td>');
write('<td width=' + sliderwidth + '>');
write('<div id="divwrap" style="position:relative;width:'+ sliderwidth +'px;height:'+sliderheight+'px;overflow:hidden;bac kground-color:'+slidebgcolor+';border-top:1px solid #000000;border-bottom:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;" onMouseover="stopanimation()">');
write('<div id="slidingGallery" style="vertical-align: middle;position:absolute;left:0px;top:0px"></div>');
write('</div>');
write('</td>');
write('<td bgcolor="#333333" onmouseover="startslideleft();" onmouseout="stopanimation();"><font color=#ffffff face="comic,arial"><b>>></b></font></td>');
write('</tr></table>');
}
window.onload=fillup;
//-->
</script>
</td></tr><tr><td align=center><img name="scrollGalleryImage" src="http://img.villagephotos.com/p/2005-3/969604/thefinalfinal1.gif" border=1 vspace=5 hspace=5></td></tr><tr bgcolor=#aaaaaa><td align=center><font size=1 face=verdana><b>Image Hosting and Pure Javascript Scrolling Zoom Gallery by <a href="http://www.villagephotos.com" target="_new">VillagePhotos.com</a></b></font></td></tr></table>
in the freespace forum but not in the other forums. If one is going to be on, why not have all of them on?
I don't mean to be offensive, but what is with this?