Plugin Directory

Changeset 147714


Ignore:
Timestamp:
08/21/2009 02:12:15 AM (17 years ago)
Author:
jeff_
Message:

Major bug fixed when jQuery is loaded after the plugin by a theme or another plugin ans come CSS improvement

Location:
frontpage-slideshow/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • frontpage-slideshow/trunk/frontpage-slideshow.php

    r147332 r147714  
    55Plugin URI: http://www.modulaweb.fr/blog/wp-plugins/frontside-slideshow/en/
    66Description: Frontpage Slideshow provides a slide show like you can see on <a href="http://linux.com">linux.com</a> or <a href="http://modulaweb.fr/">modulaweb.fr</a> front page. <a href="options-general.php?page=frontpage-slideshow">Configuration Page</a>
    7 Version: 0.4
     7Version: 0.5
    88Author: Jean-François VIAL
    99Author URI: http://www.modulaweb.fr/
     
    141141<!--[if IE]>
    142142<style type="text/css">
    143 /* <![CDATA[ */
    144143#fs-text {
    145144    filter: alpha(opacity=<?=str_replace('%','',$options['values']['fs_text_opacity'])?>);
    146145}
    147 /*]]>*/
    148146</style>
    149147<![endif]-->
    150148
    151149<style type="text/css">
    152 /* <![CDATA[ */
    153150#fs-main {
    154151    width: <?=$options['values']['fs_main_width']?>;
     
    162159    background-color: <?=$options['values']['fs_main_color']?>;
    163160    color: <?=$options['values']['fs_font_color']?>;
    164     font-family: Verdana, Sans, Helvetica, Arial, sans-serif;
    165 
     161    font-family: Verdana, Sans, Helvetica, Arial, sans-serif!important;
    166162}
    167163#fs-slide {
     
    200196    opacity: <? echo intval(str_replace('%','',$options['values']['fs_text_opacity'])) / 100; ?>;
    201197    background-color: <?=$options['values']['fs_text_bgcolor']?>;
    202     margin-top: 10px;
     198    /*margin-top: 10px;*/
    203199    padding: 10px;
    204200}
     
    213209#fs-title {
    214210    font-weight: bold;
    215     font-size: 14px;
     211    font-size: 14px!important;
     212    line-height: 1.1em;
     213    margin-bottom: 0.25em;
     214    font-family: Verdana, Sans, Helvetica, Arial, sans-serif!important;
    216215}
    217216.fs-title {
    218217    font-weight: bold;
    219     font-size: 11px;
     218    font-size: 11px!important;
    220219    line-height: 1.4em;
     220    margin: 0!important;
     221    padding: 0!important;
     222    margin-bottom: 0.25em;
     223    font-family: Verdana, Sans, Helvetica, Arial, sans-serif!important;
    221224}
    222225#fs-excerpt {
    223     font-size: 14px;
     226    font-size: 14px!important;
    224227    padding-left: 10px;
     228    line-height: 1.4em;
    225229}
    226230.fs-comment {
    227     font-size: 8px;
     231    font-size: 8px!important;
    228232    line-height: 1.2em;
     233    font-family: Verdana, Sans, Helvetica, Arial, sans-serif!important;
    229234}
    230235#fs-main ul {
    231236    display: block;
    232     margin: 0;
    233     padding: 0;
    234     width: <?=$options['values']['fs_buttons_width']?>;
     237    float: <?=$options['values']['fs_buttons_position']?>!important;
     238    clear: none!important;
     239
     240    margin: 0!important;
     241    padding: 0!important;
     242
     243    width: <?=$options['values']['fs_buttons_width']?>!important;
    235244    height: 100%;
    236     float: <?=$options['values']['fs_buttons_position']?>;
    237     list-style: none;
    238     clear: none;
     245
     246    list-style: none!important;
     247   
     248    background-image: none!important;
     249
    239250    -moz-border-radius: 5px;
    240251    -khtml-border-radius: 5px;
     
    243254}
    244255#fs-main li {
    245     display: block
    246     width: 100%;
     256    display: block!important;
     257
     258    padding: 5px!important;
     259    margin: 0;
     260
     261    width: 100%!important;
    247262    height: 55px;
     263
     264    background-image: none!important;
     265
    248266    -moz-border-radius: 3px;
    249267    -khtml-border-radius: 3px;
    250268    -webkit-border-radius: 3px;
    251269    border-radius: 3px;
     270
    252271    cursor: pointer;
    253     padding: 5px;
     272}
     273#fs-main li:before { content:""; }
     274#fs-main li:after { content:""; }
     275
     276.fs-entry {
     277    background-color: <?=$options['values']['fs_button_normal_color']?>!important;
     278    margin: 0;
     279    overflow: hidden;
     280}
     281.fs-entry:hover {
     282    background-color: <?=$options['values']['fs_button_hover_color']?>!important;
    254283}
    255284.fs-current {
    256285    background-color: <?=$options['values']['fs_button_current_color']?>!important;
    257286}
    258 .fs-entry {
    259     background-color: <?=$options['values']['fs_button_normal_color']?>;
    260     margin: 0;
    261     overflow: hidden;
    262 }
    263 .fs-entry:hover {
    264     background-color: <?=$options['values']['fs_button_hover_color']?>;
    265 }
    266287.fs-skip {
    267     position: absolute;
    268     top: -300000px;
    269 }
    270 /* ]]> */
     288    position: absolute!important;
     289    top: -300000px!important;
     290}
    271291</style>
    272292<?
     
    276296    $defaults = array (
    277297                'values' => array (
    278                     'fs_is_activated'       => 1,
     298                    'fs_is_activated'       => 0,
    279299                    'fs_cats'           => array ('1'),
    280300                    'fs_slides'             => 4,
     
    517537                            echo frontpageSlideshow('',true,$options);                                                 
    518538                        ?>
     539                        <p><strong><?_e('Important: ','frontpage-slideshow')?></strong> <?_e('due to some big differences between themes ans due to some','frontpage-slideshow')?></p>
    519540                    </div>
    520541                </div>
     
    635656if (function_exists('add_action')) {
    636657    add_filter('the_content', 'frontpageSlideshow');
    637     add_filter('wp_head', 'frontpageSlideshow_header');
     658    add_filter('wp_head', 'frontpageSlideshow_header',1);
    638659    add_action('admin_menu', 'frontpageSlideshow_admin_menu');
    639660}
  • frontpage-slideshow/trunk/readme.txt

    r147335 r147714  
    55Requires at least: 2.0
    66Tested up to: 2.8.4
    7 Stable tag: 0.4
     7Stable tag: 0.5
    88
    99Frontpage Slideshow provides a slide show like you can see in linux.com front page
     
    1111== Description ==
    1212
    13 This plugin allows you to put a slideshow on your Wordpress frontpage. The slide is made of :
     13This plugin allows you to put a slideshow on your Wordpress frontpage. like the one on linux.com
    1414
    15     * a cliquable image zone
    16     * a 4 buttons zone with
    17           o a title
    18           o a button specific message
    19     * a text zone with
    20           o the same title as button
    21           o a specific message
     15The slide is made of a cliquable image zone, some buttons with title and specific comment allowing to display a particular slide and a text zone to add a comment on slide.
    2216
    2317Images are pre-loaded and the default design is elegant and clean with a black background, transparencies ans rounded corners (except for IE).
     
    4337* v 0.1 : very first release usable but no option page
    4438* v 0.2 : some terrible graphic bugs fixed : option page under construction and preview
    45 * v 0.3 : some minor javascript and CSS bugs fixed : now the plugon is ready for the option-page and fine tunes.
    46 * v 0.4 : Fully functional administration page with preview, reset to default
     39* v 0.3 : some minor javascript and CSS bugs fixed : now the plugin is ready for the option-page and fine tunes.
     40* v 0.4 : fully functional administration page with preview, reset to default
     41* v 0.5 : important bug fix when the plugin is loaded before jQuery and some CSS improvement
    4742
    4843== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.