Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Thumbnail roll over?  (Read 2847 times)

0 Members and 1 Guest are viewing this topic.

rctruckz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • RC Truckz
Thumbnail roll over?
« on: May 18, 2006, 12:07:31 pm »

Hi :)

Apart from my other question (sep topic) Im also wondering about this one!..

I downloaded the Meltingfilm theme & noticed it has like a roll-over effect for thumbs, how would i add roll over similar to my gallery?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Thumbnail roll over?
« Reply #1 on: May 18, 2006, 09:44:06 pm »

using a tool like the Web developer toolbar or similar you can easily find out what CSS class is controlling which part of the page. In the case of the thumbnail, it's the class named "image". Looking at the stylesheet for the metlingfilm theme will show you the "rollover" trick: it's a proprietary, Microsoft-only filter. It will only work on Internet Explorer, all other browsers will ignore it. The code in question is
Code: [Select]
filter: progid:DXImageTransform.Microsoft.Shadow(color=#FFFF00,direction=135, strength=5) progid:DXImageTransform.Microsoft.Alpha(Opacity=100);More details on M$-filters can be found here: http://msdn.microsoft.com/workshop/author/filter/reference/filters/basicimage.asp
However, I can't recommend using those filters, as they're proprietary crap. A similar thing applies to the cross-hair mouse cursor - I hat it when sites use that effect without need.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.