Which file does the javascript code come from in displayimage.php? Which file does the javascript code come from in displayimage.php?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Which file does the javascript code come from in displayimage.php?

Started by MarianneC, August 26, 2008, 07:28:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarianneC

On this page:

http://useaboston.com/2008a/displayimage.php?album=1&pos=17

in internet explorer,  when you mouseover the main image, the javascript says "Click here to view full size image" -- where is that verbiage coming from?  I need to eliminate it, but I can't find the text.

I should be able to figure this out, but I haven't made any headway on this issue for a bit.

Many thanks,
Marianne

Joachim Müller

The full-size pop-up isn't opening because of this: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#noFullsizePopup

The words "Click here to view full size image" are being defined in your language file, e.g. lang/english.php

The JavaScript bits that compose the link can be overridden by editing themes/yourtheme/theme.php

MarianneC

Thanks Joachim.

I do have that line in my template - but I can see that it isn't showing up in the source for that page.  Any idea why that would occur?

(Meanwhile, I can go look in the language file...)

Marianne

Joachim Müller


MarianneC

Sorry - wrong question.

I understood that the faq is saying that the reason the message comes up is because the javascript functions are not there.

However, that line of code *is* in my template and does show up in the source.  The javascript functions are not happening, however.

That's the part that is confusing to me.

Marianne

Nibbler

Upload a clean copy of scripts.js. You've done something to it to put it all on one line which has stopped it working.

MarianneC

Woo hoo!  Thanks Nibbler.

I have always used ws-ftp, but it is doing something really odd on this server, and I've had to stop using auto, and specify how I want each file transferred.  bizarre.