Plugin Directory

Changeset 790241


Ignore:
Timestamp:
10/19/2013 03:04:51 AM (12 years ago)
Author:
luisperezphd
Message:

fixed issue with width. Added width example.

Location:
countdown-clock-timer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • countdown-clock-timer/trunk/MyPlugIn.php

    r657208 r790241  
    44Plugin URI: www.ipadstopwatch.com
    55Description: Adds a countdown clock to your site. Works on PC and mobile deivces.
    6 Version: 1.0.0
     6Version: 1.0.1
    77Author: Luis Perez
    88Author URI: www.ipadstopwatch.com
     
    9898    var urlEmbed = 'http://ipadstopwatch.com/countdown-clock-embed.html#' + params;
    9999
    100     document.write(\"<iframe src='\"+urlEmbed+\"' frameborder='0' scrolling='no' style='width:$(width)px';height:$(height)px;'></iframe>\");
     100    document.write(\"<iframe src='\"+urlEmbed+\"' frameborder='0' scrolling='no' style='width:{$width}px';height:{$height}px;'></iframe>\");
    101101})(jQuery);
    102102    </script>";
  • countdown-clock-timer/trunk/readme.txt

    r658430 r790241  
    2525You can either add it in the widgets screen, or you can use the shortcode:
    2626
    27 [countdown date='January 1, 2014' title='New Year Countdown' message='Happy New Year']
     27[countdown date='January 1, 2014' title='New Year Countdown' message='Happy New Year' width='157']
    2828
    2929Optionally you can specify a width.
Note: See TracChangeset for help on using the changeset viewer.