[Solved]: Navigation Bar [Solved]: Navigation Bar
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Navigation Bar

Started by nova-bossa, May 05, 2004, 03:26:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nova-bossa

hello!

i have a problem:
the navigation bar to navigate in an album through the thumbnail pages shows only the number of the present page. the links to the other pages work but you can't see the page numbers. i found the error on the source code:

it is:
Quote<td align="center" valign="middle" class="tableb_compact">1</td><td><img src="images/spacer.gif" width="1" height="1"></td>
<td align="center" valign="middle" class="navmenu"><a href="thumbnails.php?album=6&page=2"2</a></td>

but it should be:
Quote<td align="center" valign="middle" class="tableb_compact">1</td><td><img src="images/spacer.gif" width="1" height="1"></td>
<td align="center" valign="middle" class="navmenu"><a href="thumbnails.php?album=6&page=2">2</a></td>

but i don't know where to change this!

here my album:
http://nova-bossa.anyxhost.com/H-photos/digital/thumbnails.php?album=6&page=1

Casper

It is in your theme.php, and should be this;

EOT;
// Template used for tabbed display
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
    'tab_header' => '',
    'tab_trailer' => '',
    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1"></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1"></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"<b>%d</b></a></td>' . "\n"
    );
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

nova-bossa


njdirt

I've spent hours searching for that little arrow thing.  Thank you very much! :)

frankyknife

Hi!
i just wondered why there is the width specified with a double %% ???

see the first line:
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",

can someone explain this to me? cause if i put in a normal 100% it wont work!


...and if i want to specify the height there it wont be recognized. the table is still the same height!? STRANGE...!
i hope you get it, thx!

franky

kegobeer

You can't specify the height of a table.  Height isn't a table attribute.  As for the double %: the percent sign is an operator, so in order to print it, you double it up.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots