• What are you working on? v6
    4,671 replies, posted
[QUOTE=Fatal-Error;33570743]How are you creating scrollable panes for mobile phones? overflow:auto; doesnt work on iOS or Android. You get no scrollbars and you cannot slide the contents around.[/QUOTE] position:fixed on the fixed elements and this shit in the header: <meta name="viewport" content="width=100%; initial-scale=1; maximum-scale=1; minimum-scale=1; user-scalable=no;"> Instead of having a "scrollable panel" just have that panel be the actual website and the UI stays in the same place. Still buggy as fuck on ios but I guess that'll improve.
[html] <meta name="viewport" content="width=device-width, height=device-height , user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <link rel="apple-touch-icon-precomposed" href="ui/iPhone-icon.png"/> <link rel="apple-touch-icon" href="ui/iPhone-icon.png"/> [/html] I stack my elements verticaly ontop of eachother and let the entire page scroll. I would set my navbar as position:fixed; if it actually worked well on mobile phones.
[QUOTE=Fatal-Error;33579005] I would set my navbar as position:fixed; if it actually worked well on mobile phones.[/QUOTE] The latest versions of ios and android work perfectly. Well not perfectly, but acceptably well. You get the occasional UI not following the viewport but only occasionally.
[QUOTE=juke;33568143][img]http://f.cl.ly/items/1Q3Z2w1v2e3E0T2O3M1T/Screen%20Shot%202011-12-04%20at%2018.42.40.png[/img][/QUOTE] How do you make that slight drop shadow on the table? EDIT: nevermind I think I found out. the box-shadow property, right?
[QUOTE=adamjon858;33578202]Simple website idea I don't have time for: "timezonesync.com" or something like that. It's main use would be syncing times with people around the world for certain things most likely gaming. So let's say I want to play a video game in co-op mode with someone from Australia at a certain time. Well this website would let me put in the time in my local time for the event and then would give me a link: timezonesync.com/aIj9. I'd share that with my friends or whoever and they'd see it in their local time. Geo-IP for the win. Also, you could have an option to copy an image as well. That way you could make a forum post saying "Let's play at this time:" and then the image would show up in each person's local time. Really simple, shouldn't take more than 2 hours to make but I think it would have a small amount of users. 1....2.....3....go go facepunch webdevs.[/QUOTE] This mean you would have to detect timezone with ip. Is that reliable?
[QUOTE=zzlawlzz;33580298]This mean you would have to detect timezone with ip. Is that reliable?[/QUOTE] The reliability of the timezone detection would be a function of the reliability of the geolocation service. You could always improve accuracy by allowing the user to pick their particular timezone and save it in a cookie. So it wouldn't always be super-useful for the dynamic graphic until you've got the cookie set or you're just lucky and geolocation gets your timezone right the first time. [editline]6th December 2011[/editline] Though that having been said, some geolocation services can get my location down to about a 5km radius which is pretty damn good (and scary) and is far more accurate than is necessary for determining the timezone that you're in.
[QUOTE=mechanarchy;33580350]The reliability of the timezone detection would be a function of the reliability of the geolocation service. You could always improve accuracy by allowing the user to pick their particular timezone and save it in a cookie. So it wouldn't always be super-useful for the dynamic graphic until you've got the cookie set or you're just lucky and geolocation gets your timezone right the first time. [editline]6th December 2011[/editline] Though that having been said, some geolocation services can get my location down to about a 5km radius which is pretty damn good (and scary) and is far more accurate than is necessary for determining the timezone that you're in.[/QUOTE] There are problems with geolocation - What if it's GMT and someone prefers to operate in BST (for whatever reason), or they're using a mobile carrier which like mine identifies as USA? Better to let people manually select (with a geolocated preset) their location and save it in a cookie.
- snip - didn't see page 104.
[QUOTE=Catdaemon;33580645]There are problems with geolocation - What if it's GMT and someone prefers to operate in BST (for whatever reason), or they're using a mobile carrier which like mine identifies as USA? Better to let people manually select (with a geolocated preset) their location and save it in a cookie.[/QUOTE] Yep, I said that. I just said that geolocation can tend to be pretty accurate so your best bet is to pick what your algorithm thinks is appropriate and then use a cookies from there. So basically we're in complete agreement.
so if you were to make it it would be detect by ip and have another that you can choose to change it. When you change it, it can and should be done by cookie. The picture would be saying that it would start on time and user's timezone. the user that is going to be posting the picture will also hopefully post link with it. The person who clicks on the picture with url or the url it self, it will be redirected to the website and user can change the timezone based on their time.
[QUOTE=adamjon858;33578202]Simple website idea I don't have time for: "timezonesync.com" or something like that. It's main use would be syncing times with people around the world for certain things most likely gaming. So let's say I want to play a video game in co-op mode with someone from Australia at a certain time. Well this website would let me put in the time in my local time for the event and then would give me a link: timezonesync.com/aIj9. I'd share that with my friends or whoever and they'd see it in their local time. Geo-IP for the win. Also, you could have an option to copy an image as well. That way you could make a forum post saying "Let's play at this time:" and then the image would show up in each person's local time. Really simple, shouldn't take more than 2 hours to make but I think it would have a small amount of users. 1....2.....3....go go facepunch webdevs.[/QUOTE] Instead of geo-IP you could probably do it with javascript (get their local datestamp, compare to the one provided by the link 'owner').
[QUOTE=zerotwelve;33542183][url]http://dl.dropbox.com/u/5003648/www/index.html[/url] What can I fill the dark green space with? I've ran out of guff to add to the information :v:[/QUOTE] Totally off topic but - holy shit i'm from Cheshire too! spooky.
Quick and dirty hex to ascii (and back) converter [url=http://www.gabrielecirulli.com/stuff/hex/][img]http://gabrielecirulli.com/p/20111205-212848.png[/img] http://www.gabrielecirulli.com/stuff/hex/[/url]
[QUOTE=TerabyteS_;33584871]Quick and dirty hex to ascii (and back) converter [url=http://www.gabrielecirulli.com/stuff/hex/][img]http://gabrielecirulli.com/p/20111205-212848.png[/img] http://www.gabrielecirulli.com/stuff/hex/[/url][/QUOTE] Neato. If you're bored, add other features like html entity encoding, url encoding, etc - I'd actually use it quite often.
[QUOTE=StinkyJoe;33585200]Neato. If you're bored, add other features like html entity encoding, url encoding, etc - I'd actually use it quite often.[/QUOTE] Will try tomorrow :D
base64 would be cool.
[QUOTE=Jelly;33585372]base64 would be cool.[/QUOTE] Does js do it natively? If not, I think I'm gonna have fun implementing it.
[QUOTE=TerabyteS_;33585424]Does js do it natively? If not, I think I'm gonna have fun implementing it.[/QUOTE] i think so, except certain browsers [editline]5th December 2011[/editline] bota -> base64 encode atob -> base64 decode
[QUOTE=juke;33568143][img]http://f.cl.ly/items/1Q3Z2w1v2e3E0T2O3M1T/Screen%20Shot%202011-12-04%20at%2018.42.40.png[/img][/QUOTE] Are you using flash in this? If so; do you know of any tutorials that could help me integrate flash into my web page
[QUOTE=Mechwarrior;33585747]Are you using flash in this? If so; do you know of any tutorials that could help me integrate flash into my web page[/QUOTE] That doesn't look like it uses flash at all
Using Flash for any aspect of web design is like dipping your testicles in to a bath tub full of toothpaste.
[QUOTE=Mechwarrior;33585747]Are you using flash in this? If so; do you know of any tutorials that could help me integrate flash into my web page[/QUOTE] Why would you want to do that anyway?
[QUOTE=juke;33586600]Using Flash for any aspect of web design is like dipping your testicles in to a [b]bath tub full of toothpaste[/b].[/QUOTE] why
[QUOTE=Ac!dL3ak;33586627]why[/QUOTE] Because while it may leave your balls minty fresh, they're gonna sting like a beotch.
[QUOTE=juke;33586652]Because while it may leave your balls minty fresh, they're gonna sting like a beotch.[/QUOTE] no i meant why would you fill a bath tub full of toothpaste that's a lot of money that's going down the drain
Oh today a faggot in my school asked me to do a complete website for 15&#8364;. I still don't understand how I managed to refrain from kicking his balls.
what do you guys think makes up a good teaser site?
[QUOTE=exiam;33587270]what do you guys think makes up a good teaser site?[/QUOTE]A logo and a tagline, centered on the page
[QUOTE=TerabyteS_;33587320]A logo and a tagline, centered on the page[/QUOTE] god shut up terabytes you know what this is for
its snow in facepunch.... [editline]5th December 2011[/editline] Time to make it snow boxes
Sorry, you need to Log In to post a reply to this thread.