Strict Standards: Non-static method Twitter::path() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/twitter.php on line 33

Strict Standards: Non-static method Twitter::send() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/twitter.php on line 34

Strict Standards: Non-static method Twitter::user() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/twitter.php on line 35

Strict Standards: Non-static method Twitter::cookie() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.user.php on line 25

Strict Standards: Non-static method Twitter::path() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.cookie.php on line 11

Strict Standards: Non-static method Twitter::send() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.user.php on line 27

Strict Standards: Non-static method Twitter::send() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.user.php on line 51

Strict Standards: Non-static method Twitter::session() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.user.php on line 53

Strict Standards: Non-static method Twitter::user() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.session.php on line 16

Strict Standards: Non-static method Twitter::cookie() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.user.php on line 54

Strict Standards: Non-static method Twitter::path() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.cookie.php on line 11

Strict Standards: Non-static method Twitter::send() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.user.php on line 55

Strict Standards: Non-static method Twitter::session() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.user.php on line 59

Strict Standards: Non-static method Twitter::user() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.session.php on line 16

Strict Standards: Non-static method Twitter::path() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.session.php on line 17

Strict Standards: Non-static method Twitter::message() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/twitter.php on line 36

Strict Standards: Non-static method Twitter::user() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.message.php on line 9

Strict Standards: Non-static method Twitter::cookie() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.message.php on line 17

Strict Standards: Non-static method Twitter::user() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.cookie.php on line 22

Strict Standards: Non-static method Twitter::path() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.cookie.php on line 11

Strict Standards: Non-static method Twitter::session() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.message.php on line 19

Strict Standards: Non-static method Twitter::user() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.session.php on line 16

Strict Standards: Non-static method Twitter::path() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.session.php on line 17

Strict Standards: Non-static method Twitter::send() should not be called statically in /home/dvdepo/public_html/videolightbox-com/rq/core/helpers/twitter/twitter.message.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/twitter.php:33) in /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/template.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/twitter.php:33) in /home/dvdepo/public_html/videolightbox-com/rq/core/plugins/template.php on line 45
Link jquery flash lightbox to hotspots
English  Italiano  Français  Español  Dansk  Deutsch  Deutsch  Português  Suomi 
Video Lightbox

I want to link several jquery flash lightbox videos to hotspots

Nov 18, 2011

Q: I've downloaded your software and because I love what I've seen.
However, I would like to do something slightly different than the ways I've seen it done on your site.
Instead of linking the Video Lightbox from a gallery, single image or text link, I want to link several videos to hotspots
I have made on an image so that when the user clicks on that region of the image the video opens in its Lightbox
over the parent page and plays.

I desperately need a solution for this ASAP!

A: You should:

1) Change the following code in engine/js/videolightbox.js:

$("#videogallery a[rel]")




to

$("#videogallery a[rel],#watch, #watch2")



Notice you should use unique id for each video.

2) Specify the link/image with the id="watch":

<img src ="planets.gif" width="549" height="270" alt="Planets" usemap ="#planetmap" />

<map name="planetmap">
<area shape="rect" coords="0,0,109,107" rel="#voverlay" href="http://www.youtube.com/v/jp-qh3heb04?autoplay=1&rel=0" id="watch" style="cursor: pointer"/>
<area shape="rect" coords="180,131,541,264" rel="#voverlay" href="http://www.youtube.com/v/JzwWqkxBb5I?autoplay=1&rel=0" id="watch2" style="cursor: pointer"/>
</map>

Related