Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 3 posts - 1 through 3 (of 3 total)

Page won't open when clicking on banner

Home Forums Misc. General Forums Page won't open when clicking on banner

  • #12004

    matthewshattock

    subscriber

    Hi, not sure if you can help with this one.

    I have insterted banners into my pages and posts with code supplied by merchants I’m connected with.

    The problem is, if I try to link the code to an image the link doesn’t seem to work (The page doesn’t change).

    If I right click the image and open in a new page then the link works. Really strange.

    The link also works if I simply apply it to text.

    I’ve tested on other machines/browsers and the same problem exists.

    Here is one of the pages I’m having problems with:

    http://footballbootsreview.com/where-to-buy/

    If you see the banners don’t work so I’ve had to also add text below to link through to the merchant.

    Any help would be greatly appreciated.

    #14731

    Towfiq I.

    administrator

    Open up amphion.js file from “js” folder and replace these lines:

    jQuery("a.hasimg").fancybox({
    'transitionIn' : 'elastic',
    'transitionOut' : 'elastic',
    'speedIn' : 400,
    'speedOut' : 200,
    'overlayShow' : true
    });

    with these:

    jQuery(".hasimg[href$='.jpg'], .hasimg[href$='.png'], .hasimg[href$='.gif']").fancybox({
    'transitionIn' : 'elastic',
    'transitionOut' : 'elastic',
    'speedIn' : 400,
    'speedOut' : 200,
    'overlayShow' : true
    });

    #14732

    matthewshattock

    subscriber

    Great! Thanks for your help!