...

View Full Version : Tell a Friend Script



Spadge
07-02-2003, 08:30 PM
Hi

I'm new to java script but I've implemented the Tell a Friend Script http://javascriptkit.com/script/script2/tellafriend.shtml in my website at http://www.skiathomaniacs.org.uk and it works just fine.

But.... Can anybody tell me if it is possible to format the email body text so I can have line breaks in there.

e.g. can i have
this
this
and this

instead of
this this and this :confused:

Any help greatly appreciated,

Thanks

Spadge

arnyinc
07-02-2003, 09:04 PM
Insert %0D%0A into your initialmsg.

var initialmsg="Hi,%0D%0AYou may want to check out this site: "+window.location

rsci
07-02-2003, 09:46 PM
Starting another thread is frustrating to those trying to help you...

You need to 'escape' the entire email message.
Yes %0D%0A is a carriage return but you also need to escape spaces %20.

See original thread for more.

beetle
07-02-2003, 09:50 PM
This tool (http://www.webreference.com/js/column70/3.html) will help you make "link-friendly" email messages.

Spadge
07-02-2003, 11:39 PM
Hi Guys

Thanks for your replies & help, can you point me to the "original" thread? Tried a search.

Thanks again

Spadge

beetle
07-03-2003, 12:37 AM
Originally posted by rsci
Starting another thread is frustrating to those trying to help you...How can someone (Spadge) with only two posts, both in this thread, have another thread somewhere else?

http://www.codingforums.com/search.php?s=&action=finduser&userid=8413

/me confused :confused:

rsci
07-03-2003, 04:06 PM
My apologies... I was incorrect it just so happens that the following post:

http://www.codingforums.com/showthread.php?postid=113860#post113860

and Spadges were only 2 posts apart (2 messages down) on yesterday's listing.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum