• What are you working on? v6
    4,671 replies, posted
Say you have a tab button with a set width. Do you guys prefer the whole tab to be a link or just the text within?
Generally I'd say the whole tab, for starters, it makes it just a bit easier to click which is in itself an accessibility implication. A tab is also a familiar and conventional UI element, people often expect the entire tab itself to be what they're clicking rather than having to specifically click the text, because a tab is a visual metaphor for bringing its panel to the foreground. Desktop interfaces have long since instilled the notion of being able to click anywhere on a tab to bring its contents to focus.
Thanks for that great explanation, Brett. It sounds about right. I've made some good progress today on the HTML. now I need nick to do stuff.
added validations and life-cycle hooks to my PHP orm thing, so I can write code like this in the model: [img]http://i.imgur.com/551zY.png[/img] and like this in the 'controller': [img]http://i.imgur.com/8YzlY.png[/img] and like this in the view: [img]http://i.imgur.com/9qHQ5.png[/img] and get something like this: [img]http://i.imgur.com/EwKpc.png[/img] [editline]20th November 2011[/editline] that `"confirmation" => true` in the password validations basically tells my orm-thing to use the ConfirmationValidator class to validate the field. you can write your own validators like so: [img]http://i.imgur.com/yJQuv.png[/img] and voilà [img]http://i.imgur.com/Iq4XX.png[/img]
[QUOTE=swift and shift;33353251]added validations and life-cycle hooks to my PHP orm thing, so I can write code like this in the model: and like this in the 'controller': and like this in the view: and get something like this: that `"confirmation" => true` in the password validations basically tells my orm-thing to use the ConfirmationValidator class to validate the field. you can write your own validators like so: and voilà[/QUOTE] you're making PHP almost look usable!
[QUOTE=H4Z3Y;33353420]you're making PHP almost look usable![/QUOTE] i call it php on rails!
[QUOTE=swift and shift;33353460]i call it php on rails![/QUOTE] Ohgod, you reminded me of [url=http://www.phpontrax.com/]this[/url].
[img]http://i.imgur.com/PEKoO.png[/img] Those inwards facing corners are annoying! Is it possible to clip an elements content area like that without using images?
I use [url=http://meyerweb.com/eric/css/edge/slantastic/demo.html]this[/url] to achieve corners like that.
[QUOTE=Fizzadar;33359846][t]http://i.imgur.com/PEKoO.png[/t] Those inwards facing corners are annoying! Is it possible to clip an elements content area like that without using images?[/QUOTE] I have no idea why you were trying to do it like that. 3 divs and I've fixed it. [img]http://dl.dropbox.com/u/386727/Web-And-Graphics/FanaticalThemes/Phantom/HTML-v0.5.png[/img] [editline]21st November 2011[/editline] I'm not liking Droid Sans as a header font. It looks really jaggy in the browser. :(
what about the ubuntu font?
[QUOTE=Fatal-Error;33363218]what about the ubuntu font?[/QUOTE] I'm already using Droid Sans in the nav so I don't really want to have to include two fonts, because it's going to effect page speed. I'll have to go with a web-safe font.
Sticky nav. [url]http://www.screenr.com/v4qs[/url]
[url]http://kopirat.co.cc/[/url] messed with jquery a little bit, decided i'd put up a website for my non-professional projects criticism welcome :> [editline]21st November 2011[/editline] [QUOTE=jaybuz;33365971]Sticky nav. [url]http://www.screenr.com/v4qs[/url][/QUOTE] i've always loved stuff like that how do you do it?
google analytic's new visitor flow feature is kind of interesting [IMG]http://i.imgur.com/1NvCX.png[/IMG]
[QUOTE=phytocide;33370895]google analytic's new visitor flow feature is kind of interesting [IMG]http://i.imgur.com/1NvCX.png[/IMG][/QUOTE] Their real-time analytics is also pretty cool: [img]http://i.imgur.com/X07kP.png[/img]
[QUOTE=Kopimi;33367865]i've always loved stuff like that how do you do it?[/QUOTE] Just checking the position of the scrollbar from the top when scrolling and then when it gets close to the element it applies some CSS: [code]position: fixed; top: 30px;[/code] [editline]21st November 2011[/editline] [QUOTE=Sc00by22;33370949]Their real-time analytics is also pretty cool: [t]http://i.imgur.com/X07kP.png[/t][/QUOTE] Where about is this? I'm unable to find it.
[QUOTE=phytocide;33370895]google analytic's new visitor flow feature is kind of interesting [IMG]http://i.imgur.com/1NvCX.png[/IMG][/QUOTE] where have you found this?
[QUOTE=jaybuz;33371227]Just checking the position of the scrollbar from the top when scrolling and then when it gets close to the element it applies some CSS: [code]position: fixed; top: 30px;[/code] [editline]21st November 2011[/editline] Where about is this? I'm unable to find it.[/QUOTE] Make sure you're using the newest version of GA, then click the Home button in the main nav and you should see a Real Time beta dropdown on the left if you're in the beta. Haven't seen the other one before, but it should be useful for work.
Hi guys, I need to remove duplicate letters from a string. For example: string => string spitfire => spitfre I am currently doing it like this: [php] $string = str_split($string); $taken = array(); foreach( $string as $i => $char) { if(isset($taken[$char])) { unset($string[$i]); } $taken[$char] = true; } $string = implode($taken); [/php] It is just that it is called over 50,000 times every script run so if someone could improve it I would be very appreciative.
[QUOTE=spidersdesign;33374491]Hi guys, I need to remove duplicate letters from a string. [/QUOTE] [php]$string = implode(array_unique(str_split($string)));[/php] Wouldn't this work? :v: [url]http://php.net/manual/en/function.array-unique.php[/url]
[QUOTE=HeroicPillow;33375016][php]$string = implode(array_unique(str_split($string)));[/php] Wouldn't this work? :v: [url]http://php.net/manual/en/function.array-unique.php[/url][/QUOTE] A genius you are!
[QUOTE=zzlawlzz;33371269]where have you found this?[/QUOTE] [IMG]http://i.imgur.com/qBLMv.png[/IMG] it's the visitors flow option. [IMG]http://i.imgur.com/oNiTB.png[/IMG] [editline]21st November 2011[/editline] [QUOTE=Sc00by22;33370949]Their real-time analytics is also pretty cool: [img]http://i.imgur.com/X07kP.png[/img][/QUOTE] Neat, I can't wait until it's rolled out to me!
Live Google Analytics just as I was starting to think about how I'd see some live stats that weren't just server-status and not bound to another service as well? Nice timing. It's just a shame that it still trims the video hash for youtube referrals. I know everything after the question mark is removed for privacy reasons, but they could add exceptions for youtube since it's their service.
I'm really not keen on OSX's font anti aliasing. It looks a bit fat and a little bit blurry. I guess I'm just so used to Windows but I really do think it has a good blend of sharpness and AA. Opinions?
I think it's better than Windows'
[QUOTE=jaybuz;33378166]I'm really not keen on OSX's font anti aliasing. It looks a bit fat and a little bit blurry. I guess I'm just so used to Windows but I really do think it has a good blend of sharpness and AA. Opinions?[/QUOTE] I like the font smoothing, I don't know if that is what you are referring to.
I like safari's AA. Wait, does it matter if safari is on win or osx?
[QUOTE=jaybuz;33378166]I'm really not keen on OSX's font anti aliasing. It looks a bit fat and a little bit blurry. I guess I'm just so used to Windows but I really do think it has a good blend of sharpness and AA. Opinions?[/QUOTE] It's not blurry for me at all, its way clearer and sharper imo
I've been learning XHTML and CSS the past week or so. I've had my share at programming(Java), and I can say that I like web development better. I understand programming is used in more advanced web development, but I will worry about that when I get there. Here's something I've been working on to practice positioning. [thumb]http://img525.imageshack.us/img525/2503/46048505.gif[/thumb] ([url]http://www.wakeboardercwb.x10.mx[/url])
Sorry, you need to Log In to post a reply to this thread.