xml - Using Position() in a blog roll to work on every page -
currently using following xslt code:
<xsl:if test="position() = 3"> <div> <object data="/frontpage_blogroll_center_top_728x90" type="text/html" width="735" height="95" style="overflow:hidden; width: 738px; height: 100px"><xsl:comment /></object> </div> </xsl:if>
i'm using "position() = 3" position ad in blog roll, works first page not subsequent pages. (ie ?page=2 ?page=3 etc) there anyway work pages?
<xsl:if test="position() = 3 + ($numberofposts * number($pagenumber - 1))"> <div> <object data="/frontpage_blogroll_center_top_728x90" type="text/html" width="735" height="95" style="overflow:hidden; width: 738px; height: 100px"><xsl:comment /></object> </div> </xsl:if>
just wanted post answer
Comments
Post a Comment