This topic was locked 3rd Apr 08 at 10:21pm by Michael |
dog199200 Guest | [F] Signature Iframe (3rd Apr 08 at 4:08am UTC) | | because suggestion ain't open i guess with wil have to do, um can i please get a code that will turn the data thats in a signature into an iframe (like the code tag does) when the information in it is big enough to stretch the forum? | |
|
Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 33 Joined:
Additional Groups: Coding Team
  
pmwww | Re: Signature Iframe (3rd Apr 08 at 4:22am UTC) | |  Code: - <script type="text/javascript">
- <!--
- /* Auto-Scroll Sig by Cr0w */
-
- var td = get('td','tag');
- for(t=0;t<td.length;t++){
- if(td[t].className == "post signature"){
- td[t].style.width = (vf_width*0.8);
- td[t].style.overflowX = "auto";
- }
- }
- //-->
- </script>
Untested; global footers. | |
rroll.to— Shorten a link, rickroll your friends. |
|
dog199200 Guest | Re: Signature Iframe (3rd Apr 08 at 4:56am UTC) | | not working
| |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Signature Iframe (3rd Apr 08 at 11:26am UTC) | | try:
<script type="text/javascript"> <!-- /* Auto-Scroll Sig by Cr0w & Wrighty! =P */
var td = get('td','tag'); var w = (vf_width * 0.8) + 'px';
for(t=0;t<td.length;t++){ if(td[t].className == "post signature"){ var d = document.createElement('div'); d.style.cssText = "width: "+w+"; overflow-x: auto;"; d.appendChild(td[t].firstChild.nextSibling); td[t].appendChild(d); } } //--> </script>
Global Footer
@Marc => Had to append a Div with the image in it! ^.^ Strangely that's the way I would have done it from the start. Not sure if your way would have worked or not! | |
|
dog199200 Guest | Re: Signature Iframe (3rd Apr 08 at 10:18pm UTC) | | ty | |
|