Tutorials on implementing Drupal Pageear to ordinary XHTML page.
Somebody ask me if they can implement the GPL Pageear module of Drupal CMS to an ordinary XHMTL pages.
The answer is yes and it was very easy to used in ordinary html page. The implementation is quite easy, actually I already first implement it on one of the site I created that doesn't use Drupal CMS.
Take a look at http://dlsu-cad.co.cc on the top left is the pageear, the site is just an ordinary XHTML page.
So how can I use it?
Here it is:
- Download the example file
- Copy all the files needed to your website folder - All file inside the js folder and all the file inside the media folder
- Attached the 2 javascript file to you html pages - check the example page.
- Adjust the configuration in the javascript file (pageTurn.js)
- Create your two images, big.jpg and small.jpg and drop it to your website images folder
- Upload all the changes and files in your server
- Enjoy....
For the detailed instruction visit the example page
Please note: You can change the MP3 file and all the sounds for opening, loading and closing of peel. Just read the commented javascript files ( pageTurn.js ) and make sure to update the path to your files in the configuration variable of javascript files.
To be safe from broken links use an absolute path to your files.
| Attachment | Size |
|---|---|
| pageeargpl.zip | 105.96 KB |
Hi. First This is a really great module and service. Thanks, Thanks, ...
Well. Which would be next step ? Maybe it could / should be integration with banner and advertising sistems or modules, like OpenAds (formerly: OpenX) or others that allow for counting how many times an ear was shown and clicked on.
What do You have planned ?