Developer forum

Forum » Templates » Usage of images for a xslt navigation?

Usage of images for a xslt navigation?


Reply

Hola!

 

I'm currently messing around with the standard xslt dd menu in dynamicweb. One of our customers have requested a top level navigation consisting of images, and the second level simple text.

 

The selector for simple text looks like this:

<xsl:value-of select="@MenuText" disable-output-escaping="yes"/>

 

How am I to get the value of the image selected for "Graphic navigation" on the pages?

 

And does anyone have some template examples i can take a look at?

 

Best regards,

Peter

 

EDIT: Is there a complete referencelist regarding fields available from the pages in the xslt document? 

 

 


Replies

 
Reply

Hi Peter

 

Try reading this blogpost:

http://developer.dynamicweb.dk/Weblog-16918.aspx?action=ShowArticle&ArticleID=162

It tells you how to see the XML for the navigation.

 

Otherwise you problably need to use the following attributes in an image tag:

@Image

@ImageActive

@ImageMouseOver

 

<img src={@Image} alt="{@MenuText}" border="0" />

 

// Dammark

 
Reply

Sweet, thanks Sebastian..

 

/Peter

 

You must be logged in to post in the forum