Fld image

Chipp Walters chipp at chipp.com
Wed Dec 8 10:13:11 EST 2004


Of course the imgsource prop works, but I prefer using HTMLtext

try setting the htmltext of a fld to:

"<p><a href="doThis"><img src="fred.png"></a></p>"

You should have an img "fred.png" on your card somewhere
then in the field script put:

on linkClicked pWhich
   switch pWhich
   case "doThis"
      --> DO STUFF HERE
   break
end linkClicked

Now when you click the image in the field, it fires off the 'doThis' 
case statement.

Simon Lord wrote:
> I have seen a few posts about embedding images into a text fld, but now 
> that I need to actually do this myself I'd like to know if any samples 
> or articles exist on the topic.
> 
> I need to embed an image into a fld and have 2 or 3 lines of text 
> aligned to the right side of it (may need to place two flds side by 
> side?).  The crux here though is to make the images clickable.
> 
> Sincerely,
> Simon
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
> 


More information about the metacard mailing list