Efectos jQuery con "title archor" y fundido de imágenes.
git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@37 54e8636e-a86c-764f-903d-b964358a1ae2
This commit is contained in:
parent
ce270ae524
commit
d3b17da09f
@ -28,9 +28,11 @@
|
||||
<?php if (has_post_thumbnail()) {
|
||||
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full');
|
||||
$thumb_size = array($woo_options['woo_thumb_w'],$woo_options['woo_thumb_h']);
|
||||
$description = the_title('', '', false);
|
||||
if ( strlen($description) < 2 ) { $description = ''; }
|
||||
$attrib = array('title' => $description);
|
||||
$title = the_title('', '', false);
|
||||
if ( strlen($title) < 2 ) { $title = ''; }
|
||||
|
||||
$description = get_the_content();
|
||||
$attrib = array('title' => $title);
|
||||
?>
|
||||
<a rel="lightbox" href="<?php echo $large_image_url[0]; ?>" title="<?php echo $description; ?>" class="size-<?php echo $image_size; ?>">
|
||||
<span></span>
|
||||
|
||||
@ -87,7 +87,7 @@
|
||||
-ms-interpolation-mode: bicubic;
|
||||
-webkit-box-shadow:none;
|
||||
box-shadow:none;
|
||||
display: hidden;
|
||||
display: none;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
||||
|
||||
@ -3,16 +3,39 @@
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
if ( jQuery( '.tcp_product_thumb a img' ).length ) {
|
||||
jQuery( '.tcp_product_thumb a img' ).fadeIn("slow");
|
||||
|
||||
if ( jQuery( '.post_container .posts .post .entry a' ).length ) {
|
||||
jQuery('.post_container .posts .post .entry a').each( function() {
|
||||
var $this = jQuery(this);
|
||||
$this.data('title',$this.attr('title'));
|
||||
$this.removeAttr('title');
|
||||
});
|
||||
|
||||
jQuery('.post_container .posts .post .entry a').click( function() {
|
||||
var $this = jQuery(this);
|
||||
var $title = $this.data('title');
|
||||
$this.attr('title', $title);
|
||||
});
|
||||
}
|
||||
|
||||
if ( jQuery( '.post_container .posts .post .entry a' ).length ) {
|
||||
jQuery('.post_container .posts .post .entry a').each( function() {
|
||||
var $this = jQuery(this);
|
||||
$this.data('title',$this.attr('title'));
|
||||
$this.removeAttr('title');
|
||||
});
|
||||
|
||||
jQuery('.post_container .posts .post .entry a').click( function() {
|
||||
var $this = jQuery(this);
|
||||
var $title = $this.data('title');
|
||||
$this.attr('title', $title);
|
||||
});
|
||||
}
|
||||
|
||||
if ( jQuery( '.post a img' ).length ) {
|
||||
jQuery( '.post a img' ).fadeIn("slow");
|
||||
}
|
||||
|
||||
if ( jQuery( '.tubepress_thumb a img' ).length ) {
|
||||
jQuery( '.tubepress_thumb a img' ).fadeIn("slow");
|
||||
|
||||
if ( jQuery( 'a img' ).length ) {
|
||||
jQuery( 'a img' ).fadeIn('slow');
|
||||
}
|
||||
|
||||
|
||||
|
||||
BIN
src/wp-content/uploads/2011/07/budas-150x150.jpg
Normal file
BIN
src/wp-content/uploads/2011/07/budas-150x150.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
src/wp-content/uploads/2011/07/budas-300x183.jpg
Normal file
BIN
src/wp-content/uploads/2011/07/budas-300x183.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
BIN
src/wp-content/uploads/2011/07/budas-45x27.jpg
Normal file
BIN
src/wp-content/uploads/2011/07/budas-45x27.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
src/wp-content/uploads/2011/07/budas-95x58.jpg
Normal file
BIN
src/wp-content/uploads/2011/07/budas-95x58.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
BIN
src/wp-content/uploads/2011/07/budas.jpg
Normal file
BIN
src/wp-content/uploads/2011/07/budas.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 193 KiB |
Reference in New Issue
Block a user