[resolved] OnClick and Mouseover an image (4 posts)

  1. amarstyle
    Posted 3 years ago #

    OnClick and Mouseover an image
    Can some one help me please.
    I have an image of a button on of the slide. the pic changes on mouseover. Also onclick it suppose to take the visitors to another page. but it stays in the same page.

    It is the first slide of my home page where is says "Shop Now".

    Here is my site URL: https://www.amarstyle.com

    Thanks in advance....

  2. amarstyle
    Posted 3 years ago #

    NVM...i figured it out.

  3. Hi @amarstyle,
    Very glad you figured out how to fix the issue.
    If you have a second, it would be great if you could add a few sentences explaining what you did to fix the button and mark this post as resolved.
    Others may benefit from your knowledge. :)

  4. amarstyle
    Posted 3 years ago #

    here is what i did.

    <div class="content" style="background: url('/sitefiles/images/slider/jewelry_slide2.png'); width: 1000px; height: 450px;" onclick="location.href='https://www.amarstyle.com/product-category/jewelry'">
    <div style="position:absolute; bottom:5px; right:271px;">

    <img name="shopnow" src="/sitefiles/images/slider/shopnowbutton.png" width="200px" height="50px" alt="Shop Now">

Topic Closed

This topic has been closed to new replies.

About this Topic