simulation of left mouse click

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MikeLory

    #1

    simulation of left mouse click

    Hi All.
    I was looking for this script for some time now
    But still didmf fined a salution. Pls help
    I need a script that simulates a left mouse click on specified area of
    the screen when the page is loaded. Any idea? Thank you
  • porneL

    #2
    Re: simulation of left mouse click

    [color=blue]
    > I need a script that simulates a left mouse click on specified area of
    > the screen when the page is loaded. Any idea? Thank you[/color]

    You're looking in a wrong place.

    The fact that you need such functionality suggests that
    your code/design is bad already,
    redesign your page to act normally.

    PHP can't simulate clicks.

    --
    * html {redirect-to: url(http://osiolki.net);}

    Comment

    • Chris Hope

      #3
      Re: simulation of left mouse click

      MikeLory wrote:
      [color=blue]
      > I was looking for this script for some time now
      > But still didmf fined a salution. Pls help
      > I need a script that simulates a left mouse click on specified area of
      > the screen when the page is loaded. Any idea? Thank you[/color]

      You need to find a javascript group as this is something done on the
      client side. PHP is run on the web server and not in the client's
      browser so it has no concept of the screen or mouse clicks.

      --
      Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/

      Comment

      • Mick White

        #4
        Re: simulation of left mouse click

        MikeLory wrote:[color=blue]
        > Hi All.
        > I was looking for this script for some time now
        > But still didmf fined a salution. Pls help
        > I need a script that simulates a left mouse click on specified area of
        > the screen when the page is loaded. Any idea? Thank you[/color]

        You need to do this using javascript, normally you would apply this to
        an element rather than a particular area of the browser window (the
        screen is not available).

        Something like the following;

        onload= function(){docu ment.images[0].click();}

        Which "clicks" the first image defined in a document.

        Mick

        Comment

        • Michael Fesser

          #5
          Re: simulation of left mouse click

          .oO(MikeLory)
          [color=blue]
          >I need a script that simulates a left mouse click on specified area of
          >the screen when the page is loaded.[/color]

          Why? Doesn't really make sense. Maybe you could explain what you're
          trying to achieve.
          [color=blue]
          >Any idea?[/color]

          What about systems/browsers without a pointing device/mouse support?

          Micha

          Comment

          • R. Rajesh Jeba Anbiah

            #6
            Re: simulation of left mouse click

            MikeLory wrote:[color=blue]
            > Hi All.
            > I was looking for this script for some time now
            > But still didmf fined a salution. Pls help
            > I need a script that simulates a left mouse click on specified area[/color]
            of[color=blue]
            > the screen when the page is loaded. Any idea? Thank you[/color]

            Not clear. Perhaps you're looking for Post2Host script?

            --
            <?php echo 'Just another PHP saint'; ?>
            Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

            Comment

            Working...