Plugin Directory

Changeset 1173702


Ignore:
Timestamp:
06/03/2015 03:29:09 PM (11 years ago)
Author:
andreasbutze
Message:

safari load problem fixed + double scrollbars removed + readme file updated

Location:
simple-pdf-bar/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • simple-pdf-bar/trunk/css/style.css

    r1172628 r1173702  
    11@charset "UTF-8";
    22@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600);
     3
     4html {
     5    overflow-y: hidden;
     6}
    37
    48body {
  • simple-pdf-bar/trunk/js/pdf-display.js

    r1172628 r1173702  
    99    //Fetch URL of pdf
    1010    var objectData = $("object#pdf-main").attr("data");
    11     //remove content of data-attribute
    12     $("object#pdf-main").attr("data", "");
    1311
     12    //Determine height of PDF
    1413    var objectHeight = windowHeight - barHeight;
    15     //add bottom padding
     14
     15    //Assign correct height
    1616    $("object#pdf-main").attr("height", objectHeight);
    1717
  • simple-pdf-bar/trunk/readme.txt

    r1172628 r1173702  
    1313== Description ==
    1414
    15 Adds a lead generation bar to the top or bottom of your pdf documents by creating a new post type suited for this purpose. Include text and buttons specific to each individual PDF-document.
     15Adds a lead generation bar to the top or bottom of your pdf documents by creating a new post type suited for this purpose. Include text and buttons specific to each individual PDF-document in order to guide traffic from your PDF files.
     16
     17To display PDF files in the browser, the user must of course have a PDF reader installed (e.g. Adobe Reader). Mobile users will load PDFs in their native PDF readers by default.
     18
     19This plugin is sponsored by [Adapt A/S](http://adapt.dk/)
    1620
    1721
     
    1923
    20241. Upload `simple-pdf-bar`-folder to the `/wp-content/plugins/` directory
    21 2. Activate the plugin through the 'Plugins' menu in WordPress
    22 3. Go to Settings —> Permalinks and click the ‘Save changes’ button to update permalink structure
    23 4. Upload PDFs and configure the bar by clicking the `Simple PDF bar` link in the admin menu
     252. Activate the plugin through the 'Plugins' menu in WordPress
     263. Upload PDFs and configure the bar by clicking the `Simple PDF bar` link in the admin menu
     27
     28== Frequently Asked Questions ==
     29
     30= Is there a fallback for users with no PDF reader installed? =
     31
     32Yes, such users will be provided with a direct download link to the PDF file.
     33
     34= Why do I get a ‘page not found’ error when trying to view PDF? =
     35
     36You probably need to update the permalink structure.
     37Go to Settings —> Permalinks and click the ‘Save changes’ button to update permalink structure.
     38
     39= Why is my PDF not loading? =
     40
     41It might be because you’ve tried to upload a file that’s too big. Check upload_max_filesize in your php.ini file.
     42
     43= In which browsers have the plugin been tested? =
     44
     45Tested in IE11, IE10, IE9, Firefox, Safari, Chrome (with Adobe Reader installed)
     46
     47= Can I overwrite the PDF Bar CSS if needed? =
     48
     49Yes, you can do this directly from your own theme’s css.
    2450
    2551== Screenshots ==
    2652
    2753== Changelog ==
     54
     55= 1.0.1 =
     56* Safari load problem fixed
     57* Double scrollbar removed
    2858
    2959= 1.0 =
     
    3262== Upgrade Notice ==
    3363
     64= 1.0.1 = Safari load issue fixed + double scrollbar removed
     65
    3466= 1.0 = First published version.
Note: See TracChangeset for help on using the changeset viewer.