• I am using a sidebar widget that slides images using an XML file that holds the image and link code – Do you know how I can get Shadowbox to launch using the link from the xml file?
    I am surprised I have not seen this question before.

    Right now the FLV just downloads. Shadowbox is working though as I tested using a static image on the same page.

    This is one of my favorite video players, so this is important to get working. Thanks.

    http://wordpress.org/extend/plugins/shadowbox-js/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter emptymindfilms

    (@emptymindfilms)

    I tried a number of link methods from the xml file – nothing works.

    Anyone got a workaround? Thanks.

    Shadowbox JS works off of <a> tags. So basically to use Shadowbox JS there must be an <a> tag for each image on the page when it loads. Each <a> tag would also be required to have at least rel="shadowbox" as an attribute.

    Past that there are other ways of activating Shadowbox, but they lay outside of the scope of what this plugin is intended on providing. For more advanced support on what shadowbox can do you may want to check the forums on the upstream authors site at http://www.shadowbox-js.com/

    Thread Starter emptymindfilms

    (@emptymindfilms)

    Thanks – you confirmed what I thought which is a great pity really.
    I want to launch shadowbox from a sidebar widget so now I need to find one that can slide or rotate image links using normal image tag.
    I havent found one yet. Even so, this is great plugin so for now I will workaround this limitation.

    I’ve got an issue along these lines, but slightly different.
    Scenario:

    .swf map file embedded in page utilizing [Plugin: Kimili Flash Embed]
    .xml for the .swf has 250+ <a href* lines, and all lines have rel=”shadowbox” properly placed inside.

    Map renders correctly
    Links in map’s textbox load as if target _self, which tells me shadowbox isn’t being recognized.

    Question: where/which file would I include a ‘enable shadowbox’ type of script? the embed plugin? the .xml? other?

    Thanks much in advance!

    Additionally,
    I added the following script at various points in the html of the page, and in the javascript for the page (diythemes-thesis 1.8). It doesn’t have any effect, and links still load as if target was set to _self, so i’m hoping this sparks at least some suggestions or a correction that works

    <link rel=”stylesheet” type=”text/css” href=”shadowbox.css”>
    <script type=”text/javascript” src=”shadowbox.js”></script>
    <script type=”text/javascript”>
    Shadowbox.init();
    </script>

    @darrens: You do not appear to be using the Shadowbox JS plugin. If you are there is no reason to add the css and JS to the theme as the plugin handles that. In addition please do not hijack other peoples threads. Please create a new thread/topic.

    @matt: sorry, I had unhijacked it by opening another thread as you were clicking “reply” on this one.
    http://wordpress.org/support/topic/plugin-kimili-flash-embed-ignoring-target-and-rel
    shadowbox plugin IS installed and activated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Shadowbox JS] Launching the player with a link from xml file image?’ is closed to new replies.