View Full Version : Is there a way HTMLize a string?
rich.peters
02-24-2006, 03:07 PM
I need to put some text into an html link to send an html email. Is there a way to expand a string so it converts a string to valid html?
thanks
Rich
kinook
02-24-2006, 05:09 PM
I'm not exactly sure what you looking for, but perhaps something like this would work:
<html>
<head>
<title>My page title</title>
</head>
<body>
<p>Here is my message with <a href="xyz.html">a link</a>.</p>
</body>
</html>
rich.peters
02-24-2006, 08:08 PM
if
%LINK% = "file:\\\c:\program files\path with spaces"
this snippet
<html>
<head>
<title>My page title</title>
</head>
<body>
<p>Here is my message with <a href="%LINK%">a link</a>.</p>
</body>
</html>
doesnt expand into a usable link...
kinook
02-27-2006, 11:38 AM
Attached is one way (uses project script code based on www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=43806&lngWId=1).
rich.peters
02-27-2006, 12:10 PM
Wow,
thanks, thats just what I needed.
A newbie question... where is that vb script stored in the bld file? I dont see it stored in the script?
thanks
Rich
kinook
02-27-2006, 12:27 PM
http://www.visualbuild.com/Manual/?scripteditor.htm
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.