Skip to main content

Evento onMouseOver Parte 1

En este ejemplo tenemos seis imagenes de tamaño pequeño y una de tamaño ampliado, deseamos cambiar las imagenes con solo pasar el mouse sobre la imagen (evento mouseover).

height="50" id="foto1ImageHyperlink" imageURL="#{propiedadesVer.propiedadesDataProvider.value['propiedades.foto1']}"
onMouseMove="imagen1(this);return false;" style="left: 310px; top: 219px; position: absolute" width="66"/>


height="50" id="foto2ImageHyperlink" imageURL="#{propiedadesVer.propiedadesDataProvider.value['propiedades.foto2']}"
onMouseMove="imagen2(this);return false;" style="left: 382px; top: 219px; position: absolute" width="66"/>
<ui:imageHyperlink action="#{propiedadesVer.foto3ImageHyperlink_action}" binding="#{propiedadesVer.foto3ImageHyperlink}" border="0"
height="50" id="foto3ImageHyperlink" imageURL="#{propiedadesVer.propiedadesDataProvider.value['propiedades.foto3']}"
onMouseMove="imagen3(this);return false;" style="left: 454px; top: 219px; position: absolute" width="66"/>

height="50" id="foto4ImageHyperlink" imageURL="#{propiedadesVer.propiedadesDataProvider.value['propiedades.foto4']}"
onMouseMove="imagen4(this);return false;" style="left: 312px; top: 291px; position: absolute" width="66"/>

height="50" id="foto5ImageHyperlink" imageURL="#{propiedadesVer.propiedadesDataProvider.value['propiedades.foto5']}"
onMouseMove="imagen5(this);return false;" style="left: 382px; top: 291px; position: absolute" width="66"/>

height="50" id="foto6ImageHyperlink" imageURL="#{propiedadesVer.propiedadesDataProvider.value['propiedades.foto6']}"
onMouseMove="imagen6(this);return false;" style="left: 454px; top: 291px; position: absolute" width="66"/>

height="50" id="foto7ImageHyperlink" imageURL="#{propiedadesVer.propiedadesDataProvider.value['propiedades.foto7']}"
onMouseMove="imagen7(this);return false;" style="left: 312px; top: 361px; position: absolute" width="66"/>

Comments

Popular posts from this blog

JUnit con DataClassG

JUnit con DataClassG 0. ESQUEMA Services: Por cada beans crearemos una clase Services que se encargará de interactuar con el controller para realizar las operaciones de la base de datos. Se crearan los métodos insert, update,delete y los demas metodos para realizar las diversas operaciones. Test: Se crearán las clases para test de las clases Services. Form: Los formularios para la interactuar con el usuario. ProvinciasServices.java colocamos los métodos, insert, update,delete public class ProvinciasServices {    ProvinciasController provinciasController = new ProvinciasController();    public ProvinciasServices() {    }    public Boolean insert (Provincias provincias){        try{            if(provinciasController.insert(provincias)){              return tru...

Primefaces v13

 La versión nueva de primefaces v13.0 elimina el componente <p:repeat>  Consulte los cambios en  https://github.com/primefaces/primefaces/releases/tag/13.0.0 por lo tanto si necesita una solución similar considere utilizar  <p:carousel>  o  <ui:repeat> En la versión 13 genera una excepción