imagebutton problems with different browsers
Posted: Wed Jan 06, 2016 1:54 pm
I had problems with this simple code: (used ESP Basic V1.71)
imagebutton "test.png" [you_clicked_me]
button Exit [TestExit]
wait
[you_clicked_me]
print "you clicked me"
wait
[TestExit]
end
This works perfect with my google chrome webbrowser. It prints some text on a mouse-click.
However Internet Explorer shows my picture but does not react on the click-event. Firefox has the same problem. A browser on android works perfect.....
Chrome uses the link 'http://192.168.7.60/input?goto1.x=25&goto1.y=34&goto1=test.png' while IE uses a shorter link 'http://192.168.7.60/input?goto1.x=35&goto1.y=32'
I have tested this now on several different computers....windows and linux. All with the same result. Concluded it only works with chrome. Am I missing something very essential here?
imagebutton "test.png" [you_clicked_me]
button Exit [TestExit]
wait
[you_clicked_me]
print "you clicked me"
wait
[TestExit]
end
This works perfect with my google chrome webbrowser. It prints some text on a mouse-click.
However Internet Explorer shows my picture but does not react on the click-event. Firefox has the same problem. A browser on android works perfect.....
Chrome uses the link 'http://192.168.7.60/input?goto1.x=25&goto1.y=34&goto1=test.png' while IE uses a shorter link 'http://192.168.7.60/input?goto1.x=35&goto1.y=32'
I have tested this now on several different computers....windows and linux. All with the same result. Concluded it only works with chrome. Am I missing something very essential here?