<!-- display search box at the top of the page (the search box is always present even if no search was attempted) -->
<xsl:if test="$searchBoxLocation='TOP' or $searchBoxLocation='BOTH'">
<div class="xsltsearch_form">
<input name="search" type="text" class="input">
<xsl:attribute name="value">
<xsl:value-of select="$unescapedSearch"/>
</xsl:attribute>
</input>
<xsl:text> </xsl:text>
<input type="submit" class="submit">
<xsl:attribute name="value">
<xsl:value-of select="$dictionaryButton-Search"/>
</xsl:attribute>
</input> </div>
</xsl:if>
-------------------------------------------------
css for the above xslt is referred from XSLTsearch.css .. but i can't find class submit and input in the Xsltsearch.css. but it is used in the xslt above...
Check the documentation, there's sample css provided but not for the input and submit classes. Just add those yourself to any of your existing or new css files and you're good to go.
css in XSlt Search
Hi doug,
in XSLTsearch.xslt
<!-- display search box at the top of the page (the search box is always present even if no search was attempted) -->
<xsl:if test="$searchBoxLocation='TOP' or $searchBoxLocation='BOTH'">
<div class="xsltsearch_form">
<input name="search" type="text" class="input">
<xsl:attribute name="value">
<xsl:value-of select="$unescapedSearch"/>
</xsl:attribute>
</input>
<xsl:text> </xsl:text>
<input type="submit" class="submit">
<xsl:attribute name="value">
<xsl:value-of select="$dictionaryButton-Search"/>
</xsl:attribute>
</input>
</div>
</xsl:if>
-------------------------------------------------
css for the above xslt is referred from XSLTsearch.css .. but i can't find class submit and input in the Xsltsearch.css. but it is used in the xslt above...
Check the documentation, there's sample css provided but not for the input and submit classes. Just add those yourself to any of your existing or new css files and you're good to go.
Cheers,
/Dirk
Ho dirk
I got it.. thank u
is working on a reply...