Subject: how to put images into my web page like <img src ....
From: Thuy Do <thuy@xxxxxxxxxxxxxx>
Date: Tue, 12 Oct 1999 16:46:13 +1000
|
I am trying to create a link back to the main menu and I like to represent
the link by an image. The full path and name for this image have been
passed when i run my program, it means that this path will be different at
every end users' computer , say it might be c:\icon\mainmenu.gif or
c:\image\main.gif .
I could create a link to the page I want but I can't put the image there.
This is what i got
<A>
<xsl:attribute name='HREF'><xsl:value-of
select='MAINMENULINK'/></xsl:attribute>
-----------this is where i like to have my image to seat on
MAINMENU
</A>
I have try, 'MAINMENU' is the name of the attribute
<A>
<xsl:attribute name='HREF'><xsl:value-of
select='MAINMENULINK'/></xsl:attribute>
<img src="@MAINMENU" width='16' height='16' border='0'> </img>
MAINMENU
</A>
this doesnot seem to work.
Could anyone help me with this, please?
Thanks in advance.
Thuy Do thuy@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|