forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: raummusik on July 26, 2004, 01:09:58 pm

Title: inserting a link "next page" at the thumbnails area and formating the pages ?
Post by: raummusik on July 26, 2004, 01:09:58 pm
hi, it seems it's the table_compact , when i view my album it shows at the bottom of the side those numbers of the several pages.. my album got about 20pages and i cant figure out sometime at whcih page i am at the moment. i want to format the page numbers e.g. the "actual" page should have another color. i think i can manage this over the css file by searching for "active" links..
i know only one question at one time but this other question i got belongs to the same area whcih i wanna change atm . i wanna insert a "next page" link so my visitors can just click on "next page" instead of choosing one of the pages itself. any ideas about inserting or formating those page links at the thumbnails area (when i choose an album , then i see the thumbnails and those album pages numbers links) <- those i mean. i tried over the search in here, but didnt found some threads.. hmm. but i think some other people already wanted to change this.

mfg
raum
Title: Re: inserting a link "next page" at the thumbnails area and formating the pages
Post by: Tarique Sani on July 26, 2004, 01:20:25 pm
1) Almost all the themes have a different CSS class for active page tab
2) search the mods / hacks board for the next - previous hack

Yes you are right only one question per thread - next time please comply with the forum rules....
Title: Re: inserting a link "next page" at the thumbnails area and formating the pages
Post by: raummusik on July 27, 2004, 11:20:28 pm
hi,

i tried via ".tableb_compact {"  in the .css file . by adding just ".tableb_compact a:active{  and then defining "bold" oder color and so on . but it didnt worked.. i also tried over the normal "a:active" (would be for all links then) . but also not worked proper.

any ideas ? the next/prev hack worked fine , another member posted a nice thread. phat phat.. ;-) .

hope someone can help me with this css problem .

mfg
raum
Title: Re: inserting a link "next page" at the thumbnails area and formating the pages
Post by: Joachim Müller on July 28, 2004, 08:23:47 am
look for the class "navmenu"...

GauGau
Title: Re: inserting a link "next page" at the thumbnails area and formating the page
Post by: raummusik on August 04, 2004, 01:25:01 am
hi, i looked for navmenu and added the :active  code under the following :

Code: [Select]
.navmenu a {
        position: relative;
        display: block;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
        text-decoration: none;
        color: #FFFFFF;
}

.navmenu a:hover {
        background : #000000 ;
        text-decoration: none;
        color:         #808080;
}

.navmenu a:active {
        background : #000000 ;
        text-decoration: none;
        color:         #808080;
}


now the result is that when i click on a page link while loading the new page it stays this 808080 color.. thats not my goal, i want to see the page link on which im at the moment in a different color ..

at the moment all my page links got the same color.. the one which is active is not click-able .. thats ok .. but it should be in another color .. e.g. #808080 .. when i hover the links then they change to 808080 ...

any ideas how to change the active link color .. it could also be worthless for all active links in the whole gallery, not only the page links (which i wanted first..) . perhaps someone got an idea. i also tried over the normal a links area in the style.css :

Code: [Select]
a {
        color: #FFFFFF;
        text-decoration: none;
}

a:hover {
        color: #808080;
        text-decoration: underline;
}


there i also tried the a:active stuff.. but also not worked... perhaps i did something wrong ?

thx much in advance
raum
Title: Re: inserting a link "next page" at the thumbnails area and formating the pages
Post by: Joachim Müller on August 04, 2004, 12:06:14 pm
try playing with these "pseudo-formats" and change the attributes as needed. As you're german, here's a german link for you: http://de.selfhtml.org/css/eigenschaften/pseudoformate.htm

GauGau
Title: Re: inserting a link "next page" at the thumbnails area and formating the page
Post by: raummusik on August 04, 2004, 07:36:06 pm
finally i found myself a solution (but thx anyway for the selfhtml link) . i changed here :

Code: [Select]
.tableb_compact {
        background: #000000 ;
        color : #808080;
        padding-top: 2px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
}


i just added color : #808080;   in the tableb_compact  ... now finally i got this :

Previous Page  1  2  3  4  30  Next Page

so my visitors can see the "active" page ... this works both well for the gallery's in the categories and for the normal thumbs pages . yihha. ;)

mfg
raum