The text is the full header of an email message, not an url (I could post it but its ugly). It's the length of that header text thats giving me a problem. Actually, I'm playing with it and may be able to do it 'by hand'. What I need now is some font information on alert boxes. What font is used? What size? Is there a 'standard' CSS for it? etc.
The url is the spam-watch program for people to go into and play with. ;) > 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

