I realize this has been covered to no end on the web in much more detail and compulsion than I would here. But I do use this quite a bit, so here is my version of it.
The PHP Fancy Hidden Extension Technique, or PFHET is basically hiding the .php from your users and the capturing whatever comes after the filename as your query to that PHP file. So the idea is that you can ditch the whole "action.php?query=something" altogether in favor of something like "action/something" which is obviously nicer -- and search engine friendly I might add.
Ever want to be able to allow people to download some of your sweet wallpapers that you've designed? The problem is, what resolution do you offer? Tricky, no? In a lot of ways it echoes the same issues of web design -- do you design for the lowest common denominator, i.e. 800×600, or do you make a bunch of them at different sizes? That seems dumb -- and a lot of work. Not to mention what about the crazy laptop resolutions out there like 1440×768. Are you gonna offer that size too?
Don't bother -- I have the solution for you! the One-Size-Fits-All Desktop Downloader -- let's call it the OSFADD. It uses JavaScript to detect the system resolution, then sends an AJAX request to PHP that auto-generates a sized image for you and then returns the image to the browser -- all without leaving the page. Another nice feature is that it only creates new images if it hasn't yet -- cutting down on unnecessary server load. I'm posting the source up -- lets start thinking smarter not harder kids.
Oh, and BTW, I am also using some pretty tricky PHP stuff to use the url to figure out the image using the PHP Fancy Hidden Extension Technique. So, if I had a different source image besides "wallpaper.png", say "other.png" you could change the last portion of the url from "wallpaper" to "other" and it will grab that PNG instead. Pretty slick, huh?
Try out the OSFADD now!
If you are reading this, it's probably because you got redirected here when you clicked on "This functionality has been removed from Safari because Apple developers are elitists.". Either that, or you searched for something like "the" - nice one. Either way, I am here to tell you that right now, I think Safari sucks big time.
Why can't I style form elements? It's that simple. I want my submit button to look a certain way. I don't care that you care about usability. Not EVERY site needs to care. Yes, ok, Amazon should care. Great - I don't.
No matter what I do, unless I want to embed a specific image on the page in lieu of the regular submit button, I can't style it -- it will always be that hideous blue aqua theme. OK News Flash -- nothing on my site is aqua blue. I am a designer. I want shit to look a certain way, and that way is NOT aqua blue.
I need to quote a web developer from this article that basically covers the issue at hand: "and who's going to make the Aqua buttons look better anyway". Is this guy for real? Apparently, according to the "Man In Blue", the Aqua submit button is the perfect button for every occasion. How nice for you both -- and how convenient your site is all blue.
Anyhow, so I am disabling all form objects on my site in Safari in protest. I mean, I have to say, the IE team are a bunch of retards, but at least there are HACKS available to fix their stupidity. Safari developers aren't stupid -- they are elitists -- and I am afraid there is only room for one design elitist on THIS website.
Do you have something that you plan on displaying in your browser that is a specific size? Want to resize the browser viewing area to exactly match it? Want to do all this in a popup window? While, yes, resizing browsers is not a good usability idea, I have come up with a (I think) bulletproof way to size the browser viewport to it's inside dimensions.
The Javascript Inner Viewport Resize Method, allows you to resize the browser to match an exact size and location that you specify. Originally, i built it to automatically display media in a pop-up window nice and centered -- check this out.
But for all you flash pop-up/fullscreen guys that have been crying foul all this time, it's now your day in the sun. Improvements welcome.
Hi,
Just wondering if you can help. I stumbled across your viewport inner resize method, which sounds great but I cannot get it to work as desired - the function runs without errors, but the window always shrinks to a tiny square in Firefox 3 and IE6. I fear I may be missing something obvious. I've set up a test page so you can see.
Thanks,
Jim
fdsgsfdg fsd gfs gsfdgfd
dg dfh dgf hdgf hdgfh
gdsfg ds sdfgfs sfd
gfd sdg sdfgsfdg df
md njsdfk vkjdfslv
gfdsg fd gdfg
h gdhdg hdgfh dg hdgf hdg
jjhfj fhj fh jfgjfhj fg
g fd dfgfdg fdsg fsg sfd
dhsuv dsfvchdfs hvdfhvjkldfs
Hi!
Hello!!
hi