Categories

“prettyPhoto” plug-in

Template-help.com Team November 15, 2010
Rating: 3.0/5. From 5 votes.
Please wait...

This script allows you to add videoclips to your site using prettyPhoto plug-in.

JavaScript
In order to make the script work, the index-#.html file with a video should contain these lines of HTML code in order to include the jquery.prettyPhoto.js script and the jQuery framework:


The <head> section of the index-#.html (or the section just before the closing </body> tag) file contains these lines of code that initialize the script functionality with basic values:


HTML
Below you can see the general HTML script representation:


Here we set up the video player file name video_AS3.swf and the video width and height parameters, video file name (fileVideo) and video description (title). Pay attention: parameter rel=”prettyPhoto” is mandatory.

CSS
In order to make the script work, the index-#.html file with a slider should contain these lines of HTML code in order to include the prettyPhoto.css style sheet file:


This entry was posted in Misc and tagged jQuery. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket