[QUOTE=amcfaggot;39494571]well i was thinking about returning an image that says THATS NOT GREENTEXT FAGET
but i havent implemented it yet[/QUOTE]
Glad to see that you merged my pull request.
Sorry about the string + string. Been doing a lot of C#/Python the last couple of days so I keep forgetting PHP doesn't like that :/
[QUOTE=Mega1mpact;39494943]Glad to see that you merged my pull request.
Sorry about the string + string. Been doing a lot of C#/Python the last couple of days so I keep forgetting PHP doesn't like that :/[/QUOTE]
Don't worry, that wasn't the issue; the bigger problem was why it was only concatenating an angle bracket to the first offending line and not any others. I almost missed leaving on time for class or I would have spent more time trying to figure out what the issue was.
[img]http://www.andrewmcwatters.com/greentext/?text=%3C%20How%20do%20I%20greentext?[/img]
So. Can we now stop using this in this thread?
[editline]6th February 2013[/editline]
[QUOTE=amcfaggot;39496683]Don't worry, that wasn't the issue; the bigger problem was why it was only concatenating an angle bracket to the first offending line and not any others. I almost missed leaving on time for class or I would have spent more time trying to figure out what the issue was.[/QUOTE]
*sigh* found it.
[php]<?php if (trim($text[$i]) !== '' && trim($text[$i][0] !== '>')) {[/php]
must be
[php]<?php if (trim($text[$i]) !== '' && trim($text[$i])[0] !== '>') {[/php]
This is why I hate it when my IDE automatically creates the 2nd bracket...
I even rewrote the code myself and it still did the same thing, but I'll try your snippet again. Right now I'm trying to implement some caching on it, too, and it's not working. I'll have to send 304s; nothing else is working, Cache-Control headers, Expires, and Last-Modified do absolutely nothing...
[editline]6th February 2013[/editline]
[img]http://andrewmcwatters.com/greentext/?text=%3Efixes%20code%0Ait%20still%20doesn't%20work%20on%20multiline%20correction%0Awtf[/img]
[editline]6th February 2013[/editline]
caching now works properly, returns 304s as well
You know what you guys are like compared to me?
You're the quality brand that everyone knows and I'm the shit in-house brand nobody buys into.
(That made sense in my head. I don't really know if it actually does or not.)
that's okay, i'll always be overpriced compared to you baby
[editline]6th February 2013[/editline]
I spent a good portion of today not knowing that in PHP '\n' is not parsed whilst "\n" is. Ugh.
[IMG]http://www.andrewmcwatters.com/greentext/?text=[/IMG]
Owned?
[editline]7th February 2013[/editline]
[QUOTE=amcfaggot;39497318]that's okay, i'll always be overpriced compared to you baby
[editline]6th February 2013[/editline]
I spent a good portion of today not know that in PHP '\n' is not parsed whilst "\n" is. Ugh.[/QUOTE]
Ruby does that too except for \\ and \'
if there's no text parameter, it returns the page instead
I want to know if it's ok to use a table to display data, such as transaction information (from, to, how much, etc.)
[QUOTE=Ac!dL3ak;39499824]I want to know if it's ok to use a table to display data, such as transaction information (from, to, how much, etc.)[/QUOTE]
That's what a table is for, so yeah.
Working on a deal with two lady friends of mine to have each of them write a weekly article for [url]http://spoonfedstyle.com[/url] so that I can get some regular, relevant content that isn't just products for users and for SEO. Pretty stoked, they're both really well spoken and one of them is going to school for fashion design in NY right now.
Hey, I don't generally post in this section, but does anyone have any suggestions for a static page I'm making? ([URL="http://jamesswift.asia/classy/"]http://jamesswift.asia/classy/[/URL] )
It looks really good but I kinda dislike that the Youtube video is to the edge of its parent
[QUOTE=Banana Lord.;39520105]It looks really good but I kinda dislike that the Youtube video is to the edge of its parent[/QUOTE]
I strongly agree, but it can still be done - just not with the current layout.
Spent the afternoon working on a thing that autofocuses the next input field when you fill the previous for a mobile website just to discover that iOS safari doesn't listen to focus events unless they come from a genuine click event.
[QUOTE=TerabyteS_;39520985]Spent the afternoon working on a thing that autofocuses the next input field when you fill the previous for a mobile website just to discover that iOS safari doesn't listen to focus events unless they come from a genuine click event.[/QUOTE]
It's a feature.
[QUOTE=TerabyteS_;39520985]Spent the afternoon working on a thing that autofocuses the next input field when you fill the previous for a mobile website just to discover that iOS safari doesn't listen to focus events unless they come from a genuine click event.[/QUOTE]
That would annoy the shit out of me, what if I made a mistake and want to press backspace? Oh wait now I'm in the wrong field.
Make it so backspace returns you to the last field?
Something like that might work. Really got test it out to know what feels natural.
[QUOTE=xmariusx;39523569]Make it so backspace returns you to the last field?
Something like that might work. Really got test it out to know what feels natural.[/QUOTE]
That's a bad idea too because if I am holding backspace to clear out a field I don't want it to bump me to the previous one, and not everyone is going to think to press backspace when they make a typo and see that they are focused on the next input field.
You should let your users decide when they are done editing a field, not decide for them.
It won't jump by holding backspace down then. Only when pressing backspace within a 1click/sec rate or something.
Just let the user use it naturally, there isn't really a need for this other stuff
It's fun too experiment in the UI flow though. Make a change that make people wonder why isn't used else where.
[QUOTE=xmariusx;39523709]It won't jump by holding backspace down then. Only when pressing backspace within a 1click/sec rate or something.[/QUOTE]
What if I realize I wrote the wrong thing and I'm holding it down to clear the field?
There's just way too many additional headaches you can introduce with this that make it not worth the one headache you are trying to remove. It's bad UX, plain and simple.
What if I am a user who knows to hit tab when I am done filling in a field and I am doing it reflexively when I finish and end up skipping over a field because I hit tab after I was automatically bumped to the next field? I hate when credit card forms do that with the expiration date.
You got me. I give up :v:
My bank does the same, and it's damn annoying.
[QUOTE=xmariusx;39523856]You got me. I give up :v:
My bank does the same, and it's damn annoying.[/QUOTE]
Which bank, DNB?
[img]http://puu.sh/1ZOOK/b73f3dedc2[/img]
(excuse the jpeg compression, puush does that)
Portfolio site! But I am terrible at web coding. And I don't even like it. But it has to be done.
The idea is that the images will fade out and their containers will expand to contain more information about a particular portfolio item. Hopefully. I have never used jQuery.
You can disable JPG compression in puush settings by the way
Sorry, you need to Log In to post a reply to this thread.