Definition at line 39 of file video_gallery_view.inc.
◆ drawGallery()
VideoGalleryView::drawGallery |
( |
| ) |
|
Definition at line 56 of file video_gallery_view.inc.
61 <script type=
"text/javascript" src=
"/components/video/js/video_gallery.js"></script>
62 <script type=
"text/javascript">
64 window.addEvent(
'domready',
function()
71 $width = intval((count($this->listView->videos) / 2) + 1) * 185;
72 $this->listView->styles=
"position: absolute; width: {$width}px";
77 <div
id=
"<?echo $this->id?>_left" style=
"width: 32px; float: left;<?echo $this->styles?>"><img
id=
"<?echo $this->id?>_scroll_left" src=
"/components/video/images/scroll_left.png" style=
"margin-top: 160px"/>&
nbsp;</div>
78 <div
id=
"<?echo $this->id?>" style=
"width: 560px; height: 450px; position: relative; overflow: hidden; float: left">
80 $this->listView->drawGrid();
83 <div
id=
"<?echo $this->id?>_right" style=
"width: 32px; float: left"><img
id=
"<?echo $this->id?>_scroll_right" src=
"/components/video/images/scroll_right.png" style=
"margin-top: 160px"/>&
nbsp;</div>
◆ VideoGalleryView()
VideoGalleryView::VideoGalleryView |
( |
|
$videos, |
|
|
|
$linkFormat, |
|
|
|
$id = "videos" , |
|
|
|
$onClick |
|
) |
| |
◆ $id
◆ $linkFormat
VideoGalleryView::$linkFormat |
◆ $listView
VideoGalleryView::$listView |
◆ $onClick
VideoGalleryView::$onClick |
◆ $spacing
VideoGalleryView::$spacing = 0 |
◆ $styles
VideoGalleryView::$styles |
◆ $videos
VideoGalleryView::$videos |
The documentation for this class was generated from the following file: