1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Image Changed Then Changes Back - JavaScript Issue?

Discussion in 'HTML & Website Design' started by drinkingsouls, Dec 6, 2018.

  1. #1
    I'm quite stuck with this and would appreciate some help!

    So I have a product setup using Magento (this is not a Magento specific issue) and it displays the gallery thumbnails below it for the different types of this product. When a thumbnail is clicked the main product image changes as I want it to but a second or two later it changes back to the original image. I am almost certain this is a JavaScript issue. It's like an extra onclick event is fired that is not required. I have opened the console but don't believe any of the errors there are related to this issue.

    Take a look at: https://www.design-a-cake.co.uk/photocake-edible-cake-topper-pumpkin-lanterns.html

    p.s I couldn't find a JavaScript forum, apologies if there is one.
    Thank you.
    drinkingsouls, Dec 6, 2018 IP