Forums

Shadowbox JS not working (10 posts)

  1. ms2thdr
    Member
    Posted 2 months ago #

    I can not seem to get Shadowbox to work for me. I have tried using various sized inserts and reinstalled both wordpress and shadowbox js with no success. Any ideas as to what I'm doing wrong?

    The url of the post is

    http://hjsblog.hali.org/?p=331&preview=true&preview_id=331&preview_nonce=6b6a37c51b

  2. sivel
    Member
    Posted 2 months ago #

    That link is not accessible by the public. Since it is a preview url I would have to be logged in as you to access it. Best thing I can recommend is publishing it so that we can see it.

  3. ms2thdr
    Member
    Posted 2 months ago #

    Ugh, sorry about that. Here is a regular post so you can see

    http://hjsblog.hali.org/?p=320

  4. sivel
    Member
    Posted 2 months ago #

    This plugin, like all of the other "lightbox" like plugins, operate based on links and not on images.

    So basically what you are doing is:

    <img src="http://example.org/image.jpg: />

    But what you need to do is:

    <a href="http://example.org/image.jpg" alt="image title"><img src="http://example.org/image.jpg: /></a>

    This plugin will automatically add the activator rel attribute to the link. However, if you want to add the activator rel attribure yourself you can add rel="shadowbox" to the anchor tag like so:

    <a href="http://example.org/image.jpg" rel="shadowbox" alt="image title"><img src="http://example.org/image.jpg: /></a>

  5. ms2thdr
    Member
    Posted 2 months ago #

    My many thanks! I appreciate your help with this.

  6. mpetticord
    Member
    Posted 1 month ago #

    I am having trouble getting shadowbox-js to work. Have newest update of WPress and loaded Shadow in plugins folder on my server -- activated it. Now when I load an image, just goes to a page - the shadow box does not work.

    I saw this post with your instruction. But my server or the wordpress media area does not create the "<a href= for the link.

    <img src="http://example.org/image.jpg: />

    I watched a tutorial from WebUniversity and all he did was activate the plug in, access an image from his server and it works with out any addtionional code.

    What am I doing wrong? I am using latest Firefox and wordpress. still don't understand what you meant by that link above. That looks like an html link I would imbed to create a web on a page. tryed it, but it does not work, nor does my server give me an address that starts with <a href=

    What am I missing? Mark

  7. jafp_pe
    Member
    Posted 4 days ago #

    install, activate the plugin and I'm not using the rel functions and all ... but all I want to observe: http://www.juegostotales.com and I want to tell me please because I do not work the plugin

  8. jafp_pe
    Member
    Posted 3 days ago #

    solution please.. urgent.

  9. jafp_pe
    Member
    Posted 1 day ago #

    ..................

  10. sivel
    Member
    Posted 1 day ago #

    Please do not hijack other threads. The other thread you created was sufficient and was answered there. See http://wordpress.org/support/topic/334262?replies=3

Reply

You must log in to post.

About this Topic