Advanced search  

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

Pages: [1]   Go Down

Author Topic: visited thumnail border not showing the :visited color after being visited  (Read 2934 times)

0 Members and 1 Guest are viewing this topic.

Cornetto

  • Coppermine newbie
  • Offline Offline
  • Posts: 9

Description of issue:
In the style.css of our Coppermine installation's theme, thumbnails have been set to have a white border.  The hover color has been set to yellow, and the visited color has been set to red.  When the filmstrip page is enabled, the visited thumbnail border color appears normally (red), but in the gallery configuration in "Thumbnail View", if the setting "Go directly from thumbnail to full-sized image" is clicked on, the "intermediate image / filmstrip" page is disabled and never seen, and if you then use this configuration, the thumbnail white border and the yellow hover color works as expected, but after having clicked on a thumbnail, and then viewing the full-size image, and then subsequently returning to the thumbnail page, the visited thumbnail border color (red) does not appear, it remains white as if never visited.  This issue was observed (and flagged) during multi-browser platform testing (Internet Exploder, Chrome, Firefox, Safari, Opera).

In other words:
If the gallery is configured with the feature "Go directly from thumbnail to full-sized image" turned off, the border color of visited thumbnails displays as expected.

If the gallery is configured with the feature "Go directly from thumbnail to full-sized image" turned on, the border color of visited thumbnails does not display as expected.


Attached please find the zipped style.css file, if there are other files you require to review this odd issue, please let me know
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

The reason is probably the use of JavaScript to open the popup. Not sure how or if this can be fixed.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: visited thumnail border not showing the :visited color after being visited
« Reply #2 on: February 28, 2014, 02:53:55 pm »

If is important to you and is true what Andre says,you can use jquery for visited links:

http://remysharp.com/2008/02/25/visited-plugin/

http://stackoverflow.com/questions/1210871/use-jquery-to-select-visited-links

 hope it does not creates a conflict with JavaScript to open the popup.
Logged
Pages: [1]   Go Up
 

Page created in 0.063 seconds with 19 queries.