Comments (4)
Focus handling in a web page is quite difficult to "pick", so that clickable area was made for making sure that the focus is on the game. I've tried some solutions but what really works on most of the devices (iPad using hardware keyboards, over all) is that one.
Probably something in the middle is doable: you can try to set the focus on the hidden textarea on click of the screen area. Should be simple to try. Then... tell how works or commit on your branch! :)
from akihabara.
Ok lets give it a try thanks.
from akihabara.
Ok i've found the problem, the solution to my problem was here:
<-/ FRAMESET rows="60, 100%" border="0" onload="document.getElementById('mainFrame').focus();">
Just adding the document...blabla in the onload event on the frameset. I gess that if you are using the <-/body> tag have also solution with the same or similar thing.
from akihabara.
Embeddability was totally ignored during development, since was meant for the one-page-one-game way - makes mobile versions easier to play. But surely is something that needs some love too. I'll add this to the todo.
from akihabara.
Related Issues (13)
- Add .DS_Store to your global git ignores. HOT 2
- chrome HOT 8
- Crashes in Chrome 13 HOT 1
- debugfont.png should be specifiable HOT 14
- Collision with small tiles HOT 2
- Documentation HOT 9
- Would like to help out HOT 2
- Chrome 6.0.472.62 Windows crashes playing Capman HOT 5
- IE9 beta HOT 5
- Chromium 9: Crashs on loading local games HOT 5
- Fails to load on Android 2.2 (WebKit browser) HOT 3
- Touch interface does not work on Android 2.2 in a WebKit browser HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akihabara.