Changeset 1173702
- Timestamp:
- 06/03/2015 03:29:09 PM (11 years ago)
- Location:
- simple-pdf-bar/trunk
- Files:
-
- 3 edited
-
css/style.css (modified) (1 diff)
-
js/pdf-display.js (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-pdf-bar/trunk/css/style.css
r1172628 r1173702 1 1 @charset "UTF-8"; 2 2 @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600); 3 4 html { 5 overflow-y: hidden; 6 } 3 7 4 8 body { -
simple-pdf-bar/trunk/js/pdf-display.js
r1172628 r1173702 9 9 //Fetch URL of pdf 10 10 var objectData = $("object#pdf-main").attr("data"); 11 //remove content of data-attribute12 $("object#pdf-main").attr("data", "");13 11 12 //Determine height of PDF 14 13 var objectHeight = windowHeight - barHeight; 15 //add bottom padding 14 15 //Assign correct height 16 16 $("object#pdf-main").attr("height", objectHeight); 17 17 -
simple-pdf-bar/trunk/readme.txt
r1172628 r1173702 13 13 == Description == 14 14 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. 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 in order to guide traffic from your PDF files. 16 17 To 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 19 This plugin is sponsored by [Adapt A/S](http://adapt.dk/) 16 20 17 21 … … 19 23 20 24 1. 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 25 2. Activate the plugin through the 'Plugins' menu in WordPress 26 3. 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 32 Yes, 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 36 You probably need to update the permalink structure. 37 Go to Settings —> Permalinks and click the ‘Save changes’ button to update permalink structure. 38 39 = Why is my PDF not loading? = 40 41 It 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 45 Tested in IE11, IE10, IE9, Firefox, Safari, Chrome (with Adobe Reader installed) 46 47 = Can I overwrite the PDF Bar CSS if needed? = 48 49 Yes, you can do this directly from your own theme’s css. 24 50 25 51 == Screenshots == 26 52 27 53 == Changelog == 54 55 = 1.0.1 = 56 * Safari load problem fixed 57 * Double scrollbar removed 28 58 29 59 = 1.0 = … … 32 62 == Upgrade Notice == 33 63 64 = 1.0.1 = Safari load issue fixed + double scrollbar removed 65 34 66 = 1.0 = First published version.
Note: See TracChangeset
for help on using the changeset viewer.