how do i combine tinyMCE with the /cutenewsru/index.php?mod=images mod?
i have the code:
- Code: Select all
function fileBrowserCallBack(field_name, url, type, win) {
// This is where you insert your custom filebrowser logic
alert("Example of filebrowser callback: field_name: " + field_name + ", url: " + url + ", type: " + type);
// Insert new URL, this would normaly be done in a popup
win.document.forms[0].elements[field_name].value = "someurl.htm";
}
function myCustomFileBrowser(field_name, url, type, win) {
// Do custom browser logic
win.open('http://pctech.tigerboard.co.il/cutenewsru/index.php?mod=images&area', 'ImageBrowser', 'width=300,height=200,scrollbars=yes,status=yes,location=no,resizable=yes,dependent');
}
in the <script> tag. its working- but -its just keeping sending me into the cutenewsru/index.php?mod=images mod ,without the option to actually insert the image into the post?
what can i do to ?


