fxwoody
06-22-2011, 09:56 AM
Ok, i'ved been using an imagehost script for a good while now but i'm stuck with an iFrame script
that is added to my editor_toolbar_on for users to upload there images when posting etc etc.
Problem i have is that the actual script works great but instead of opening a new tab for the imagehost, i would like the tab to open in a new floating window, like we can do with
javascript:void(0)' onclick='window.open("http://mywebimageblabla.com/","link","height=450,width=650,scrollbars=yes,status=yes")
but i can't figure out where to had this kind of script to an iFrame!! :(
This is my iFrame script for the editor box
<!-- Imganinarium uploader -->
<div class="blockrow">
<label for="thumbnailurl" class="full">Imaginarium Uploader:</label>
<span id="iframe_uploader"></span>
<script type="text/javascript" src="http://myweb.com/imaginarium/source/includes/scripts/jquery.js"></script>
<script type="text/javascript" src="http://myweb.com/imaginarium/source/includes/scripts/genjscript.js"></script>
<script type="text/javascript">$('#iframe_uploader').html(get_ajax_content("http://myweb.com/imaginarium/index.php?module=iframeupload"));</script><noscript>Your browser does not support Javascript.</noscript>
</div>
<!-- end -->
Anyone with an idea on this????
Would be appreciated a lot :D
that is added to my editor_toolbar_on for users to upload there images when posting etc etc.
Problem i have is that the actual script works great but instead of opening a new tab for the imagehost, i would like the tab to open in a new floating window, like we can do with
javascript:void(0)' onclick='window.open("http://mywebimageblabla.com/","link","height=450,width=650,scrollbars=yes,status=yes")
but i can't figure out where to had this kind of script to an iFrame!! :(
This is my iFrame script for the editor box
<!-- Imganinarium uploader -->
<div class="blockrow">
<label for="thumbnailurl" class="full">Imaginarium Uploader:</label>
<span id="iframe_uploader"></span>
<script type="text/javascript" src="http://myweb.com/imaginarium/source/includes/scripts/jquery.js"></script>
<script type="text/javascript" src="http://myweb.com/imaginarium/source/includes/scripts/genjscript.js"></script>
<script type="text/javascript">$('#iframe_uploader').html(get_ajax_content("http://myweb.com/imaginarium/index.php?module=iframeupload"));</script><noscript>Your browser does not support Javascript.</noscript>
</div>
<!-- end -->
Anyone with an idea on this????
Would be appreciated a lot :D