1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I need some help with coding - auto opening an image or link when visitor enters the site

Discussion in 'BlackHat Lounge' started by Azraeil, May 19, 2013.

  1. Azraeil

    Azraeil Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    171
    Likes Received:
    100
    I have a problem with Wordpress. I am trying to get my wordpress to open an image as soon as they enter the site. The picture is "Picture of the day" and i want it to be displayed to everyone as soon as they enter the site.

    Short explanation - 1) Visitor enters the site 2) Site emulates a click and opens picture of the day

    Does wanyone know how this is done, i have been looking for hours and nothing
     
  2. Zapdos

    Zapdos Power Member

    Joined:
    Oct 22, 2011
    Messages:
    597
    Likes Received:
    708
    Location:
    Eastern North Carolina
    Code:
    <img src="LINK TO IMG"></img>
    or

    (with jquery + colorbox. pseudo-code)
    Code:
    $(document).ready(function() {
      $('.imageContainer').colorbox();
    });

    There are several ways. you need to be more specific on what and why you want it.
     
    • Thanks Thanks x 1