« first day (1037 days earlier)      last day (3911 days later) » 

5:47 PM
I have som etrouble with - $('#header').outerHeight()
Its not working in firefox
does anyone know whu
 
Define doesn't work. It certainly does for me so you're doing something wrong.
 
Ok.
I am busy with creating an one page design, with anchor points and sections.
 
And you're using only jQuery for that?
 
When the user click on contact, javascript will send the user to that part of the website.
Yes. You can check it: www.design-style.nl/stijnstijl
 
That's not a job for JavaScript though.
 
5:51 PM
Now the header will overlay the content.
Only in Firefox, Chrome, Safari it works great
 
That's a simple anchor thing.
 
	// When you click on an <a> that has a '#'
	$('nav#primary-navwrapper a[href^="#"], #sitemap a[href^="#"], .hireme a[href^="#"]').bind('click.smoothscroll',function (e) {
		// Prevent from default action to intitiate
		e.preventDefault();
		// Targets the part of the address that comes after the '#'
		var target = this.hash;
			$target = $(target);
		$('html, body').stop().animate({
			// The .offset() method allows us to retrieve the current position of an element relative to the document.
			// Here we are using it to find the position of the target, which we defined earlier as the secti
That code I use
 
Please format your code before posting it. Hit Ctrl + K.
You can edit your message and do what I said.
 
I have format it now.
What I have added to the code is 'scrollTop': $target.offset().top - $('#header').outerHeight(true)
And only the part after 'scrollTop': $target.offset().top
 
You're aware of that right?
You don't need JavaScript for that.
 
5:59 PM
I know, but I want some smooth motion and i have a fixed header
Only the part after this line: 'scrollTop': $target.offset().top doesnt work in Firefox..
 
Fixed header but still without JS.
 
But than I have the same problem, the fixed header will overlap the content
 
it should just stop before the section top
 
Did you click the anchor?
 
6:08 PM
yes
 
@Zirak a father died in an attempt to save his daughters life in an accident with a gondola in Venice. :(
@Caspert and it overlaps?
 
@OctavianDamiean Yes
 
@Caspert jsfiddle.net/mainerror/zNKGm/1 this one overlaps?
It's not the same I've posted the first time.
 
@OctavianDamiean When I click the anchor it will go to the section, but the header will overlap the text you have set..
 
In what browser and version?
 
6:12 PM
Firefox
Wait..
 
Ah it works. I have add outerHeight also to the window.location.hash = target
 
I'm on elementary OS right now
 
like this 			window.location.hash = target+outerHeight();
 
it's nice...
 
6:14 PM
gah, I didn't like it at all. Was way too unstable back when I tested it.
 
So although thank you for your time!
 
@OctavianDamiean they released a stable last week
aaand cya.
 
user652649
6:36 PM
evening
 
user652649
2
Q: needed a way to force redraw of <select>s in MSIE8

Weswith (simulated) media queries I'm changing font-size of <select>s in my page I have problems with other browsers too, but I resolved temporarily detaching the elements from DOM and re-attaching them after a small amount of time but with MSIE8 I still have problems with height of <option>s whi...

 
@JeffM Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Cool, no questions was just wanting to see what others were talking about, (that wasn't an automated message was it?)
 
@Naveed Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@OctavianDamiean are you scared of Raynos?
 
6:46 PM
@BadgerGirl huh?
 
Does he scare you?
 
Not really, why?
 
Are you scared of anyone here?
 
Yes, I'm scared of copy's intellect.
 
So in scariness: copy > Raynos?
 
6:48 PM
Mainly because I can't estimate him.
 
@SomeGuy What about you? ^
 
I'm not sure if scared is the right word. Uncomfortable I think describes it better.
!!How smart is copy really?
I thought we had that implemented.
!!Are you alive?
!!live
o_O
@BadgerGirl is that some sort of social experiment?
 
No, I just wanted to know who is scarier.
@SomeGuy Pictures.
 
Someone has to decide for me because the bot ain't here.
!!Play BF3 or Play CoD4
 
CoD4
 
6:58 PM
Cheers.
Movement and grenade practice it is.
 
@Wes Why cannot you use copy if events are attached?
 
@OmerFarukZorlu Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
user652649
@Esailija wat?
 
> Note: <select>s may have events attached, so I can't use a copy
 
!!Are you ignoring me?
wtf!?
 
7:02 PM
@OctavianDamiean not a chance
 
user652649
select.cloneNode(true) doesn't clone event listeners, just copies DOM
 
are you not using jQuery
 
!!help
 
7:02 PM
seems like all problems you ever have are automatically not problems when using jQuery :P
 
!!ban
 
@JanDvorak 895174 (?) 1355043 (?) 1079641 (?) 1858108 (?) 1076743 (?)
 
@Zirak did you tell Caprica I cheated on her?
 
user652649
@Esailija sure xD
 
@JanDvorak I'm a room owner, so in theory I can't be on the ban list anyway.
 
7:04 PM
in theory, there is no difference between theory and practice. In practice, there is.
 
I know that but ... reasons.
 
did you try getting off and getting in?
 
@FlorianMargaine Why did they draw a penis on your forehead?
 
Was it a photo realistic penis?
 
@krsteeve Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
7:09 PM
I think for 2014 we should try to look less weird to newcomers.
 
c'mon, that's four more months of looking weird. I don't think I can keep that up.
 
I think we should look weirder
 
Seriously, the only sane message new people get when they join is from a bot. :D
 
s/a(?= bot)/the/
 
@OctavianDamiean Try running a command
 
7:15 PM
!!echo something
 
@OctavianDamiean penis message + welcome message = bad timing thats all
 
Weird that it happens though. I was gonna take it out anyway.
 
@NoahHuppert Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Zirak I begged you not to tell her I looked at that toaster.
Now she's pissed.
@mikedidthis hah, as if we'd be sane.
 
Kills	29
Deaths	105
K/D ratio	0.28
 
7:17 PM
@Zirak Don't tell me you were playing all the time.
 
nah, did a couple of games in the last hour.
Holy shit I can select you for co-op now
 
!!!!
LET'S KICK IT!
 
BOOYA
 
The hell is it doing again? It doesn't launch my game ...
 
> HOST IS LAUNCHING...
 
7:21 PM
Well ... it's not. :D
 
I feel like Alien
 
Restarted my browser.
Now.
wow, great ... it just crashed without any notice.
 
Still had a "host is launching" thing, then you left. I'll also restart? it's jealous of what we have.
 
Probably.
 
> HOST IS LAUNCHING...
But Origin told me you already launched
 
7:25 PM
Origin is a fucktard.
As is EA.
It keeps loading ...
Killed it.
 
There we go
Hopefully
 
please rate w3schools on webOfTrust mywot.com/en/scorecard/w3schools.com
 
7:41 PM
:)
 
I need to get a mic
 
@SlimaneAgouram Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@BadgerGirl stag party
 
@Zirak my bad ...
 
They bunkered in those buildings pretty well
 
user1125394
7:56 PM
uhh how do you rate on that web of trust site
 
user1125394
pretty not well done and intuitive, hmm gotta register :)
 
user1125394
and I've no fb account so suck..
 
Gah sorry, I was a retard
 
@Zirak when we get out of the HUMVEE take cover behind it an just peek out a bit
 
I was thinking of covering behind their own sandbags, but the ones up high got me obviously
 
user1125394
8:14 PM
!!urban fanboy
 
@cx fanboy A passionate fan of various elements of geek culture (e.g. sci-fi, comics, Star Wars, video games, anime, hobbits, [Magic: the Gathering], etc.), but who lets his passion override social graces.
 
Hey guys, do you know any good practice question websites for javascript/jquery/html/css? I'm preparing for a screening tomorrow and I'd like to get some actual code practice in.
Preferably the js/jquery from a 'beginner to mid' range skillset
 
@RUJordan find all the errors on w3schools
 
erm, whoops?
 
@Zirak in this mission it is important to wait for the commands.
 
8:25 PM
But TV sniper rifles!
 
Whenever we have two targets to pick I'll take the left one and you the right one.
 
Oh gosh.. @JanDvorak that would take years...
 
@FlorianMargaine what's with those weird photos?
 
Stag party.
 
What does that mean?
 
8:28 PM
The party you have before getting wed
Your last party as a non-married guy
Google told me it was named stag party in english :<
 
Ah cool, looks like you had fun
Bachelor party?
 
Yeah
Dunno :(
 
@FlorianMargaine yeah stag party is correct
 
Yay
Anyway it was yesterday
 
nice, did you have fun?
 
8:31 PM
Aaand I'm tired. So going to bed :P
Yeah fun and rage
I was disguised as a rabbit, and there was a rabbit hunt at paintball
So I was like a warrior
 
amazing. sounds like a good time!
 
They got me, but I sure got them too.
And at some time I was scotched at a tree
I escaped on my own....
In 40 minutes
But yeah fun
Party with my best friends (we were 5) so great time :)
 
Sorry I suck
 
@Zirak I fell down that fucking building ... because I'm genius.
Here's a tip.
If you long-right click when near a fence or something then he'll auto-deploy the bipod.
@Zirak ^
 
8:35 PM
yeah I noticed that
My shift-finger likes it
@OctavianDamiean You're really good
 
Well done Sir!
I just got the practice. :
 
9:00 PM
@Zirak the last one is really fucking trick
I failed it a million times.
 
gulp
 
lol how I hate talking about programming on non-SO site
without my rep and badges, nobody listens to me at all
 
Speaking of badges, is there is list of them and how to get them somewhere?
 
Word, thanks!
 
9:10 PM
> Highest scoring answer that outscored an accepted answer with score of more than 10 by more than 2x
basically... wat?
"good answer with the op being a retard"
why is there a badge for that
 
user652649
@Esailija lol
 
there should be a badge for this programmers.stackexchange.com/a/208645/43298
the op accepted his own shit answer
which is even downvoted
 
not too hard if you're Jeff Atwood
 
lol...
 
@OctavianDamiean uh, what!?
 
9:15 PM
@Zirak I failed this one ... didn't hit E fast enough.
 
oh
That was fun though
 
We'll do that one another day if you want.
Wanna go on a vehicle server?
 
Sure. If Battlelog lets us
nah, I think I'm gonna call it a day
 
btw
Kills 	11,154
Deaths 	5,535
K/D ratio 	2.02
:D
I iz serialkiller
 
hurr durr hurr
You have the personality of an annoying camping sniper
The guy everyone has a vendetta against.
 
9:17 PM
I am a sniper. :D
 
I hate snipers
 
And heli pilots
 
Longest Headshot 	1,017.31 m
Like a bauce
 
sniper ehhh
 
9:19 PM
But I'm not the usual "I'll stay on this spot and kill everyone in sight" kind of sniper.
I'm an aggressive quick-scoping sniper that likes to clear rooms. :D
 
@OctavianDamiean Sorry, can't do any more today
 
No problem.
 
I can't quickscope to save my life... I like being hidden and listen to people whine about how somebody with a long range gun doesn't move from a highly tactical spot <.<
 
Was fun.
 
@TimMac Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
9:23 PM
Yeah, very. I kinda like this game
Just need to get used to stuff...like jets and helis.
 
What's the different between $("#id").on(click, function() {} ); and $("#id").click(function() {} );?? It seems like they do the exact same thing O.o
 
Of course, I have quite an advantage especially in helicopters since I have somewhere between 1500 and 2000 hours (in BF2 that is) (I'm not even kidding) in helicopters. :D
I don't know if that's sad or not.
 
@RUJordan they do
 
100% similar?
 
9:26 PM
@RUJordan ^
 
read the code and see
 
Interesting, does that source say that .click() calls .on()?
 
I don't know, why don't you read it and see.
 
Wow, that's really cool
I didn't know that
 
9:34 PM
Japan, you are so weird en.wikipedia.org/wiki/Hatsune_Miku
 
so i can't seem to get a responsive nav bar working :/ ipatch.github.io/KegCop
 
What's a responsive nav bar?
 
Your penis.
 
im trying to use JS to change the nav bar on the link posted above, but it's not working as its suppose too
 
Can't you use media queries?
 
9:39 PM
yeah thats what im using
 
hahah what a response.
 
Hey peeps
 
@Blue 'lo there. BadgerGirl said penis. teehee
 
That she did @OctavianDamiean - That she did
 
user1125394
10:08 PM
@Chris bootstrap
 
hunh?
 
user1125394
responsiveness
 
ohh im doing it from scratch :/
my problem is somewhere in the CSS :( not the JS
 
user1125394
yep, reinvent the wheel
 
Classic
 
10:17 PM
@Chris FOR SHAME
HOW DARE YOU TRY AND DO THINGS YOURSELF!?
 
@Chris There's a syntax error in your CSS
 
WE WERE PERFECTLY HAPPY WITH STONE BLOCKS WE CALLED "WHEELS"
AND THEN FUCKTARDS LIKE YOU CAME ALONG AND RUINED THEM!
 
You've used a colon instead of a semi-colon. Line 164, under the '.nav' class selector
 
AND LOOK NOW! Wheels on cars, wheels on jet planes, all spanking new!
 
@Zirak Calm down
 
10:18 PM
For. SHAME.
 
We are a civilized room
 
@Amin Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Because of magnificent people like @cx we can even aspire to dream of standing completely still!
2
Reinventing the wheel...trying to do something yourself...you arrogant dick.
Zirak, out!
 
We're so phallicentric today.
 
@OctavianDamiean How so?
 
10:24 PM
Just check the transcript. I'm not kidding.
 
@OctavianDamiean Ugh, words...
lol, you weren't kidding
 
Is it my fault?
 
phallocentric*
 
@RobertMoskal Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
10:41 PM
@monners yeah i figured it out thanks for the help
 
10:57 PM
@Chris That'll be $200, thanks.
 
11:19 PM
monopoly money right :D
 
Sure, whatever
 
11:35 PM
@FelixTyson Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 

« first day (1037 days earlier)      last day (3911 days later) »