I need the html/java code for the wiget that allows users to change the forum width
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<select id="body_font"><option value="1000px">1000px</option><option value="500px">500px</option></select> <input type="button" onClick="setWidth(document.getElementById('body_font').value)" value="Change Width" />
<script type="text/javascript">
function setWidth(val) {
document.getElementById('main').style.width = val;
my_setcookie('body_width', val, true);
}
if(my_getcookie('body_width')) setWidth(my_getcookie('body_width'));
</script>
<select id="body_font"><option value="1000">1000px</option><option value="500">500px</option></select> <input type="button" onClick="setWidth(document.getElementById('body_font').value)" value="Change Width" />
<script type="text/javascript">
function setWidth(val) {
document.getElementById('wrap').style.width = val+'px';
my_setcookie('body_width', val, true);
}
if(my_getcookie('body_width')) setWidth(my_getcookie('body_width'));
</script>
jQuery(document).ready(function(){
jQuery("#posaljiwidth").click(function(){
var a=eval(document.getElementById("selektwidth").value);
var b=0;
jQuery("table.bodylinewidth").animate({width:a},800, "linear");
if(a==1000){b=1;}
if(a==1100){b=2;}
if(a==1200){b=3;}
if(a==1300){b=4;}
if(a==1400){b=5;}
setKuki('bodylinewidthkuki',b,365);
});
});
Topic Solved & Locked |