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: Image lightning effects on mouse roll-over  (Read 6097 times)

0 Members and 1 Guest are viewing this topic.

ainarade

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 21
    • Ainara Delgado Tristan Oficial Website
Image lightning effects on mouse roll-over
« on: May 22, 2010, 12:33:52 am »

Helo, to everyone. I've been looking around the pluggins and having a look in the forum but I didn't find what I'm looking for. I've seen that in so many photo galleries, the pictures have got like lightning effects, they are dark and with the mouse roll-over, the light is normal, I mean, the true color of the image appears. like in this Photogallery: http://emilyweb.org/pictures/index.php.
Well, I don't knwo if you undertsand what I'm saying, I'm trying my best. So, my question is if there is an specific pluggin for that light-effect or it's just a code.
This is my photogallery: http://www.ainara-de.org/photogallery/index.php and this is my website: http://www.ainara-de.org/home.php
thank you so much.
Logged

onthepike

  • Guest
Re: Image lightning effects on mouse roll-over
« Reply #1 on: May 22, 2010, 03:11:48 am »

I don't believe that's javascript. It's part of the users personal theme and it's contained within that theme's CSS file:

http://emilyweb.org/pictures/themes/emilyweb/style.css

Example:

Code: [Select]
a img {
border: 1px solid #2fa9bf;
        background-color:#d9e8eb;
padding: 6px;
        margin: 2px;
-moz-border-radius:  10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        filter: alpha(opacity=70);
        -moz-opacity : 0.7; opacity : 0.7 ;

}
a img:hover {
border: 1px solid #2fa9bf;
background-color: #99d4e0;
padding: 6px;
margin: 2px;
-moz-border-radius:  10px;
-webkit-border-radius: 10px;
border-radius: 10px;
        filter: alpha(opacity=900);
        -moz-opacity : 0.9; opacity : 0.9 ;
}


Regarding your gallery: <!--Coppermine Photo Gallery 1.4.24 (stable)-->

You should update to the latest current stable release (1.4.26)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Image lightning effects on mouse roll-over
« Reply #2 on: May 22, 2010, 09:27:10 am »

As onthepike suggested that's straightforward CSS and no JavaScript.
Logged

ainarade

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 21
    • Ainara Delgado Tristan Oficial Website
Re: Image lightning effects on mouse roll-over
« Reply #3 on: May 22, 2010, 01:25:54 pm »

Thank you so much!!! It did work, so well. Thank you for letting me know it was the image code in the style.css sheet....thank you so much, really!!!
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.