This article explains how my Fidget jQuery plugin can be used to easily use the Touch events within Mobile WebKit to detect various gestures. You will build a very simple interface that allows a lecturer to organise students into 2 different groups, simply by dragging.
Because of the way devices like the iPad handle traditional mouse events, it is better to use the available Touch events instead, and Fidget simplifies a process that...
User Profile
Collapse
-
Build a Multi-Touch Interface with the Fidget jQuery Plugin
-
Or the new HTML5 input types:
Will bring up the appropriate keypad if the mobile browser supports it. If not, then it is treated like a text field for backwards compatibility.Code:<input type="tel"> <input type="number">
More: http://www.456bereastreet.com/archiv...5_input_types/ -
You could just create a <div> element to hold the contents of your page in. Give it a CSS property "margin: 0 auto" to center it on the page and "width: ***px" to give it a fixed width. Any other HTML tags can be placed within the DIV.
If you don't like using CSS then just positioning a table in the page would do almost the same, but the W3C would prefer you to use CSS for layout instead of tables.Leave a comment:
-
You will need to use a server-side database (such as MySQL) and write your pages in PHP to allow people to post comments since static HTML pages won't work. You can always find free forums or even guestbooks that you can add to your site. Just search around.Leave a comment:
-
Use "margin: 0 auto" for the DIV to position it in the middle.Leave a comment:
-
-
Implementing a PHP Poll without compromising server filesystem security.
I found a tutorial to make a PHP poll for my website from the site here.
I just wanted to know if it was safe to use PHP to write to a text file on the server. I think I remember once hearing that it can be dangerous to allow things like this since it doesn't use MySQL to store the results (but I'm probably wrong).
Any reassurance would be greatly received.
No activity results to display
Show More
Leave a comment: