Quote:
Originally Posted by PoetJA-1975
Thanx - but I've customized the bbcode to fit the style of my forum: ( example).
Is there anyway - you can post what part of the html is changed to include the +/- button?
Jacquii.
|
YouTube:
Code:
<td class="tcat" colspan="2" style="text-align:center">
<span style="float:right;margin-left:5px;cursor:pointer;font-weight:bolder;" title="Increase this video's size" onclick="
if ( this.innerHTML == '+' ) {
this.innerHTML = '-';
this.title = 'Reset video size';
this.parentNode.parentNode.parentNode.parentNode.width=638;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].width=638;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].height=515;
} else {
this.innerHTML = '+';
this.title = 'Increase this video\'s size';
this.parentNode.parentNode.parentNode.parentNode.width=425;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].width=425;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].height=355;
}
">+</span>
<a href="http://www.youtube.com/watch?v=...
Google Video:
Code:
<td class="tcat" colspan="2" style="text-align:center">
<span style="float:right;margin-left:5px;cursor:pointer;font-weight:bolder;" title="Increase this video's size" onclick="
if ( this.innerHTML == '+' ) {
this.innerHTML = '-';
this.title = 'Reset video size';
this.parentNode.parentNode.parentNode.parentNode.width=600;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].width=600;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].height=489;
} else {
this.innerHTML = '+';
this.title = 'Increase this video\'s size';
this.parentNode.parentNode.parentNode.parentNode.width=400;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].width=400;
this.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('object')[0].height=326;
}
">+</span>
<a href="http://video.google.com/videoplay?docid=