HTML syntax

Kenneth Brody kenbrody at bestweb.net
Tue Dec 13 10:17:24 PST 2005


Quoting Enrique Arredondo (Tue, 13 Dec 2005 09:56:09 -0800):

> Dear fileprolist subscribers,
>
> I need to generate the following HTML code using filepro and what it
> does is shows an anchor that has displays the thumnail of a picture
> and once you click over it , it will show the High-Res picture. However
> I can't get the anchor to work:
>
>
> <td>
> <a href=/jpg/engines/DA03/atkda03-1.jpg>
> <img width=100 height=100
> src=/jpg/engines/DA03/tnailatkda03-1.jpg></img>
> </a>
> </td>
[...]
>        Then: html id :im :sr
> "/jpg/engines/"{1{"/tnailatk"{pn{"-"{ii{".jpg"
> :at
[...]
> It won't compile when I use this line instead of 89:
[...]
>        Then: html id :an :im :sr
> "/jpg/engines/"{1{"/tnailatk"{pn{"-"{ii{".jpg" :at

Anchors don't have image attributes.  You give the anchor an HREF
to the hi-res image, and then within the anchor, create an IMG tag,
just as you did in the sample HTML you included at the top.

    html id :an :hr "/jpg/engines/etc..."  ' hi-res
    html id :im :sr "/jpg/engines/etc..."  ' thumbnail
    html id :an-

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list