« first day (262 days earlier)      last day (3526 days later) » 
01:00 - 16:0016:00 - 20:00

m59
1:02 AM
0
Q: How can i have an html table where a vertical scroll bar appears only if larger than screen

leoraI have a web page with a html table in the middle of the page. Sometimes there are many rows so i want the table (not the full page) to have a vertical scroll bar added. If the table doesn't go off the page i don't want the vertical scroll bar to show. I also don't want to hardcode a specifc ...

If anyone has a better answer or thoughts on that ^^^ I'm interested
 
 
3 hours later…
user652649
3:55 AM
morning
 
Would anyone be willing to help me with some animations I am hoping to include in my website? I am planning to create a fixed zombie that reaches out in the direction of my mouse. I think CSS transform can accomplish this through rotating the arms. However, I also want to make his palms open and close as if he was trying to grab for the mouse. How can I accomplish this animation in my webpage?
 
user652649
ha! xD @LifeinHD nice
 
user652649
you can use css animations/transitions or, better, <canvas>
 
Have you looked into SVG?
 
user652649
this seems to be a work for @rlemon. a zombie that wants to eat the pointer xD
 
4:24 AM
I have heard of SVG and my web searches have also taken me to Photoshop, Illustrator, and Flash... it's a lot of information so I'm not sure where to begin
Wes, could you elaborate on the css animations/transitions? Also, I thought canvas could only draw basic images? I have only a basic knowledge of css and html (as in I know how to create and format a simple webpage but don't know all the different functions yet)
 
user652649
canvas is the most powerful option... try to ask in the javascript room where you can get a canvas tutorial
 
Thank you so much for the suggestion, Wes! I'll go and check it out
 
 
1 hour later…
user652649
5:45 AM
user image
3
 
user652649
@SomeGuy @Purify
 
8:33 AM
mornin
 
8:56 AM
@Wes exactly. ;D
 
user652649
all the fait he had had, had had no effect on the outcome of his life
 
user652649
comma?
 
user652649
@Purify found a huge hole in wasdkeyboards business. instead of sending the order, i spent 1 hour customizing the keys colors. and then i was so undecided about the colors than i postponed the order submission xD
 
LOL
just get black?
 
9:20 AM
Sup!
 
Sup!
 
Current playlist: youtube.com/…
 
user652649
i was about to ctrl+f4
 
user652649
then i read metal version
 
Ha, that guy made some good metal covers.
But this guy, just owns it: youtube.com/user/331Erock
 
user652649
9:27 AM
 
user652649
guess what it is
 
its a keyboard.
idiot.
or the middle finger.
 
user652649
ha, try again
 
clue?
 
@Wes fucking ugly?
 
user652649
9:29 AM
haha
 
you can't be serious.
 
user652649
rotate your head 90° anticlockwise
 
bender?
 
user652649
win!
 
Morning all
 
9:30 AM
ha, I edited the wrong message, but its still win.
Sup Will!
 
10:01 AM
 
10:37 AM
@Will as a room owner you should be ashamed! :D
 
But how else am I meant to let people know it's friday??
I was winding my GF up last night saying I was going to set it as my alarm for fridays
She said she would punch me if I did
 
So would I.
 
Haha.
Looking for a nice herman miller chair
£210 seems good. Hour drive away though :/
 
Nice.
Always forget you are from the UK.
 
Where you from? Germany?
 
10:46 AM
@Will Does it poor you a drink while it massages you ?
 
Haha no. But will stop back pain and fatigue.
Trying to get one off ebay as new on amazon they are £898.00
 
O.o
 
I would sit in it for 7.5 hours a day
near 2000 hours a year.
might as well have a comfortable chair :P
Wow thats actually a lot of hours O.o
 
user652649
@mikedidthis ever tried yourself creating a mail template? jesus this is fucking impossible
 
user652649
any dimension i use gives a totally random result
 
10:53 AM
@Wes hahahaahahahaha
helpful
@Will Blackpool.
 
Ah fair enough :)
Only though it was Germany as people are always talk about it in here :P
 
user652649
@mikedidthis this is not funny! :| i'm swearing words that are impossible to translate in english
 
user652649
i checked everywhere @mikedidthis sadly none helped. i don't have to create a normal template sadly, i have a specific template that i have to convert in an email one
 
user652649
one week on this
 
user652649
10:59 AM
this is unacceptable
 
user652649
microsoft must burn in hell and die
 
jsfiddle.net/ges7L/9 — does anyone know why the CSS rotate is removed from the document flow?
 
@wes what are you trying to do? I have just finished making a email manager.
 
user652649
 
user652649
this is outlook: i.imgur.com/7paai05.png
 
11:08 AM
Oh outlook !
Which version?
 
user652649
setting the doctype resolved some issues but i failed to get it 100% working
 
user652649
2010
 
Have you got the HTML?
 
user652649
table layout is fine but images don't get stretched
 
user652649
11:09 AM
this is the problem basically
 
width="100%"
I don't think outlook plays well with this
"Outlook 2007+ do not support these CSS properties"
 
user652649
i don't think outlook plays well with anything
 
I find with email you have to go back to web 1.0
ITs so crap.
 
user652649
@Will images are stretched, but to about 50% not 100%
 
I would make every fixed width
 
user652649
11:13 AM
i can't needs to be fluid for mobile :(
 
The emails stuff I have just finished had all emails set to 640px I think and it look just fine on mobiles.
I used this to help testing litmus.com/email-testing
 
user652649
not for my customer
 
What phone do they have?
 
user652649
any -__-
 
anyone will help me on wordpress theme licencing
 
11:17 AM
I dread the day i ll have to make an email >.<
 
its related to PHP right
@Wes @Will @PatsyIssa
 
Sorry don't do wordpress
 
web development
 
@PatsyIssa ok no probs :)
 
11:18 AM
See fixed width will still look ok on mobile devices
@PatsyIssa Emails are such a ball ache
 
Have yet to be tasked to make one, not planning on ever making one :P
 
@D_Vaibhav Help about licensing? whats the question ?
 
we have our wordpress website hosted on hostgator .
it have liscenced wordpress theme
so if we move to another hosting will our website will have any issue
our liscence should not be affected
 
Not sure.
Is the license assigned to the domain?
 
Same domain different host shouldn't change anything tbh
 
11:24 AM
Yeah thats what I was thinking
 
I love our IOS developers, 20 smth exp in the field and they don't know how to send a post request <3
 
i am not sure about liscence
 
read it ? :P
 
@Will
 
and please stop pinging people it's annoying
 
11:27 AM
:D ok
i was about to ping you
 
one licence per live site
 
@PatsyIssa I do a little bit of iOS stuff. We haven't had any work in it for while so not done it in like 7 months.
@D_Vaibhav as long as you do have two sites using the theme you should be ok
unless you have two licenses or a multisite license that is.
 
yeah its a licence per site, or buy an extended licence for unlimited.
As a theme author, its hard to enforce.
 
so you mean changing hosting should not affect liscence. .
 
Nah you will be fine
The license is for the site not the host.
 
11:31 AM
What Will said.
 
you own the license not the host
 
ok . i was afraid that changing hosting may make my licence void :D
this wordpress is new to me
 
Think Windows / Mac OS X. Licence is for one instance, no matter the machine.
 
You will be ok. If you are unsure read the T&C's
Thats what they are there for :P
 
yeah those big terms and conditions. . I think I have to look at them and read completely for first time in my life :)
 
user652649
11:37 AM
Jan 14 at 6:24, by Wes
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 
^ that. Anyway, to wrap up, you are fine.
But if you do use the theme on two + sites, please buy another licence. Theme authors need food too :D
 
user652649
i just sent the 100th test email. will be banned forever for spamming myself
 
haha.
Dude try litmus.com you can try it most of the devices, clients and browsers. makes testing a bunch easier
 
ok fine
thanks all people for this
 
user652649
Y U 700px IF I SAID 500px
 
11:44 AM
hahahahahaha
such rage
wow
 
Just make the email a full jpeg :D
 
but then if the user cant load the image you are boned XD
 
Shame www.wes.com/ragecam doesn't exist.
@Will he is boned already.
Kids, today's word is boned.
 
i would pay premium to watch that stream :P
 
@PatsyIssa tip for private show :)
 
11:45 AM
is that where he fists the keyboard ? :P
 
haha, amazing!
 
user652649
next time someone ask me to make a mail template:
 
user652649
 
user652649
 
^^
 
user652649
11:49 AM
gave up
 
user652649
it's impossible
 
user652649
now i have to figure out if it's possible instead to craft a bomb and send it to microsoft
3
 
user652649
how hard can it be
 
user652649
^ STAR THAT NSA
 
hahahahahahha
expect suited men to knock at your door soon
 
11:54 AM
user image
4
 
Would be amazing if a granny answered that door.
or... heck swat from the other side.
I need to get out more
 
@Wes Hahahaha
That's amazing
Makes complete sense if you read it right
@mikedidthis Hahaha
Swat on the other side would be hilarious
 
Hi!
 
Everyone would just be so confused
 
hey
 
12:09 PM
@SomeGuy Swat Team A: "Didn't you get the memo?"
@SomeGuy how are the exams btw?
 
Do you know this doesn't work : jsfiddle.net/4Uhh6 in order to center vertically a div.... I followed the Method 3 described here : blog.themeforest.net/tutorials/vertical-centering-with-css
 
@mikedidthis Not that great, man :/
 
user652649
 
@SomeGuy I am sure they are going better than you think. Can I ask why you think they aren't?
 
user652649
a punching bag would be awesome
 
12:15 PM
@mikedidthis any idea ? ;)
 
@mikedidthis Haha, no, I really messed it up here :p Started studying really late, so I barely even know what topics I'm supposed to know, forget actually knowing them
The only subject I'm doing well is (SURPRISE!) Computer Science
 
@SomeGuy well from what I know about you, I am sure you will be fine.
 
From what I know about me, I usually am, or I'm fine with not being fine :p
 
@Basj not a clue
 
@Wes Pungiball?
What sucks about my situation is that all colleges in my state consider marks only in Physics, Chemistry, and Math
 
user652649
12:19 PM
 
ok
 
Not Computer Science, even if you're applying for courses about Computer Science
 
user652649
well, i thought it was an english word xD
 
Hahaha
Pungi in Hindi means nipples colloquially :p
 
user652649
also that would help
 
12:20 PM
It would help as much as nipples on a breastplate
Anyone? Anyone?!
Oh, well, another GRRM reference missed!
 
user652649
:(
 
user652649
 
Hahaha
 
user652649
when i see at him "heart attack" comes into my mind
 
I hope not
He's a pretty rad guy
 
12:41 PM
I don't know who he is? So uneducated.
 
The author of The Song of Ice and Fire
Which got adapted as Game of Thrones
 
Hahaha
 
books > series ( regardless of how awesome the series is )
 
Yep!
The books are amazing
But the show is really great too
 
12:45 PM
yup
but different
starks aren't the center of the world in the books
 
In Game of Thrones (the book) they were
But not after that, no
 
In the series the starks aren't either really. Just because you start with the stark you have feelings for them and follow them
 
Well, most of the POV characters are in the North
You start off with the Starks looking like the good guys
Yeah
 
posted on January 17, 2014 by Jacob Cook

    Welcome to another interview in the “How I Work” series. These interviews reveal how leading thinkers and creators on the Web design, code and create. The goal is not to get into the nuances of their craft (that information exists elsewhere online), but rather to step back and learn a bit about their habits, philosophies and workflow for producing great work. This time

 
12:55 PM
hahahahaha
 
Probably shouldn't be posting spoilers, yeah :p
 
wow
what te fuck did i just read!!!
1 message moved to Trash can
1 message moved to Trash can
 
user652649
shut upppppppppp
 
user652649
:|
 
6 messages moved to Trash can
 
room topic changed to HTML / CSS / WebDesign: ▇▇▇ DON'T ASK TO ASK, JUST ASK ▇▇▇ Support room for HTML, CSS, DOM web standards and related ones. If you need help post an example of your issue, please. Thank you. /* Back to work, slackers! */ !! No Game Of Thrones Spoilers !! [css] [css3] [dom] [html] [html5] [microdata] [responsive-design]
 
user652649
perfect.
 
@Will don't they all die at the end anyway?
 
no one who will be left in the end
He hasn't finished the books
 
Ahh, my joke back fired.
Sadly I haven't read / watched them. Watch the hunger games was hard enough
 
user652649
1:09 PM
he will never finish the books if he doesn't stop to eat lobsters all the time
 
damn it -.-
 
LOL
 
user652649
says the crystal ball
 
@Wes one day we will make the labster diet
 
user652649
 
1:12 PM
willl, i m lost have you or haven't you seen season 3 :P
 
I have :P
 
user652649
me i have to start over again. i can memorize a limited number of characters
 
I was just saying the book and the series are different :P
what happened in one didn't happen in the same way in the other
and no more spoilers :P
 
ah ok
 
user652649
2 messages moved to Trash can
 
1:16 PM
1 message moved to Trash can
;D
 
-.-
 
5
Q: Chat: how to move a message to another room?

Levi MorrisonI am a room owner in PHP and occasionally people ask me to delete things. As I understand it, room owners can't and probably never will be able to do that. However, according to http://meta.stackoverflow.com/a/87773/170584 I should be able to move messages to another room (such as bin). I have ...

 
haha yeah :P
1 message moved to Trash can
baws
 
@PatsyIssa There haven't been too many major differences, though
Except for the Sansa / Peter thing
 
I m pretty sure they are going to rally against us and kill us if we keep talking :P
 
1:19 PM
Hahaha
We shouldn't
 
we will kill you in a min
 
Quick, we have one minute for spoilers!
I'm looking forward to the Viper
 
In the end i reclaim the iron throne
i ride in on the back of smaug
 
Nothing here
 
harry potter, luke and commander shepherd provide me with cover fire
 
1:22 PM
Oh, the dragons! Have you read Princess and the Queen?
 
Nay
 
Dunk and Egg?
 
Ze books they are with my ex :P
Need to buy them again soonish
 
The Dunk and Egg novellas are pretty fun
Way more chilled out than ASOIAF
 
Sec dealing with incompetent senior devs
@Will do you use curl for ios ?
 
1:36 PM
@Will you read the books?
 
@PatsyIssa I have not. But that doesn't mean its not possible. I dont have much EXP about a year
@SomeGuy I have not. I would like to though.
 
Yeah, I asked if you Will :p
Alright, I'll stop that :p
 
XD
 
1:49 PM
found a contract from the local council for run a part of their social media campaign. 12,000 per year. Would take less than a day a week to do.
Going to submit a proposal :)
 
Wow
 
user652649
1
A: Recursive self joins

redguyThis table design is a SQL antipattern "Naive trees" as described by Bill Karwin (staring from slide 48 in his SQL Antipatterns Strike Back presentation). The problem with this design specifically is the difficulty with getting all descendants (or parents) of a node. Since you are using MySQL you...

 
morning
 
user652649
morning
 
user652649
SELECT *
FROM comments AS c1
  JOIN comments AS c2 ON (c2.parent_id = c1.id)
  JOIN comments AS c3 ON (c3.parent_id = c2.id)
  JOIN comments AS c4 ON (c4.parent_id = c3.id)
  JOIN comments AS c5 ON (c5.parent_id = c4.id)
 
user652649
2:02 PM
damn you, mysql
 
morning
 
2:14 PM
someone was talking about Canvas?
I just got @Wes's ping
 
user652649
ha, yes there was an user that wanted to create an animated zombie trying to bite the mouse pointer
 
well if he made the animation in CSS it can follow the mouse easily with js
and you can even apply a 'bite' with some simple distance detection
var dx = zombie.x - mouse.x,
    dy = zombie.y - mouse.y,
    distance = Math.sqrt(dx*dx-dy*dy),
    angle = Math.atan2(dy,dx);

zombie.style.transform = 'rotate(' + (90-angle)|0 + 'deg)';
zombie.x = (mouse.x-zombie.x)/10;
zombie.y = (mouse.y-zombie.y)/10;

if( distance < zombie.width ) {
    zombie.className += ' bite';
}
something like that applied on an update loop
then do all the zombie bite stuff in pure css animations
move and rotate the zombie using js
 
user652649
lol
 
user652649
i'm waiting for you saying "challenge accepted"
 
haha I am not attempting to make a zombie graphic
or animating it to bite something
moving it around and detecting when it should bit however is VERY easily done (for me... I've done it a bunch of times now)
 
user652649
2:24 PM
still waiting for "challenge accepted"
 
Yeah, it's pretty easy
Kind of pointless to make if you already know how :p
 
@SomeGuy exactly. :P but if someone wants a demo on how to follow a mouse...
 
user652649
one day i will try canvas out, and first thing i will do is this zombie thing
 
Haha, why not today?
Now it's our turn to wait for a "challenge accepted"
 
user652649
aha, no time :( :P
 
2:27 PM
Liar
 
user652649
i spent 3 days trying to fix outlook, now i have to catch up
 
2:42 PM
I hate doing loads of work then my boss say I have to go back and change it all :,(
 
@Will sux2bU
 
Thanks man
:P
 
bitte schoen
 
2:59 PM
now all you have to do is the css animations and replace the stupid squares
 
Hahaha
 
user652649
ahah
 
user652649
epic
 
The way it looks reminds me of my 2012 JS13k entry js13kgames.com/entries/swarm
I'm quite happy about the fact that I still enjoy the game
 
zombies should stagger
now they stagger
 
3:02 PM
Hahaha, nice
 
@SomeGuy with actual graphics Swarm could be a pretty fun game
 
Yeah, looking at it now, I think I might do that
Add some SFX, a better level system and all
After my finals -.-
 
user652649
3:16 PM
 
Wow
Damn, dude, you draw well
It's sideways, but that's still amazing
 
great! now make it a 16*16 trans. png
 
@Wes Impressive
 
user652649
16x16 pixels? xD
 
user652649
anyway meh, i don't draw well anymore. but i used to :(
 
3:21 PM
Want to see what "I don't draw well" really looks like?
 
user652649
ha, let's see xD
 
user652649
ahah come on i can't believe that's your best xD
 
Drawing with a mouse is hard :p
 
My drawings qualified me for the short bus to school
 
3:25 PM
 
@SomeGuy KILL IT!!!! KILL IT WITH FIRE!!!!
 
Body proportions are hard :p
I should draw more. Should be better at it than that
 
3:47 PM
in JavaScript, 18 secs ago, by Some Guy
Free Weekend for Saints Row IV?!
in JavaScript, 30 secs ago, by Some Guy
http://store.steampowered.com/app/206420/
 
01:00 - 16:0016:00 - 20:00

« first day (262 days earlier)      last day (3526 days later) »