coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Piceo2k on March 28, 2007, 02:34:31 AM

Title: When step the mouse over the image…
Post by: Piceo2k on March 28, 2007, 02:34:31 AM
Since I can do, so that when it passes the mouse over the image, this changes its edge of color?
Title: Re: When step the mouse over the image…
Post by: vuud on March 28, 2007, 02:56:58 AM
Quote from: Piceo2k on March 28, 2007, 02:34:31 AM
Since I can do, so that when it passes the mouse over the image, this changes its edge of color?

CSS

Title: Re: When step the mouse over the image…
Post by: Piceo2k on March 28, 2007, 03:20:06 AM
I have proven with the following thing, but it works to me by halves. It puts the color to the edge that I want, but it does not change to the color when leaving the leader to me upon the image. That I have bad?


PHP

<?php
  
include "./cpmfetch.php";
  include 
"./style.css";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array("imagestyle" => "test1"windowtarget => "_blank"));
  
$objCpm->cpm_close();
?>




CSS

<style type="text/css">
img.test1 { 
          border:1px solid #e3e3e3;
          }
img.test1:hover {
          border:1px solid #e3bb3f; }
         
          </style>


you can see the test here: http://www.hilary-duff.es/galeria/cpmfetch/2.php

Title: Re: When step the mouse over the image…
Post by: vuud on March 28, 2007, 04:28:47 AM
Quote from: Piceo2k on March 28, 2007, 03:20:06 AM
I have proven with the following thing, but it works to me by halves. It puts the color to the edge that I want, but it does not change to the color when leaving the leader to me upon the image. That I have bad?


PHP

<?php
  
include "./cpmfetch.php";
  include 
"./style.css";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array("imagestyle" => "test1"windowtarget => "_blank"));
  
$objCpm->cpm_close();
?>




CSS

<style type="text/css">
img.test1 { 
          border:1px solid #e3e3e3;
          }
img.test1:hover {
          border:1px solid #e3bb3f; }
         
          </style>


you can see the test here: http://www.hilary-duff.es/galeria/cpmfetch/2.php




Works fine in firefox... probably an IE screwup

Title: Re: When step the mouse over the image…
Post by: Piceo2k on March 28, 2007, 04:32:03 AM
Use IE7, habia seen a page that if it worked, which nonmemory now as, when it finds it I return it to put in this same conversation.
Title: Re: When step the mouse over the image…
Post by: vuud on March 28, 2007, 08:01:38 AM
Quote from: Piceo2k on March 28, 2007, 04:32:03 AM
Use IE7, habia seen a page that if it worked, which nonmemory now as, when it finds it I return it to put in this same conversation.

I don't use windows or a mac... you are on your own.  Its NOT a CpmFetch issue.