can we add a small code in BB forums to upload without leaving the page ?
iframe or something with Javascript,
look at this
and after uploading u r not redirected or popups ,,etc
i found this mod in vbulletin forums
Code: Select all
<!-- easy share -->
<center>
<script type="text/javascript"> <!--
e_bgcolor = "#F5F5FF";
e_text = "#000000";
e_type = "605x55";
e_lang = "en";
//--></script>
<script type="text/javascript" src="http://www.easy-share.com/upload.js"></script>
</center>
<br>
<!-- end of easy share -->
it has this which i did not understood
Code: Select all
function S(){
var b=window;var a=document;var d=a.location;var g=a.referrer;
if (typeof(b.e_type)=='undefined') { b.e_type='605x55' }
if (typeof(b.e_lang)=='undefined') { b.e_lang='en' }
var sizearray=b.e_type.split("x");
var s='http://w13.easy-share.com/<mode>.html?'+b.e_bgcolor+'-'+b.e_text;
s=s.replace(/<mode>/,'u'+b.e_type+'_'+b.e_lang);
if (typeof(b.e_id)!='undefined') { s=s+'-'+b.e_id }
a.write('<ifr'+'ame src="'+s+'" name="uploadsimple" width="'+sizearray[0]+'" height="'+sizearray[1]+'" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no"></iframe>');
}
S();
can someone help ?