Images when setting the htmlText of a field

Ray Horsley Ray at LinkIt.Com
Thu Jan 14 20:05:48 EST 2010


I believe you're right.  I hadn't noticed that line break.

Thanks,

Ray

On Jan 14, 2010, at 12:11 PM, Michael Kann wrote:

> Works for me here on XP. Maybe a linebreak invaded your URL, as one  
> did in the email.
>
> This works:
>
> on mouseUp
> put fld 1 into v                // your HTML text
> set the htmlText of fld 2 to v // text and image appear correctly
> end mouseUp
>
> --- On Thu, 1/14/10, Ray Horsley <Ray at LinkIt.Com> wrote:
>
>> From: Ray Horsley <Ray at LinkIt.Com>
>> Subject: Images when setting the htmlText of a field
>> To: "Use Revolution" <use-revolution at lists.runrev.com>
>> Date: Thursday, January 14, 2010, 3:45 PM
>> Greetings,
>>
>> I've tried setting the htmlText of a fld to this html
>> (below) both URL encoding the image path and by leaving in
>> plain text (with spaces).  Neither way displays the
>> image.  Nonetheless, if I save this as a file and open
>> it in Explorer or Safari (on my Mac) the image is displayed
>> perfectly.  Any ideas what I'm doing wrong?
>>
>> Thanks,
>>
>> Ray Horsley
>> LinkIt! Software
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
>> Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd 
>> ">
>> <html xmlns="http://www.w3.org/1999/xhtml" >
>> <head>
>>     <title>Untitled Page</title>
>> </head>
>> <body>
>> <span class="class1"><b>The volume of a marble
>> is 1.8 cubic centimeters <img
>> src="http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20B
>> ank/Science/Grade%205%20QTI/SCI%20G5%20P4/images/mml1738861.png"
>> /> Which of
>> these tools determines density?</b></span>
>> </body>
>> </html>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage
>> your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list