• Page 1 of 1
  • 1
Problems to change my pages switchers
Igor-Sousa
Posts: 93
Reputation: 18

Message # 1 | 9:29 PM
Hi,

I'm having some troubles to change my page switchers.
I change them looking at the source code of my website and creating these classes:

Code
.pagesBlockuz1 {}
.swchItemA {text-decoration:none; color:FF00FF; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; border:1px solid #4E7DC6;}
a.swchItem:link {text-decoration:underline; color:#4E7DC6; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; border:1px solid #4E7DC6;}
a.swchItem:active {text-decoration:none; color:#000000; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; border:1px solid #4E7DC6;}
a.swchItem:visited {text-decoration:underline; color:#4E7DC6; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; border:1px solid #4E7DC6;}
a.swchItem:hover {text-decoration:none; color:#000000; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; border:1px solid #4E7DC6;}

The problem is that the code only works when I'm on the Publisher main page and Page with section contents, however, when I'm in the Page with category contents, it doesn't works.

I looked at the source of the Page with section contents and the source of the Page with category contents and found out what the problem is.

  • This is a part of the source of the Publisher main page:
    Quote
    <tr><td colspan="2" style="background:url('/.s/t/932/2.gif') repeat-x; height:30px;"><div style="text-align:center;"><span class="pagesBlockuz1"><b class="swchItemA">1</b> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('2');return false;">2</a> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('3');return false;">3</a> ... <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('13');return false;">13</a> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('14');return false;">14</a> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('2');return false;">Próximo »</a></span></div></td></tr>

  • This is a part of the source of the Page with section contents:
    Quote
    <tr><td colspan="2" style="background:url('/.s/t/932/2.gif') repeat-x; height:30px;"><div style="text-align:center;"><span class="pagesBlockuz1"><b class="swchItemA">1</b> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('2','2');return false;">2</a> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('3','2');return false;">3</a> ... <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('8','2');return false;">8</a> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('9','2');return false;">9</a> <a class="swchItem" href="javascript://" rel="nofollow" onclick="spages('2','2');return false;">Próximo »</a></span></div></td></tr>

  • This is a part of the source of the Page with category contents:
    Quote
    <tr><td colspan="2" style="background:url('/.s/t/932/2.gif') repeat-x; height:30px;"><div style="text-align:center;"><span class="pagesBlockuz1"><b class="swchItemA">1</b> <a href="http://tutoriaisbrasil.ucoz.com/publ/photoshop/montagens/10-2-2" onclick="spages('2','2');return false;">2</a> <a href="http://tutoriaisbrasil.ucoz.com/publ/photoshop/montagens/10-3-2" onclick="spages('3','2');return false;">3</a> <a href="http://tutoriaisbrasil.ucoz.com/publ/photoshop/montagens/10-4-2" onclick="spages('4','2');return false;">4</a> <a href="http://tutoriaisbrasil.ucoz.com/publ/photoshop/montagens/10-2-2" onclick="spages('2','2');return false;">Próximo »</a></span></div></td></tr>

    The links to the next page has the class swchItem, as shown in red and the links in blue, are the common classes.

    But the links to the next page in the Page with category contents do not has the class swchItem, how do I put this class on these links?

    To clarify, look at my site:

  • Publisher main page switcher:
    http://tutoriaisbrasil.ucoz.com/publ

    -

  • Page with section contents switcher:
    http://tutoriaisbrasil.ucoz.com/publ/photoshop/3

    -

  • Page with category contents switcher:
    http://tutoriaisbrasil.ucoz.com/publ/photoshop/montagens/10

    I hope someone can help me and I have been clear.

    Thanks in advance.


    I've made grammar mistakes ?? Google's fault !!

    Time is the most valuable thing a man can spend.

  • Dartz
    Posts: 1931

    Message # 2 | 12:33 PM
    Don't use blue and red. When I must read blue/red my eyes hurt. I use blue myself
    only because I know I wont need to re-read my own post.

    You moved switchers. By original design the ones you modified are at top of the entries
    but now they are at bottom in your website..... You forgot # symbol at .swchItemA and
    do you realise category content switcher is different from two other? It doesn't work like
    two other, it will modify the page you are on and wont modify other links.


    [... With uCoz since December 2 2007 ...]
    Igor-Sousa
    Posts: 93
    Reputation: 18

    Message # 3 | 6:15 PM
    Sorry for your eyes, I mean, sorry for the colors. Thanks for warning about the symbol.

    Quote (Dartz)
    (...) and do you realise category content switcher is different from two other? It doesn't work like two other, it will modify the page you are on and wont modify other links.
    Now I got it, thank you!

    I've made grammar mistakes ?? Google's fault !!

    Time is the most valuable thing a man can spend.

    • Page 1 of 1
    • 1
    Search: