­

Bienvenida

BIENVENIDO A FAMAG KIRADOBER,

Ultimas Entradas

ULTIMAS ENTRADAS

thumb

PÁGINA DE BIENVENIDA

PÁGINA DE BIENVENIDA
thumb

PANEL DE ARTÍCULOS RECIENTES PARA BLOGGER

PANEL DE ARTÍCULOS RECIENTES PARA BLOGGER . Existen varios widgets para mostrar las entradas de Blogger, pero muchos están anticuados o son bastante sosetes. Pensando un poco en este...
thumb

WIDGET CARD FOLLOW DE TWITTER

WIDGET CARD FOLLOW DE TWITTER Diferentes estilos gracias al espectacular CSS de Material design de Google, podemos modificar miles de widgets en Blogger, en esta nueva presentación se le...
thumb

ENTRADAS POPULARES EN BLOGGER

ENTRADAS POPULARES EN BLOGGER . Con unos simples pasos transformara las entradas populares de su blog de Blogger. Las instrucciones de este tutorial creado para usuarios de Blogger es...
thumb

WIDGET DE POST RECIENTES CON IMÁGENES PARA MI BLOG DE BLOGGER

WIDGET DE POST RECIENTES CON IMÁGENES PARA MI BLOG DE BLOGGER Widget de publicaciones recientes para blogs de Blogger, este widget lo podrán usar en cualquier blog de Blogger. ...
thumb

CAJA DE SEGUIDORES DE FACEBOOK EN UN POPOUT PARA BLOGGER

CAJA DE SEGUIDORES DE FACEBOOK EN UN POPOUT PARA BLOGGER. Es indispensable para muchos blogs de blogger tener una página de blogs que contengan las redes sociales más visitadas en la ...
thumb

CARRUSEL DE IMÁGENES CON JQUERY

CARRUSEL DE IMÁGENES CON JQUERY. Vamos a ver como crear un carrusel de imágenes con enlaces, creado con CSS y JQuery, que le da un toque especial de animación. ¿Para que...
thumb

CINTA DE IMAGEN ANIMADA CON CSS3

CINTA DE IMAGEN ANIMADA CON CSS3. Vamos a ver como realizar una cinta, carrusel, slider o como la queramos llamar con una imagen. Para ello utilizaremos un sencillo código CSS3, utilizan...
thumb

ENTRADAS POPULARES DIFERENTES ESTILOS DE MI BLOG DE BLOGGER

ENTRADAS POPULARES DIFERENTES ESTILOS DE MI BLOG DE BLOGGER. Cómo puedo cambiar los estilos a mis entradas populares de mí blog de Blogger La facilidad con la que podemos cambi...
thumb

SLIDESHOW CON ENTRADAS POPULARES PARA BLOGGER

SLIDESHOW CON ENTRADAS POPULARES PARA BLOGGER. Después de haberos presentado algunos espectaculares Widgets de entradas populares, os presenta un hermoso Sid...
thumb

WIDGET EN HORIZONTAL DE ENTRADAS POPULARES EN BLOGGER

WIDGET EN HORIZONTAL DE ENTRADAS POPULARES EN BLOGGER . Cómo insertar mis Entradas populares de Blogger en forma horizontal, Agregar mis Popular post “Entradas populares” en Horizontal, D...
thumb

SCROLL PARA TU BLOG DE BLOGGER

SCROLL PARA TU BLOG DE BLOGGER Una de las nuevas formas de cargar una página web o blog, es el scroll infinito, el cual consta en que a medida que se vaya bajando el contenido de un blog, m...
thumb

IMPLEMENTAR EL TRUCO LEER MAS

IMPLEMENTAR EL TRUCO LEER MAS Leer más automático es un truco muy útil para los blogs con entradas largas que desean reducirlas (Solo en la pagina principal),aquí mostrare como hacerlo con ...
thumb

IMAGENES PARA EL TRUCO LEER MAS

IMAGENES PARA EL TRUCO LEER MAS Si no has agregado todavía el truco Leer más automático (Botón con Imagen), haz clic aquí para implementarlo y después puedes volver aquí a copiar alguna...
thumb

CAMBIAR EL TAMAÑO DE LETRA DEL BLOG A OPCIÓN DEL LECTOR

CAMBIAR EL TAMAÑO DE LETRA DEL BLOG A OPCIÓN DEL LECTOR. De acuerdo al contenido del blog es al público al que está dirigido y es posible que este público sean adultos mayores o bien ...
thumb

Noticias en movimiento

Noticias en movimiento Hoy revelare un truco para blogger muy fácil de implementarlo en su blog de blogger, en algunas plantillas para blogger  se puede ver este truco, llevaba el nomb...
thumb

Cuadro de texto en movimiento con el fondo de color

Cuadro de texto en movimiento con el fondo de color Aquí os traigo un pequeño Cuadro de texto en movimiento con el fondo de color y completamente configurable, como puedes intuir viendo el c...
thumb

Gadget de Entradas Relacionadas con miniaturas

Gadget de Entradas Relacionadas con miniaturas  Colocar un gadget de "Entradas Relacionadas" es una de las cosas que mas se han estado colocando este último tiempo en todos lo Blogs y webs...
thumb

Enlaces e imagenes con efecto desplazamiento

Enlaces e imagenes con efecto desplazamiento todovideokiko Vamos a darle un toque diferente a nuestros enlaces e imagenes utilizando CSS. Este efecto lo que hara es desplazar el enlace...
thumb

Aumentar el tamaño de las imágenes al pasar el cursor encima

Aumentar el tamaño de las imágenes al pasar el cursor encima Bien, esto es posible con el  Expando. Esto es un script que permite que la imagen aumente a su tamaño real con un ef...
thumb

Darle la vuelta a una imagen

Darle la vuelta a una imagen  Seguramente muchos de vosotrosy vo sotras habreis visto como mover, rotar o animar imagenes a base de codigo CSS3. Pero quizas, tal vez no sepais que con ...
thumb

Efecto máquina de escribir

Efecto máquina de escribir Un truco muy llamativo para tu blog o página web es el llamado efecto máquina de escribir, el mismo lo que hace es simular un texto que se escribe en una má...
thumb

Imagen flotante en Blogger

Imagen flotante en Blogger Para lograr este efecto nos dirigimos a: Diseño, Agregar Gadget, seleccionamos "HTML-Java SCRIPT" y pegamos el siguiente código: <a style="display:scro...
thumb

Colocar una una flexa en una esquina de nuestro Blog para que nos lleve arriba

Colocar una una flexa en una esquina de nuestro Blog para que nos lleve arriba Colocar una imágen estática de una flexa en una esquina de nuestro Blog es algo que veo frecuentemen...
thumb

Galería de imágenes estilo Polaroid

Galería de imágenes estilo Polaroid  Vamos a crear un sencillo efecto tipo Polaroid ideal para galerías de fotos o resaltar imágenes o enmarcar un elemento importante dentro de una we...
thumb

Añadir más zonas de gadgets

Añadir más zonas de gadgets Te ha pasado que quieres agregar un gadget en la cabecera, o quizá arriba de los posts? Seguro que más de alguno le gustaría tener esta opción, tal vez para agre...
thumb

Paginación para Blogger

Paginación para Blogger  Hoy Haremos un pequeño truco basado en Javascript con estilos CSS, este truco remplaza Entradas antiguas, Entradas más recientes e Inicio por una paginación mucho...
thumb

Efecto Zoom en Imagenes

Efecto Zoom en Imagenes   Un gran efecto en las imagenes sin duda es el zoom, sobre todo en aquellas imagenes grandes, este efecto permite agrandar un...
thumb

Bienvenida

Bienvenidos a Famag Kiradober en este Blog vamos a dar consejos prácticos de todo lo relacionado con Blogger, Trucos, Como montar un Slider tanto en la pagina Principal en el Footer como en e...
thumb

Mensaje de bienvenida para el blog

 Mensaje de bienvenida para el blog Este es un código muy sencillo para darle la bienvenida al visitante de nuestro sitio. Copia y pega el código y sustituye el texto en azul, por tu pro...
thumb

Recibe a los visitantes con un saludo

Recibe a los visitantes con un saludo Recibe a tus visitantes con saludo Buenos días, Buenas tardes o buenas noches segun la hora que abran la pagina. Es mui fácil de colocar se coloca en un G...
thumb

Imagen en movimiento y te lleve a otra pagina

Imagen en movimiento y te lleve a otra pagina  Hoy os traigo una Imagen o un Banner con link para direccionar, sale cuando habrás la pagina y te sigue mientras bajas, tiene la opción de po...
thumb

Alerta al cargar la Pagina.

Alerta al cargar la Pagina. Este alerta aparece cuando se realiza la carga de página, al hacer click en aceptar ingresa a la web en cuestión, Para instalarlo solo debes seguir mis pasos: ...
thumb

Leer más automatico con imagen en miniatura

Leer más automatico con imagen en miniatura Uno de los trucos que más he buscado para mis blogs es el que reduce las entradas largas con un botón que diga "Leer más".De las muchas webs que enseña...
thumb

Imágenes apiladas en Blogger

Imágenes apiladas en Blogger Me gustaría daros la bienvenida para compartir un truco para tus imágenes en Blogger, que puede ser de interés para algunos blogueros, que quieran o deseen camb...
thumb

Caja para imagen y texto

Caja para imagen y textoHola este cantante es Kurt Cobain de NirvanaTutoriales Blogger Kiradober Aquí os traigo una cajita para colocar una imagen con un texto en la parte posterior con link para red...

Efecto Zoom en Imagenes

by - viernes, enero 06, 2017

Efecto Zoom en Imagenes



 
Un gran efecto en las imagenes sin duda es el zoom, sobre todo en aquellas imagenes grandes, este efecto permite agrandar una imagen al contorno de la ventana y poder verla con mas detalle, puedes ver un ejemplo en este blog 
s, el efecto lo puedes utilizar en una Entrada o en un Gadget, lo que facilita su uso.
Para ello ve a Diseño-> Edición de HTML y antes de </head> pega lo siguiente:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>

<script type='text/javascript'>
//<![CDATA[
/* jQuery Image Magnify script v1.1
* This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code

* Nov 16th, 09 (v1.1): Adds ability to dynamically apply/reapply magnify effect to an image, plus magnify to a specific width in pixels.
* Feb 8th, 11 (v1.11): Fixed bug that caused script to not work in newever versions of jQuery (ie: v1.4.4)
*/

jQuery.noConflict()

jQuery.imageMagnify={
 dsettings: {
  magnifyby: 3, //default increase factor of enlarged image
  duration: 500, //default duration of animation, in millisec
  imgopacity: 0.2 //opacify of original image when enlarged image overlays it
  },
 cursorcss: 'url(magnify.cur), -moz-zoom-in', //Value for CSS's 'cursor' attribute, added to original image
 zIndexcounter: 100,

 refreshoffsets:function($window, $target, warpshell){
  var $offsets=$target.offset()
  var winattrs={x:$window.scrollLeft(), y:$window.scrollTop(), w:$window.width(), h:$window.height()}
  warpshell.attrs.x=$offsets.left //update x position of original image relative to page
  warpshell.attrs.y=$offsets.top
  warpshell.newattrs.x=winattrs.x+winattrs.w/2-warpshell.newattrs.w/2
  warpshell.newattrs.y=winattrs.y+winattrs.h/2-warpshell.newattrs.h/2
  if (warpshell.newattrs.x<winattrs.x+5){ //no space to the left?
   warpshell.newattrs.x=winattrs.x+5
  }
  else if (warpshell.newattrs.x+warpshell.newattrs.w > winattrs.x+winattrs.w){//no space to the right?
   warpshell.newattrs.x=winattrs.x+5
  }
  if (warpshell.newattrs.y<winattrs.y+5){ //no space at the top?
   warpshell.newattrs.y=winattrs.y+5
  }
 },

 magnify:function($, $target, options){
  var setting={} //create blank object to store combined settings
  var setting=jQuery.extend(setting, this.dsettings, options)
  var attrs=(options.thumbdimensions)? {w:options.thumbdimensions[0], h:options.thumbdimensions[1]} : {w:$target.outerWidth(), h:$target.outerHeight()}
  var newattrs={}
  newattrs.w=(setting.magnifyto)? setting.magnifyto : Math.round(attrs.w*setting.magnifyby)
  newattrs.h=(setting.magnifyto)? Math.round(attrs.h*newattrs.w/attrs.w) : Math.round(attrs.h*setting.magnifyby)
  $target.css('cursor', jQuery.imageMagnify.cursorcss)
  if ($target.data('imgshell')){
   $target.data('imgshell').$clone.remove()
   $target.css({opacity:1}).unbind('click.magnify')
  }
  var $clone=$target.clone().css({position:'absolute', left:0, top:0, visibility:'hidden', border:'1px solid gray', cursor:'pointer'}).appendTo(document.body)
  $clone.data('$relatedtarget', $target) //save $target image this enlarged image is associated with
  $target.data('imgshell', {$clone:$clone, attrs:attrs, newattrs:newattrs})
  $target.bind('click.magnify', function(e){ //action when original image is clicked on
   var $this=$(this).css({opacity:setting.imgopacity})
   var imageinfo=$this.data('imgshell')
   jQuery.imageMagnify.refreshoffsets($(window), $this, imageinfo) //refresh offset positions of original and warped images
   var $clone=imageinfo.$clone
   $clone.stop().css({zIndex:++jQuery.imageMagnify.zIndexcounter, left:imageinfo.attrs.x, top:imageinfo.attrs.y, width:imageinfo.attrs.w, height:imageinfo.attrs.h, opacity:0, visibility:'visible', display:'block'})
   .animate({opacity:1, left:imageinfo.newattrs.x, top:imageinfo.newattrs.y, width:imageinfo.newattrs.w, height:imageinfo.newattrs.h}, setting.duration,
   function(){ //callback function after warping is complete
    //none added
   }) //end animate
  }) //end click
  $clone.click(function(e){ //action when magnified image is clicked on
   var $this=$(this)
   var imageinfo=$this.data('$relatedtarget').data('imgshell')
   jQuery.imageMagnify.refreshoffsets($(window), $this.data('$relatedtarget'), imageinfo) //refresh offset positions of original and warped images
   $this.stop().animate({opacity:0, left:imageinfo.attrs.x, top:imageinfo.attrs.y, width:imageinfo.attrs.w, height:imageinfo.attrs.h},  setting.duration,
   function(){
    $this.hide()
    $this.data('$relatedtarget').css({opacity:1}) //reveal original image
   }) //end animate
  }) //end click
 }
};

jQuery.fn.imageMagnify=function(options){
 var $=jQuery
 return this.each(function(){ //return jQuery obj
  var $imgref=$(this)
  if (this.tagName!="IMG")
   return true //skip to next matched element
  if (parseInt($imgref.css('width'))>0 && parseInt($imgref.css('height'))>0 || options.thumbdimensions){ //if image has explicit width/height attrs defined
   jQuery.imageMagnify.magnify($, $imgref, options)
  }
  else if (this.complete){ //account for IE not firing image.onload
   jQuery.imageMagnify.magnify($, $imgref, options)
  }
  else{
   $(this).bind('load', function(){
    jQuery.imageMagnify.magnify($, $imgref, options)
   })
  }
 })
};

jQuery.fn.applyMagnifier=function(options){ //dynamic version of imageMagnify() to apply magnify effect to an image dynamically
 var $=jQuery
 return this.each(function(){ //return jQuery obj
  var $imgref=$(this)
  if (this.tagName!="IMG")
   return true //skip to next matched element

 })

};


//** The following applies the magnify effect to images with class="magnify" and optional "data-magnifyby" and "data-magnifyduration" attrs
//** It also looks for links with attr rel="magnify[targetimageid]" and makes them togglers for that image

jQuery(document).ready(function($){
 var $targets=$('.magnify')
 $targets.each(function(i){
  var $target=$(this)
  var options={}
  if ($target.attr('data-magnifyto'))
   options.magnifyto=parseFloat($target.attr('data-magnifyto'))
  if ($target.attr('data-magnifyby'))
   options.magnifyby=parseFloat($target.attr('data-magnifyby'))
  if ($target.attr('data-magnifyduration'))
   options.duration=parseInt($target.attr('data-magnifyduration'))
  $target.imageMagnify(options)
 })
 var $triggers=$('a[rel^="magnify["]')
 $triggers.each(function(i){
  var $trigger=$(this)
  var targetid=$trigger.attr('rel').match(/\[.+\]/)[0].replace(/[\[\]']/g, '') //parse 'id' from rel='magnify[id]'
  $trigger.data('magnifyimageid', targetid)
  $trigger.click(function(e){
   $('#'+$(this).data('magnifyimageid')).trigger('click.magnify')
   e.preventDefault()
  })
 })
})


/***********************************************
* jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

//]]>
</script>


Ahora solo se agrega el siguiente codigo en donde quieras ver el efecto (En una Entrada ó un Gadget):

<img src="http://urldelaimagen.jpg" class="magnify" style="width:225px; height:150px" />

Puedes repetir cuantas veces quieras el codigo anterior, dependiendo de las imagenes que quieras poner.

Configuracion:
Cambia la direccion (url) marcada en rojo por la direccion de la imagen que quieras poner.
width:225px : Es el ancho de la imagen por default.
height:150px :Es el Alto de la imagen por default.


Fuente;  wixusblogger

Fecha:06/01/2017

Publicado por: 









You May Also Like

0 comentarios

Paginacion