Plugin Directory

Changeset 1733835


Ignore:
Timestamp:
09/21/2017 04:20:14 PM (9 years ago)
Author:
riangraphics
Message:

adding some incredible features

File:
1 edited

Legend:

Unmodified
Added
Removed
  • book-now/trunk/book-now.php

    r1733824 r1733835  
    22/**
    33 * @package Book_Now
    4  * @version 1.3.4
     4 * @version 1.3.5
    55 */
    66/*
     
    99Description: This plugin adds a fixed call to action button to your site, with text and link to anywhere you want.
    1010Author: RianGraphics
    11 Version: 1.3.4
     11Version: 1.3.5
    1212Author URI: http://www.riangraphics.com/book-now/
    1313*/
     
    111111        $txtcolor = get_option('rg_text_color');
    112112        $lor = get_option('rg_left_right');
     113        $numberofchars = strlen(get_option('rg_book_text'));
     114        $totalW = 25 * $numberofchars;
     115        $distance = 10 * $numberofchars;
    113116        $deg = '';
    114117        if($lor == 'right') {
     
    176179        #rg-book {
    177180            transform: rotate('.$deg.');
    178             '.$lor.': -80px;
     181            '.$lor.': -'.$distance.'px;
    179182            bottom: 40%;
    180             width: 200px;
     183            width: '.$totalW.'px;
    181184       }
    182185       }
Note: See TracChangeset for help on using the changeset viewer.