Questions

Answer

How to use Shadowbox with a flash component

First, download and install Shadowbox (possibility to pop-up images, videos and SWFs) using their tutorial.

Next, in your images.xml file at the url (or link for some components) attribute try to specify something like this:

url="javascript:LaunchShadowbox('images/01.jpg','img','First Image')" target="_self"

Also in your HTML file that embeds the SWF you'll have to write the following JavaScript code between the <head></head> tags:

<script type="text/javascript">
function LaunchShadowbox(url,player,title){
Shadowbox.init();
Shadowbox.open({content: url, player: player, title:title});
}
</script>

Note that the Mediabox will not work if tested locally. You’ll have to test it on a HTTP server.

Comments

  • Page:
  • <
  • 1
  • 2
  • 3
  • 4
  • 5
  • >
  • loading comments...

jordon

Posted 8 years ago

This is the xml to launch a single image via shadowbox:

url=“javascript:Laun chShadowbox(‘images/01.jpg’,‘img’,‘First Image’)” target=”_self”

What should this look like if you’re adding several images to one set?

FlashXML Support

Hi,

This is not possible using Shadowbox, but you can try to implement Lightbox using the step 4A.

Daniele

Posted 8 years ago

Hello guys, how do i play a flash video in a shadowbox popup from an image-scroller thumbnail? I use image-scroller as a menu and i’d like to be able to load the vido both from ftp or from youtube itself, as well as any other video channel allowed, so that i can choose to load it from my ftp space or streaming from i.e. youtube.

this is the line i put in my images-home.xml
<photo image=“images-home/5-150×150.jpg” bigimage=“images-home/5.jpg” url=“javascript:LaunchShadowbox(‘http://www.danielepezzella.it/wp-content/flashxml/video-player-fx/video/napoleone.flv’,‘img’,‘First Image’)” >Euronics Tv Commercial</photo>

in my “about me page, everything works fine, but not in my home page.(i’m testing it on the thumbnail with the lion inside)
Thanks in advance for the help
Regards.

FlashXML Support

Hi,

Sorry , but this feature is not implemented.

Daniele

Posted 8 years ago

Dear team, i’ve just came up with my problem. So please don’t consider my previous request.
Thanks.

Daniele

Posted 8 years ago

Hello Team,
i’m trying to use shadowbox instead of lightbox with the image-scroller i purchased a few months ago.
Everything seems to work except for the image that is not loaded. It appears the loading weel and then nothing happens. Can you give me a suggestion? thanks.

PS: You can experience the problem on the last image in the linked page (the first on the right)

Regards.

Jack

Posted 9 years ago

Hi I am also trying to use shadowbox in teh 3D carousel photogallery, so that if i click on a thumbnail I get a shadowbox popup. I tried to follow the above instructions but it doesnt work. Could you please give me step by step instructions how to do so ?
Thanksin advance.
God belss

FlashXML Support

Hi,

Please send us the link to your website and we will check where the problem could be.

  • loading comments...
  • Page:
  • <
  • 1
  • 2
  • 3
  • 4
  • 5
  • >

Do you have a question?

you will get an answer in 24 hours, tops.

(required) Only alphanumeric characters allowed
(required) (will not be published)
Please type a message! Your message is too long! Either try to keep within 1500 characters, or contact our support team via email at support [at] flashxml.net.
(will not be published)
You mistyped the two words!
Can't read? Change the image
Format your comments using Textile: *bold*, _italic_, "link text":address, @code@
Connect to us on Facebook Follow us on Twitter Subscribe to our RSS feed
Copyright © FlashXML.net 2009 - 2020