Nothing useful in that article unfortunately
currently I'm using an incredibly hackish solution (dynamically measuring the viewport, and centering the resized element on the screen).
Ideally I'd...
I'm looking for a way to have a single div that is independent of user scaling/zooming on the iPhone. Does anyone have any experience with this?
the basic goal is to pin a bar to the top of the...
I ended up just swapping out _'s inside of urls for a different character that isn't allowed in urls ('}'), making my _ substitution, then swapping }'s back into _'s
Ok, basically think of it as a comment on a blog or something to that affect. people can leave whatever comment they like, so the input could be pretty much anything. Any set of _'s will be replaced...
i should clarify that all my link text begins with http, followed and preceded by either [[:space:]] or the beginning/end of the string, it isn't put into <a>'s until after the substitution in...
Sorry, I guess i wasn't clear. Doing this when the heights of the hidden elements are explicitly defined is trivial. I'm wondering if its possible to do it if they are undefined, or rather, defined...
I'm trying to find a way to hide content above the field of view (via negative margins, most likely), and the process is very simple if I know the height of the content i'm sliding in. My dilemma...
The following code renders how I would like under gecko, but not webkit. I was thinking it was a z-indexing issue, but messing around with that didn't seem to affect anything. Any suggestions are...
I have an ajax call calling the following chunk of code to make sure users don't input an invalid name. everything works as expected, except when they insert a '#', obviously its commenting out the...
has no properties usually happens (assuming the thing actually should have properties) when you try to execute javascript before the page is loaded. It may be better to put this in an onload function.
I have a site in which the header/nav are flush against the top of the browser. One of the nav buttons makes an ajax call that loads some extra data, and pushes the entire page (header/nav included)...
How would I go about testing if a row was deleted successfully in a mysql_query. Basically, I'm trying to prevent a race condition by having php attempt to delete a row from my table, but that row...
if you're returning the actual image (aka mime type image/jpeg etc.) then yes, readyState 4 will happen after the load. If you're returning html with the address of the image, then no.
I've built up a quick and dirty auto suggest search (NDA, can't link it), and everything works as expected except one thing. On google suggest, they manage to disable the default browser suggestions...