By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,188 Members | 834 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,188 IT Pros & Developers. It's quick & easy.

simulation of left mouse click

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
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


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);}
Jul 17 '05 #2

P: n/a
MikeLory wrote:
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


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/
Jul 17 '05 #3

P: n/a
MikeLory wrote:
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


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(){document.images[0].click();}

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

Mick
Jul 17 '05 #4

P: n/a
.oO(MikeLory)
I need a script that simulates a left mouse click on specified area of
the screen when the page is loaded.
Why? Doesn't really make sense. Maybe you could explain what you're
trying to achieve.
Any idea?


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

Micha
Jul 17 '05 #5

P: n/a
MikeLory wrote:
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


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/

Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.