WordPress.org

Plugin Directory

Changeset 427269


Ignore:
Timestamp:
08/22/11 19:07:19 (3 years ago)
Author:
lessbloat
Message:

Increased default size of mShot on mouseover of comment author URL.

Location:
akismet/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/admin.php

    r425964 r427269  
    4040        || $hook_suffix == 'plugins_page_akismet-key-config' 
    4141    ) { 
    42         wp_register_style( 'akismet.css', AKISMET_PLUGIN_URL . 'akismet.css' ); 
     42        wp_register_style( 'akismet.css', AKISMET_PLUGIN_URL . 'akismet.css', array(), '2.5.4.4' ); 
    4343        wp_enqueue_style( 'akismet.css'); 
    4444     
    45         wp_register_script( 'akismet.js', AKISMET_PLUGIN_URL . 'akismet.js', array('jquery'), '2.5.4.1' ); 
     45        wp_register_script( 'akismet.js', AKISMET_PLUGIN_URL . 'akismet.js', array('jquery'), '2.5.4.4' ); 
    4646        wp_enqueue_script( 'akismet.js' ); 
    4747    } 
  • akismet/trunk/akismet.css

    r425964 r427269  
    1010span.comment-link:after { content: " " attr(title) " "; color: #aaa; text-decoration: none; } 
    1111.mshot-arrow { width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right:10px solid #5C5C5C; position: absolute; left: -6px; top: 91px; } 
    12 .mshot-container { background: #5C5C5C; position: absolute; top: -94px; padding: 7px; width: 250px; height: 188px; z-index: 20000; -moz-border-radius:6px; border-radius:6px; -webkit-border-radius:6px; } 
     12.mshot-container { background: #5C5C5C; position: absolute; top: -94px; padding: 7px; width: 450px; height: 338px; z-index: 20000; -moz-border-radius:6px; border-radius:6px; -webkit-border-radius:6px; } 
  • akismet/trunk/akismet.js

    r425964 r427269  
    8282            jQuery(this).css('position', 'relative'); 
    8383            var thisHref = jQuery.URLEncode(jQuery(this).attr('href')); 
    84             jQuery(this).append('<div class="mShot mshot-container" style="left: '+thisParentWidth+'"><div class="mshot-arrow"></div><img src="http://s.wordpress.com/mshots/v1/'+thisHref+'?w=250" width="250" height="188" class="mshot-image_'+thisId+'" style="margin: 0;" /></div>'); 
     84            jQuery(this).append('<div class="mShot mshot-container" style="left: '+thisParentWidth+'"><div class="mshot-arrow"></div><img src="http://s.wordpress.com/mshots/v1/'+thisHref+'?w=450" width="450" class="mshot-image_'+thisId+'" style="margin: 0;" /></div>'); 
    8585            setTimeout(function () { 
    86                 jQuery('.mshot-image_'+thisId).attr('src', 'http://s.wordpress.com/mshots/v1/'+thisHref+'?w=250&r=2'); 
     86                jQuery('.mshot-image_'+thisId).attr('src', 'http://s.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=2'); 
    8787            }, 6000); 
    8888            setTimeout(function () { 
    89                 jQuery('.mshot-image_'+thisId).attr('src', 'http://s.wordpress.com/mshots/v1/'+thisHref+'?w=250&r=3'); 
     89                jQuery('.mshot-image_'+thisId).attr('src', 'http://s.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=3'); 
    9090            }, 12000); 
    9191        } else { 
Note: See TracChangeset for help on using the changeset viewer.