« first day (352 days earlier)      last day (3436 days later) » 

12:02 AM
@MikeM. No idea - you should probably ask this in PHP room
 
1
A: Using jQuery to get unknown data attributes and copy them to new element

bjb568Just clone the node: jQuery('.fancy-select .field option').each(function(){ this.parentNode.appendChild(this.cloneNode()); }); Since this is vanilla, and DOM manipulation instead of string manipulation, it will be much faster. And it's nice and simple too. Fiddle But you want it to be an <...

 
Getting arm blowed again xD
 
Arm blowed?
 
Ye you know when they censor your bloodpressure in the hospital that you get a bandage around your arm and gets blowed up
Well this does the same like I explained xD so arm blowed :D
 
Hi everyone
question
 
12:07 AM
New word for the dictionary xD
 
Would jQuery loading on my page affect touch scrolling on android devices?
For some reason on stock android devices, the images seem to be decoupled from touch scrolling until I let go. If I comment out some jQuery that uses masonry, it works normally. It happens on pages without masonry though, bur they using other jquery objects like social media buttons and disqus comment sections.
 
Just ask your question instead of saying or asking to ask a question :)
 
:)
so it looks like whenever jquery is manipulating anything on page it makes my scrolling act weird, kind of like the images are decoupled from the scroll.
it's hard to explain, and weird, and annoying.
 
Sorry cant help you with that one xD not familar with javascript and jquery
 
have you come across anything like that with CSS? :)
 
12:09 AM
No… It's quite bizarre.
 
Not really xD
 
So you have?
 
it makes for a horrible experience
I haven't seen it do it on iOS though either. Maybe I'll go harass the javascript type peoples.
 
Try uploading the script to pastebin or fiddle or however its spelled might get you more info
XD if you'd harass them dont expect any help from them xD (be nice and dont worry be happy ;))
 
well, it's not like a specific script, masonry does it on the home page and on the other pages it seems to be social buttons and disqus plugins
haha, not quite harass.
 
12:13 AM
I think it deserves a full question on main.
 
I did, nobody replied :(
 
Link?
 
at first I thought it was my css but then edited to say it might be my jquery stackoverflow.com/questions/23120726/…
 
Igona annoy some php freaks with my mybb question xD
 
Have fun Mike :)
 
12:19 AM
@bjb568 Don't post a link to that question again.
 
XD maybe it will lead into raging php peepz xD
Hiya zach
 
How are you?
 
just fine, thanks
 
@Zach Which question?
 
12:21 AM
The one that you answered that you've posted twice in the chat now.
 
Lel they neither know things about MyBB
 
@Zach Twice?
 
You linked it earlier complaining about another answer
 
That was like an hour ago. I forgot about it. Why are you complaining?
 
because it's spam
 
12:24 AM
Spam? I thot it would be interesting. Flag it if you want.
 
Lets stay nice in here ;)
Lets think about RAINBOW UNICORNS xD
 
ROFL (not rt)
 
thanks for the upvote @bjb568 I assume it was you
 
Radiotelegraphy? What?
@Uzumaki Yup. :)
 
12:30 AM
I don't suppose you have a mobile on hand to look at my site and see if it does it with you?
 
No.
 
ah, nw.
sometimes I wish it was the 90's and all there was were monitors, not all of these blasted mobiles, tablets and whatever. I;d have finished this crap months ago.
 
Then dont make a mobile version XD
 
ah if only it were that simple.
 
If it was simple than there wouldnt be programmers/scripters
 
12:34 AM
@UzumakiDev You check your question?
 
oho
 
Responsive is better than mobile sites.
 
it is responsive. 2 ticks @ZachSaucier I'll paste in the code.
 
If the content of a website is good/great dont you think people will wait a bit longer..
 
a lot of people don't know your website is good if they've never been there before so they bounce
 
12:38 AM
you have to convey your message and quality of your site the first instant to get much response
 
Ye but most likely people are allwsys returning to check it so they are gona check it at a decent computer
 
are you saying that people who visit on mobile go back and check on desktop, @MikeM. ?
@UzumakiDev That function name
 
Well if people think its usefull they will
 
@ZachSaucier oh yea, is that not allowed? I forgot it was there lol
 
@UzumakiDev It's fine, just commenting
 
12:42 AM
haha okay
 
but you should try to clean up your question a bit and also add the Masonry tag
You don't have to have edit, just redo the question
it's not the CSS, it has to do with that Masonry function evidently
 
Hmm, but it's not specifically Masonry, it happens on other pages without Masonry, that's what's so confusing.
 
but is the code generated by the masonry code what affects it?
meaning does the generated code persist to other pages?
You just have to have a more specific question, as it is it's hard for us to help because it's so broad
 
Hmmm yay! Got my style editor working there is just one issue xD it yet only works for the default php file
 
I'm having a hard time narrowing it down myself, I was just throwing it out there to see if anyone had had a similar problem.
Masonry is not affecting the other pages. One page specifically is using a disqus comment plugin and social media buttons. If I deactivate them the problem goes away, same way as when I disable Masoney on the home page.
 
12:47 AM
Comment out sections of code, starting with all. Narrow down on the culprit, then fix it.
 
do you have any other scripts running besides those two?
 
let me just double confirm deactivating the plugins fixes the problem as it was a while ago I did it. @bjb568 I was doing that when I stumbled across the masonry code.
 
kk, sounds good
 
sigh, okay that didn't work. It's something else, I'm going to comment out stuff again :/
 
12:52 AM
Ooooh. Did you see meta.stackexchange.com ?
 
they broked it?
 
morning
 
oh wait there it is
 
It's new.
 
shiny.
 
12:53 AM
223
Q: Operation 'Split, All The Metas!' Shall Commence On April 16, 2014

Tim Post Update 2014-04-16 23:33 UTC: The split is in progress. Check back for updates. Not all of them mind you, just Meta Stack Overflow into Meta Stack Exchange. I'll have you know, factually, that we really did believe this would take place in six-to-eight weeks when it was originally announced,...

 
yep
it's been all over the stackexchange websites today
 
Does anyone know how to make a heading that cycles through words like this website? sitepoint.com
 
@Qwertieϟ I don't see any cycling
I just see titles of languages
 
on the "learn to create" part
 
do you mean get the latest posts from a feed?
 
12:56 AM
ahh
 
@ZachSaucier No the last part of the heading slowly changes to show different words
 
they're cycling through visibility
 
Ah, on a large screen. I was viewing on a small one
@Qwertieϟ In that case, yes, I do know how
 
@ZachSaucier :D
The pages source has all of the possible endings in a span
 
you can use the browser inspector to see that they each have a transition property set
there is also no CSS animation shown so it's got to be javascript
you also see that each active one has a class the rest don't
 
12:59 AM
Hey I just got a chromebook for development. Any cool ideas as to what I should make?
 
so they're using some sort of setinterval to change which one has the class
@zach You should make Warcraft 4
 
Chromebook??
 
haha whats that @ZachSaucier
 
@zach google.com/… Make the next one
 
google chromebook? You havent heard of them? @MikeM.
 
1:00 AM
!!google chromebook
 
@ZachSaucier
I'm making this with a friend. Just started today github.com/Legitcode/chromeDJ
 
what will it do?
 
Zach no i did not
 
!!afk meeting
 
1:04 AM
Wow 16gb ssd
Gona save money up for this thingy :)
 
got a 100gb ssd B)
 
@ZachSaucier It will be like turntable.fm except totally peer to peer. No server needed
 
Well zach s its a nice toy some external hard drive helps aswell xD
 
@MikeM. yeah I got it for hacking around / for school dont like taking my macbook
 
1:09 AM
Uzumaki's weird scrolling update: It's not doing it anymore, sometimes, but then posts that have a youtube video triggers it again... fml
 
Well i got a laptop for that 2gb is too low (ram)
My laptop has 6gb ram
 
i have 4gb's in my chromebook
 
Here they only sell 2 :(
 
where are you at?
 
Netherlands
 
1:12 AM
ah so where the chick that got arrested a couple days ago was from haha
 
chicks get arrested everywhere everyday
 
@ZachSaucier i was referring to cnn.com/2014/04/14/travel/…
 
@zach ZachSaucier is afk: meeting
 
Arrested chick???
 
hey @zach
 
1:15 AM
whats up?
@UzumakiDev
 
so I have this scrolling problem on android devices
on a particular page I narrowed it down to an iframe that's embeded into a post
(the problem persists elsewhere without iframes but I'll get to that later)
any idea what might be the cause?
 
okay well I don't have an android phone right now on me. I find that mobile devices especially older android phones do have problems with them though.
what browser btw? in chrome?
 
android stock (not chrome) galazy s3 mini 4.1.3
galaxy*
 
those androind stock browsers are pretty bad in my opinion. I don't know how to help. Try it in chrome see how that goes?
 
I get no problems in chrome or ios
 
1:20 AM
figures. They really should just have chrome instead of the stock android browser on all phones
 
ikr, drives me nuts.
 
I would make a message asking them to download chrome I guess.
 
if it gets to 5am and I still haven't fixed then yes.
 
haha where are you?
 
England :)
 
1:22 AM
im a big liverpool fan
 
ouch
Man United :D
 
haha what?
haha everyone seems to be
 
well, everyone is having a bad season then
liverpool on the other hand...
you know now that I think about it, why the hell isn't chrome the stock browser on android
just why
 
LOL thats what I just said they are weird like that
 
this feels like IE pain
 
1:30 AM
it really does and the browser itself is almost as bad
 
listening to some chillout music fairly loud, youtube decides to play an advert for some overly hype rap music, scared the crap out of me.
 
haha
 
Okay, I think I have some idea what's going on
wait no I don't
 
Anyone here familar with sql injections ifo where can I get started in that section to protect my scripts...
Uzu listening music at youtube use adblocker :)
I am out its 4 am
 
I had to disable it because there are ads on the site I'm building :)
laters Mike
 
1:46 AM
@MikeM. dude you shouldnt be running regular mysql queries what are you coding in?
 
@zach im going for the browser detection, life's too short for this
 
haha
 
hey @zach are you on a mac per chance?
anyone on mac?
 
yes i am
 
could you check this page and tell me what the social media buttons look like on safari? My client said they were duplicating but my vm ware might blow up my laptop.
please.
 
1:58 AM
 
that was fast
 
thats how I roll
 
hmm maybe it was the home page, could you check the home page please?
 
it looks fine
 
what version of safari are you on?
 
2:05 AM
the latest
@UzumakiDev
 
ah, client was on safari 5.1.
what are mac users on now?
 
I never use safari haha I use Chrome. but its on.....
7.0.3 holy shit tell them to upgrade LOL
 
ahahaha
sweet there goes another problem
 
Anyone here know much about HTML5 video?
what's the best solution for HTML5 video and fallback for IE8 users?
 
I know some @redshift
 
2:09 AM
flowplayer?
 
why do you need IE8 compatibility. Where I work we have decided it is way too old and they should have to upgrade to view our site
 
because I work with government clients
but yea, I wish I could ignore IE8
 
Of course man I know how that is Im in the military and I get annoyed every time we take tests its all in IE...
 
reading online, it seems the fallback is to simply add a flash copy of the mp4 video
 
I was just going to say yeah thats about all you can do
 
2:11 AM
ok any particular plugins i should look for?
or do i even need a plugin
 
I haven't needed to do IE8 compatiblity. Wish I could help but I would just use the flash version if in ie8 maybe dont even use a plugin
 
yea thats what im thinking
 
2:28 AM
I'm back btw
 
yo
hey @ZachSaucier how would I do a browser detect in jquery?
 
depends what you mean
do you mean add specific vendor prefixes, or actually detect the browser?
 
I want to detect if someone is using the old stock android and tell them to use chrome, because I'm tired.
 
do something like if /Android/i.test(navigator.userAgent) and not on chrome, tell them to update
 
@UzumakiDev It'd be easier to detect not being one of the major browsers and tell them to use Chrome
what zach suggests is bad practice
 
2:34 AM
What is wrong with checking if they are on android but not on chrome?
 
If it works on Android FF for example
if it's working then you wouldn't want to suggest chrome
just have to check for more possibilities is all, not a bad suggestion in its intent
 
I thought that he just wanted to make them use chrome i misunderstood
 
well I kind of did, but Zach2 has a point
 
haha :P
 
he does, I'm suggesting that if something works, don't suggest something else that works
it's a general concept to remember, so I made it a point
 
2:37 AM
indeed
 
yo
 
You must enjoy your name, eh @happy?
 
Indeed :)
 
so what's your question then?
there must be one since you're posting in both chats at once
 
not really, time to time I like being in the chatroom, give back
 
2:45 AM
Welcome then, though I don't see how being a part of the Q&A is not giving back?
 
@ZachSaucier when I have a problem I prefer the chatroom because it is more direct. I guess I am not the only one
 
Not at all :)
 
The chatrooms are nice, I've only really just started using them.
it's therapeutic sharing the rage you feel
 
no doubt
 
we'd prefer to only get a few of those
 
2:48 AM
ha.
old stock android for instance.
I mean what is stock android now? chrome or that other thing?
monstrosity
 
3:08 AM
@mikedidthis nothing. let me handle it tomorrow
 
user652649
mornings
 
3:27 AM
Morning
 
Morning.
 
3:55 AM
morning
anyone have experience with adsense?
 
No
 
boo.
 
user652649
ask your question @UzumakiDev Don't ask to Ask!
 
@Wes @Uzumaki doesn't necessarily have a question.
 
4:10 AM
ha. well, I have google adsense and I have an affiliate ad, without breaking google's terms and co, is there a way I can cycle through the two ads?
 
Why?
 
user652649
you can't @UzumakiDev
 
Just curious.
I thought not.
I have limited ad space, and the affiliate thing looks a bit meh, not for me anyway, but they said they wanted both ad sense and the affiliate ad
 
<blink><marquee><img src="stupid-animated-gif-1.gif" /><img src="stupid-animated-gif-2.gif" /></marquee></blink>
 
it's 5am and I'm questioning whether I should have drank that last cup of coffee.
hmmm... nah, I know it's possible, it's Google's terms and conditions I'm worried about
 
4:16 AM
You're up too early. Did you not notice the blink, marquee, and stupid animated gifs?
(preferably featuring christain dating or arrest records)
 
aha, yes.
but yea screw this
my brain is dead
laters peoples.
 
 
1 hour later…
user652649
 
Hello
Can anyone please check the code here, and tell me if there is anything that could be improved maybe.
 
6:04 AM
so im trying to make a button
that when clicked... it does some transitions/animation to split into two
like it turns into a "are you sure" kinda thing
with a yes/no
 
6:21 AM
@AbdUlAziz I wouldnt recommend using a generator for aking a custom cms
@Bubbas thats cool!
 
having some difficulites starting lol
never done anything like this
 
Yo
I am back :D without a single minute of sleep xD
 
nice!
you are descriping my next 24 hour period! xD
 
Well I get a shit attitude after 24+ hours no sleep
Just going to skip school today aswell
I have the whole morning and a part of the afternoon off and want me too return for 3hours haha
 
@zach May i ask why ? if the same thing you do can be done faster using a certain service online, why would i stick to doing it myself ?
considering that ,the generated code is all mine and i can customize it anyway i please ?
 
6:35 AM
Cuz you can claim it by yourself whats more cool then an online service
AND you actually don't learn anything from it... So it won't make sense xD
 
@MikeM. For the learning part, somehow . But if i've done this process several times , and i totally understand everything generated by the service, i don't see any problem with saving some time on my hands.
 
Mornin
 
Its your decission but a human just doesnt learn from generated code they do from writing rewriting and experimenting
Good morning patst
Paysy*
 
@AbdUlAziz Understanding what is being generated and what is behind the tools you use is a must
 
Sorry cant write your name properly atm xD
 
6:44 AM
I m having trouble looking at the screen
just woke up
@rlemon how ?
 
Good job PATSY xD wrote it correctly xD
 
:p
 
@PatsyIssa fot s second I thought you colored your hair.... morning :p
 
@rlemon sweet. Thanks man.
 
Gona find out the methods behind a search engine :)
 
6:48 AM
@Mr.Alien i used to color my hair every week :P
Now i m a "skinhead"
 
How do I get separate digits from a integer value...

for example,
var intValue = 123466789
I need to get output like 1,2,3,4,5,6,7,8,9

Anyone pls help me.
 
mu
ha
ha .
 
Lllaya I guess not
Int is one huge int value which is one value if it was an array its possible...
I meant it like an int is 1 solid value while a string can have spaces which can be stripped off to multiple values...
Welcome Mr. Alien
 
@rlemon opps, I was a sleep. I think
 
This is how I would've done that in PHP codepad.viper-7.com/ItvV0I
now am sure he is expecting JS as var is used
 
user652649
6:57 AM
www.php.net/echp
 
hehe
 
user652649
morning
 
@MikeM. I got this!
 
I shouldn't be damn sure always, I just wrote, hit paste, and share
 
6:58 AM
var intValue = 123456789;
	var i;
	var numArray = new Array();

	intValue+='';
	for (i = 0; i < intValue.toString().length; i++) {
		numArray[i] = parseInt(intValue[i]);
	}
 
I always think JS is so ugly that we need to write additional code always to achieve simple tasks
 
meh, don't worry about it. p is close to o.
 
user652649
!!> 123456789.split("")
 
@Wes "SyntaxError: identifier starts immediately after numeric literal"
 
thanks for the support :p
!!> '123456789'.toString().split(//)
 
6:59 AM
@Mr.Alien "SyntaxError: syntax error"
 
lol u edited already
 
@Mr.Alien hello
 
@Wes "SyntaxError: syntax error"
 

« first day (352 days earlier)      last day (3436 days later) »