You should be able to add newlines (\n) to break up the string.  Since
it's a URL, you might have to muck about finding a space near your line
length limit to insert the newline.

-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 7:12 PM
To: CF-Talk
Subject: OT Javascript popups and CF


OK, the spam-watch is going great and the UI is coming together
(http://www.houseoffusion.com/spam/pop.cfm). The only problem is with a
JS popup. I'm using this code:
    [<a
href="javascript:alert('#JSStringFormat(HTMLEditFormat(header))#')">Show
Headers</A>]
to cause the message header (coming from CFPOP) to be loaded into an
alert box. The HTMLEditFormat() and JSStringFormat() are to format the
header properly for inclusion in the JS and for display. The problem is
one of size. A large header will not be loaded into a JS alert() which
means I need to create the popup window myself. I like the way that the
alert shows the header both in size and font. When I create my own popup
it always looks kind of ugly, large and bulky. Does anyone know how to
either stuff more into an alert or to create a popup with the same
'look' as an alert? Thanks

Michael Dinowitz
Finding the technical solutions whether you need it or not


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to