tubedogg
Sat 4th Aug '01, 5:15pm
By request, here are my pagenav_xxx templates. There's also code that needs to be put in headinclude.
pagenav
<!--Pages ($totalpages): --><b>$firstlink$prevlink$pagenav$nextlink$lastlink</b>
pagenav_curpage
<span class="pagenumstatic">$curpage</span>
pagenav_firstlink
<span class="pagenum"><a href="$address&pagenumber=$curpage">«</a></span>
pagenav_lastlink
<span class="pagenum"><a href="$address&pagenumber=$curpage">»</a></span>
pagenav_nextlink
<span class="pagenum"><a href="$address&pagenumber=$nextpage"></a></span>
pagenav_pagelink
<span class="pagenum"><a href="$address&pagenumber=$curpage">$curpage</a></span>
pagelink_prevlink
<span class="pagenum"><a href="$address&pagenumber=$prevpage"></a></span>
headinclude
.pagenumstatic {
color: #FFFFFF;
background-color: {linkcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:link, .pagenum A:visited, .pagenum A:active {
color: #000088;
background-color: {categorybackcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:hover {
color: #FFFFFF;
background-color: {linkcolor};
text-decoration: none;
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.cat A:link, .cat A:visited, .cat A:active {
color: {linkcolor};
text-decoration: none;
}
.cat A:hover {
color: {hovercolor};
text-decoration: underline;
}
In those templates which use <tr id="cat"> you may need to change that to <tr class="cat"> to ensure that the links work correctly. You can find these by searching for $pagenav in the templates and then looking at each one to see if it also contains <tr id="cat">.
pagenav
<!--Pages ($totalpages): --><b>$firstlink$prevlink$pagenav$nextlink$lastlink</b>
pagenav_curpage
<span class="pagenumstatic">$curpage</span>
pagenav_firstlink
<span class="pagenum"><a href="$address&pagenumber=$curpage">«</a></span>
pagenav_lastlink
<span class="pagenum"><a href="$address&pagenumber=$curpage">»</a></span>
pagenav_nextlink
<span class="pagenum"><a href="$address&pagenumber=$nextpage"></a></span>
pagenav_pagelink
<span class="pagenum"><a href="$address&pagenumber=$curpage">$curpage</a></span>
pagelink_prevlink
<span class="pagenum"><a href="$address&pagenumber=$prevpage"></a></span>
headinclude
.pagenumstatic {
color: #FFFFFF;
background-color: {linkcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:link, .pagenum A:visited, .pagenum A:active {
color: #000088;
background-color: {categorybackcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:hover {
color: #FFFFFF;
background-color: {linkcolor};
text-decoration: none;
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.cat A:link, .cat A:visited, .cat A:active {
color: {linkcolor};
text-decoration: none;
}
.cat A:hover {
color: {hovercolor};
text-decoration: underline;
}
In those templates which use <tr id="cat"> you may need to change that to <tr class="cat"> to ensure that the links work correctly. You can find these by searching for $pagenav in the templates and then looking at each one to see if it also contains <tr id="cat">.