Community Page
- buildingbrowsergames.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- I get errors like this: "Notice: Use of undefined constant attacker - assumed 'attacker' in /Users/Niels/Sites/bg/smarty/bg/forest.php on line 53" Caused by the arrays:...
- I read this tutorial and it help me get in the mindset I needed to be in to start my first big project. Nice job on the tut and I look forward to reading more from you. If you want to check out my...
- You're missing the string formatting that puts arguments into your SQL statement - add that, and you should be good to go.
- "SELECT value FROM user_stats WHERE stat_id = (SELECT id FROM stats WHERE display_name = <foo> OR short_name = <foo>) AND user_id = <bar>" i have inserted this into sql...
- The source is definitely all still there - take a look at http://code.google.com/p/building-browsergames-tutorial/, and click on the 'Source' tab.
Jump to original thread »
Introduction
This covers the same material as this entry from Building Browsergames: Making Your Forms Auto-Focus
Why Do We Have To Do Anything Different?
The advice is excellent and it works perfectly, but it has to be tweaked ever so slightly for Rails. Rails actually generates your fo ... Continue reading »
This covers the same material as this entry from Building Browsergames: Making Your Forms Auto-Focus
Why Do We Have To Do Anything Different?
The advice is excellent and it works perfectly, but it has to be tweaked ever so slightly for Rails. Rails actually generates your fo ... Continue reading »
10 months ago
<pre>
$(window).ready(function(){
$("input:nth-child(0)").focus()
})
</pre>
with Prototype you can do:
<pre>
document.observe("window:loaded", function() {
// initially hide all containers for tab content
$('user_login').focus()
});
</pre>
9 months ago
5 months ago
4 months ago