I have recreated the image loop and insert function for the Smiley's and am using it to insert other images I have stored on our server. I got all that working great. We also have our own upload function that we already have and does everything we need.
I have edited the Image popup so that it now contains our stock images and our own upload page. On that upload page there are two iframes. One is the uploader, and the other is for viewing the images. I can get it all to view just fine however, I want to be able to insert the images with the command like the smiley's insert function. This is in an iframe beacuse the iframe needs to be a jsp for our java. Our FCKeditor code is all in Javascript. We need to be able to convert the insert smiley code into our java loop so that we can insert it from the iframe and close the popup. The reason is because the variables to specify the uploaded images is all in java. The command in the <TD> is a javascript. We would just like to know how to either pass the java variable to the javascipt or we need the java function that is equivelent to the javascript insertsmiley function.
Thank you in advance!
I have edited the Image popup so that it now contains our stock images and our own upload page. On that upload page there are two iframes. One is the uploader, and the other is for viewing the images. I can get it all to view just fine however, I want to be able to insert the images with the command like the smiley's insert function. This is in an iframe beacuse the iframe needs to be a jsp for our java. Our FCKeditor code is all in Javascript. We need to be able to convert the insert smiley code into our java loop so that we can insert it from the iframe and close the popup. The reason is because the variables to specify the uploaded images is all in java. The command in the <TD> is a javascript. We would just like to know how to either pass the java variable to the javascipt or we need the java function that is equivelent to the javascript insertsmiley function.
Thank you in advance!