I working on an improvement to our CMS and had an idea. Our clients view
source on one of our outputted pages and use that HTML to send to THEIR
clients via email. Right now this is a 5 or 6 click process and I'd like to
streamline it on our end.
 
I''d like to have a link which opens a thickbox window containing a textarea
(this part is done and working) containing the source they wish to copy.
While I could stop here and still be a hero, I'd like to offer a button
(inside the modal window) which let's the user click to select all of the
content of the textarea and possibly even copy it to their clipboard
automatically.
 
That last bit doesn't sound all that difficult either, but I'm not sure if I
put the auto-select code in the calling page, or the called page. I'm
calling test.cfm FROM test.html, Please note that all of the other stuff is
working correctly, I'm just not sure where I'd put the "select" code.
 
Does thickbox offer a callback function when the modal window actually
loads? Because that might be the best place for this code.
 
____________________________________
 
Andy Matthews
Senior ColdFusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com <http://www.dealerskins.com/> 
 

<<dealerskinslogo.bmp>>

Reply via email to