Hello list. I having a problem with embedding html graphics in a text field, and I'm not sure that I understand why. I am working with a text field with list behavior, and I am trying to embed an image at the beginning of each line.
I have tried a number of different methods. if I try -
 
put "<p>" into variable1
put "</p>" into variable2
put variable1 & line 1 of fld "Master" and variable2 into fld "Dimension"
 
everything works fine. If I try -
 
put "<img src="javascript:void(0);"11430" & quote & ">  " into variable1
put "</p>" into variable2
put variable1 & line 1 of fld "Master" and variable2 into fld "Dimension"
 
("11430" being the id of the image that I am using), the ability to highlight lines in the text field becomes completely arbitrary, some lines working and others not. 
I have also tried it without quotes, like this -
 
put "<img src="11430> " " into variable1
put "</p>" into variable2
put variable1 & line 1 of fld "Master" and variable2 into fld "Dimension"
 
which produces the same arbitrary results, and also like this -
 
put "<p><img src="folder.gif> " " into variable1 
put "</p>" into variable2
put variable1 & line 1 of fld "Master" and variable2 into fld "Dimension"
 
which also produces the same results, some lines working and others not. Each time that I try it, the lines which work and the ones which do not are different. While I have not included all of the code that is involved, I have made a small stack and recreated the problem in it, and I would be happy to send it to anyone who thinks that they might have a suggestion as to what the problem might be. Thanks for the help.
BEGIN:VCARD
VERSION:2.1
N:;Kevin
FN:Kevin
ORG:Etraffic Solutions, Inc.
TITLE:programmer
NOTE;ENCODING=QUOTED-PRINTABLE:**************************************************************=0D=0AEtraffic=
 Solutions Inc. is a 2001 funding recipient of the=0D=0ACANARIE eLearning fu=
nding. World-recognized CANARIE is Canada's =0D=0AAdvanced Internet Developm=
ent Organization. Etraffic Solutions Inc. =0D=0Ais the project lead of a maj=
or new high technology application =0D=0Athat will transform the way second =
languages are taught online.=0D=0A=0D=0AVisit http://www.etrafficsolutions.c=
om/ for more information!=0D=0A*********************************************=
******************
TEL;WORK;VOICE:1-866-658-8238
TEL;WORK;FAX:1-250-658-5936
ADR;WORK:;;2955 Jutland Suite 102;Victoria;British Columbia;V8T 5J9;Canada
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2955 Jutland Suite 102=0D=0AVictoria, British Columbia V8T 5J9=0D=0ACanada
URL;WORK:http://www.etrafficsolutions.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20011211T223801Z
END:VCARD


Reply via email to