Appearing image help needed

3 replies
I'm looking for a way to have an order button or link show up on a web page at a specific time. Like after 3 minutes or so.

Anyone know of a software or how to do this?

I saw this on another page on the web and it was unexpected and kinda cool.

I suspect it is a java script.

Simply I am looking to have an image that cannot be seen and show up at a specific time and have a link embedded so it can be clicked on and forwarded to another web page.

Thanks

Keith
#appearing #image #needed
  • Profile picture of the author thewebhostingdir
    You can do this using the javascript. Once the page load, you make that button's style to NONE and then count the seconds. Once the required time has been elapsed, you can make the button visible.
    {{ DiscussionBoard.errors[938033].message }}
    • Profile picture of the author klittle
      Can you tell me what the script is called and where to find it?

      Thanks.

      Keith
      {{ DiscussionBoard.errors[938240].message }}
      • Profile picture of the author ryanstreet
        Code:
            <script type="text/javascript">
            function showImage() {
            //Set number of miliseconds in which you want your image to display
            window.setTimeout('showImage2()',3000);
            }
            
            function showImage2() {
            document.getElementById("myImage").style.visibility = "visible"
            }
            </script>
        
        <img id="myImage" src="myImage.jpg" alt="My Hidden Image" style="visibility:hidden;" title="My Hidden Image" />
        I hope this helps.
        Signature
        Ryan Street
        PHP Developer Specializing in WordPress and Magento
        {{ DiscussionBoard.errors[938845].message }}

Trending Topics