Heads up folks. If you use this, the pagenums at the bottom of the category or product pages, they will float up behind your categories or products and no CSS will fix that. However, I have a solution,
but it only works when usecsslayout=true.
If you are comfortable editing your ECT script, open inc/incbodyformat2.asp/php page and scroll to the very bottom. The last 7 lines of code will look like this:
if iNumOfPages>1 AND nobottompagebar<>TRUE then
if usecsslayout then print "<div class=""pagenums"" style=""width:100%"">" & vbCrLf else print "<tr><td colspan=""" & productcolumns & """ align=""center"" class=""pagenums""><p class=""pagenums"">"
print writepagebar(CurPage,iNumOfPages,xxPrev,xxNext,pblink,nofirstpg)
if usecsslayout then print "</div>" & vbCrLf else print "</p></td></tr>"
end if
if usecsslayout then print "</div>" else print "</table>"
if defimagejs<>"" then print "<script type=""text/javascript"">"&defimagejs&"</script>"
(sorry, don't have the php version, but it should be obvious)
You need to get the pagenums outside of the class="categories" and class="products" division. TO do this, switch these lines:
if usecsslayout then print "</div>" else print "</table>"
if iNumOfPages>1 AND nobottompagebar<>TRUE then
if usecsslayout then print "<div class=""pagenums"" style=""width:100%"">" & vbCrLf else print "<tr><td colspan=""" & productcolumns & """ align=""center"" class=""pagenums""><p class=""pagenums"">"
print writepagebar(CurPage,iNumOfPages,xxPrev,xxNext,pblink,nofirstpg)
if usecsslayout then print "</div>" & vbCrLf else print "</p></td></tr>"
end if
if defimagejs<>"" then print "<script type=""text/javascript"">"&defimagejs&"</script>"
The part of the script in red has to be below the line
if usecsslayout then print "</div>" else print "</table>"
and above the line
if defimagejs<>"" then print "<script type=""text/javascript"">"&defimagejs&"</script>"
And that will solve the problem if you are using a CSS layout. You can still edit the CSS of the pagenums as usual.
MarshallCENLYT Productions - ms designs
Affordable Web Design
Cenlyt.com
From Our Heart
FromOurHeart.com
Gifts, Plush Stuffed Animals, Toy, Games, Puzzles, 3D Gift Cards, Nostalgic Signs, and Collectibles