picinfo: Display/Hide File Information Error picinfo: Display/Hide File Information Error
 

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

picinfo: Display/Hide File Information Error

Started by freesouljah, January 31, 2006, 05:18:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

freesouljah

For some reason when the picinfo button in the navbar is clicked nothing happens...

for now I have the info displayed by default, because otherwise there would be no other way to see it:

http://www.staticfiends.com/photos/displayimage-112-8.html



here is the code from my eyeball theme.php:

    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";


and theme.inc.php :
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
                </td>


thanks
;D

Tranz

Your theme looks customized. Does it work with the default theme?

next time, try to use a more "work safe" example.

freesouljah

#2
yeah...it works with the classic theme:

http://www.staticfiends.com/photos/displayimage-80-29.html

but in my custom theme it give a javascript error: object expected... ???


ps I edited the original post w/ a more 'work safe' example ;)

freesouljah

nevermind...I figured out that the path to the scripts.js file was wrong...thats what was causing the error...

thanks for the help anyway  8)