i suspect you'll need to write a new function in the soeditor.htc file that
is basically the same as whatever it is calls the image popup, and allow it
to take a parameter for the src.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                            
                    "Giles                                                             
                            
                    Roadnight"           To:     <[EMAIL PROTECTED]>                   
                  
                    <[EMAIL PROTECTED]        cc:                                      
                                 
                    ght.name>            Subject:     RE: [ cf-dev ] So Editor Lite    
                            
                                                                                       
                            
                    03/17/2003                                                         
                            
                    04:17 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    dev                                                                
                            
                                                                                       
                            
                                                                                       
                            



I've now got this working like this:

<a href="javascript:soEditor.insertText('<img
src=\'/images/staticpages/#imageList.name#\'>','',true,true);">Insert
Image</a>

This sticks an image in where the cursor is but does not give any size
options or any of the other things in the image popup box. What I really
want to do is use the image popup but fill the src field in automatically.

The function call for the iamge box is soEditor.image so I may be able to
pass the src in the function call or if I knew the name of the popup window
I could fill in my self (newWindowName.forms[0].fieldname.value = src).

Does anyone know what the window is called or what I have to pass to the
function (I have tried just passing the src).

Thanks


Giles Roadnight
http://giles.roadnight.name


-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED]
Sent: 17 March 2003 14:20
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] So Editor Lite


> Stephen - I think that the image insert bit is only in the
> Pro version isn't it?
>
Nah... Its in the light version too....  Got it working here... ;o)

Now all I need is some image manipulation code/software that
a) runs on RH Linux 7.2
b) doesn't run like a bag of s#1te (ImageMagick)
c) doesn't cause CFMX to return code pages instead of intepreting the page
and sending real content back (JAI Image manipulation)

Stephen



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to