Report Bugs Here

Moderator: Mmiscool

User avatar
By luc VdV
#38071 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?
User avatar
By Mmiscool
#38093 I do not think this works out side of web kit based browsers.

So chrome, safari, android and iPhone should all work perfectly. I found some documentation about it but have not found a solution. Want to try and keep the memory foot print low so using very minimalist html for the gui widgets to prevent overflowing the html buffer.
User avatar
By forlotto
#38109 I use firefox for everything thus far with espbasic .... Dunno your issue at current I will give it a run this weekend possibly depending on the free time I have available.

The next couple of nights are pretty stacked I may be able to post but testing is going to likely be limited.

This does get the hampster turning as to why something like this would not work on FF.

-forlotto
User avatar
By luc VdV
#38133 Thank you both for your reply and efforts. It confused me because it seemed I was the only one who had problems with it.
I still have to find out the limits of this (still wonderful) interpreter.
Maybe a note in the online-documentation would help other users from falling over the same problem again.