HTML: How to move images?

ramana_slv

ramana_slv

@ramana-slv-xx4JdA Oct 23, 2024
how to move images one by one ?


plz give me reply with an example................................

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Morningdot Hablu

    Morningdot Hablu

    @morningdot-6Xuj4M Jul 10, 2010

    Re: Html

    I think we can't do this just by html we must take some help of some script language like PHP,JAVA SCRIPT,JAVA etc.

    Correct me if i am wrong.
  • rishi0922

    rishi0922

    @rishi0922-a2xTAa Jul 10, 2010

    Re: Html

    yes ramana you can move the images one by one in html only......../

    see this coding and try it by your own......


    <html>
    <body bgcolor="pink">
    <marquee behavior="alternate" bgcolor="yellow" > </img> </img></marquee>
    </body>
    </html>


    and in this example you can give the values by your own and you can also add some more tags and make it beautiful. You can also make all the images as some link and move it ......./
    ok all the best ........./
  • Sahithi Pallavi

    Sahithi Pallavi

    @sahithi-oJZaYj Jul 11, 2010

    Re: Html

    hey rishi, its working. Thanks!
    And now, I want to move the images from left, I can change the behavior as left. But I don't want the empty space between the first image and the last image while scrolling. I want the continuous scrolling.
    Can you tell me what to do?
  • ramana_slv

    ramana_slv

    @ramana-slv-xx4JdA Jul 11, 2010

    Re: Html

    Thank you rishi. It's working.
  • Morningdot Hablu

    Morningdot Hablu

    @morningdot-6Xuj4M Jul 11, 2010

    ramana_slv
    how to move images one by one ?
    hey buddy i talk about the appearing images one by one.
    are you sure rishi answer that what you talking about.
    Realy i don't understand moving images one by one right left and together or what.
  • rishi0922

    rishi0922

    @rishi0922-a2xTAa Jul 11, 2010

    hey mohit he is talking about moving the images not about appearing the images one by one............/
    /
    for making the images to appear one by one we have to use javascript......../
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Jul 11, 2010

    Mohit This is script for what you are looking for?

    <head>
    <title></title>
    <script type="text/javascript">
    function change_header()
    {
    document.getElementById("pic").src="";
    setTimeout("mr()",1000);
    }
    function mr()
    {
    document.getElementById("pic").src="";
    setTimeout("mri()",1000);
    }
    function mri()
    {
    document.getElementById("pic").src="";
    setTimeout("change_header()",1000);
    }
    </script>
    
    </head>
    <body onload="change_header()">
    <center><img src="" id="pic"></center>
    </body>
    
  • rishi0922

    rishi0922

    @rishi0922-a2xTAa Jul 11, 2010

    Thanks Goyal it really worked......../
  • jhbalaji

    jhbalaji

    @jhbalaji-AH60JJ Jul 11, 2010

    If you guys have to play more
    Just try jQuery!
    It's really a great framework for JavaScript 😀
  • Morningdot Hablu

    Morningdot Hablu

    @morningdot-6Xuj4M Jul 11, 2010

    Thanks goyal it's working.