Categories

«prettyPhoto» plug-in

Template-help.com Team Ноябрь 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:


Эта запись была размещена в Misc и помечена как jQuery. Добавьте в закладки постоянную ссылку.

Submit a ticket

Если вы не смогли найти подходящее решение проблемы, пожалуйста воспользуйтесь следующей ссылкой, чтобы отправить запрос команде технической поддержки.
Отправить запросВы получите ответ в течение 24 часов