WordPress.org

Plugin Directory

Changeset 590746


Ignore:
Timestamp:
08/27/12 04:12:34 (20 months ago)
Author:
bradparbs
Message:

updated js location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wptextresizecontrols/trunk/init.php

    r590736 r590746  
    1010 
    1111function wpTextResize(){ 
     12$plugin_path = plugin_dir_url(__FILE__); 
     13 
    1214wp_enqueue_script( 
    13   "text.js", WP_PLUGIN_URL."/wpTextResize/text.js"); 
     15  "text.js", $plugin_path ."/text.js"); 
    1416} 
    1517 
     
    1820function wpTextResizeControlsWidget(){ 
    1921    ?> 
    20     <div title='Resize Body Text' class="wpTextResizeControls" style='background-color:lightgray;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px;padding:3px;'> 
     22    <div title='Resize Body Text' class="wpTextResizeControls" style='background-color:lightgray;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px;padding:3px;width:55px;'> 
    2123        <a class='increaseFont' title='Increase Font Size' style='font-size:18px;'>A</a><a class='resetFont' title='Reset Font Size' style='font-size:13px;padding-left:10px;'>A</a><a class='decreaseFont' title='Decrease Font Size' style='font-size:10px;padding-left:10px;'>A</a></div> 
    2224    <?php 
     
    3335else{ 
    3436    ?> 
    35     <div title='Resize Body Text' class="wpTextResizeControls" style='background-color:lightgray;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px;padding:3px;'> 
     37    <div title='Resize Body Text' class="wpTextResizeControls" style='background-color:lightgray;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px;padding:3px;width:55px;'> 
    3638        <a class='increaseFont' title='Increase Font Size' style='font-size:18px;'>A</a><a class='resetFont' title='Reset Font Size' style='font-size:13px;padding-left:10px;'>A</a><a class='decreaseFont' title='Decrease Font Size' style='font-size:10px;padding-left:10px;'>A</a> 
    3739    </div>   
Note: See TracChangeset for help on using the changeset viewer.