• Hi Everyone,

    I am trying to do a Fancybox, but I am having some issues calling the function.


    This is the Java Script...

    function openPopup(linktourl,w,h,type)
    {
    $.fancybox({
    href : linktourl,
    width: w,
    height: h,
    type : type,
    padding : 5
    });
    }

    This the XML

    <hotspot name="iframe"
    url="coral_thumb.jpg"
    ath="0" atv="0"
    distorted="true"
    onclick="js(openPopup('iframe.html', 800, 360, 'iframe'));"
    />

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!