Forum Width Adjuster
Page 1 of 1
Forum Width Adjuster
Hi
I was supposed to send this as a private message to Yeezus but there's no Send button appearing. Anyway, here's the code for phpBB3.
Change #wrap to #phpbb if I got the wrapper code wrong. Add in that thing in a widget, also, about your query in Forumotion. You can just follow erchima's post about hiding widgets or simplify it to this by adding this code in your HTML page.
For left:
For right (In your case):
Regards,
Pizza Boi
I was supposed to send this as a private message to Yeezus but there's no Send button appearing. Anyway, here's the code for phpBB3.
- Code:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#pizzawidth").click(function(){
var a=Number(document.getElementById("muchsalt").value);
var b=0;
jQuery("#wrap").animate({width:a},1100, "linear");
if(a==1200){b=1;}
if(a==1300){b=2;}
if(a==1350){b=3;}
if(a==1400){b=4;}
if(a==1500){b=5;}
if(a==1600){b=6;}
if(a==1700){b=7;}
});
});
</script>
<center>
<div style="text-align: center;"><input type="submit" value="Set" id="pizzawidth" /><select id="muchsalt">
<option selected="selected">1200</option>
<option>1300</option>
<option>1350</option>
<option>1400</option>
<option>1500</option>
<option>1600</option>
<option>1700</option>
</select>
</div>
</center>
Change #wrap to #phpbb if I got the wrapper code wrong. Add in that thing in a widget, also, about your query in Forumotion. You can just follow erchima's post about hiding widgets or simplify it to this by adding this code in your HTML page.
For left:
- Code:
<style type="text/css">#left { display:none }</style>
For right (In your case):
- Code:
<style type="text/css">#right { display:none }</style>
Regards,
Pizza Boi
Pizza Boi- Posts : 70
Contribution : 93
Reputation : 6
Warning :
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|