« first day (281 days earlier)      last day (3507 days later) » 

user652649
you are mad man xD
 
haha they wanted it
I just adapted lorempizza.com for them
and now lorempizza's source is unleashed on the world
I think the contribution graph is fun :P
 
user652649
y u no complete that raffle thing? it was a cool idea
 
user652649
 
user652649
 
12:21 AM
@Wes still on the list
real busy with work right now
github.com/rlemon/place-anything here is the 'base code' for the image services
 
1:00 AM
how come i have two elments set to left 0% one of them goes at there but only one goes there
 
user652649
maybe you also have set right:0 and width:...px ?
 
i fiqured it out it was just being strange how would you put an opake box around text
 
1:21 AM
like a border?
 
1:33 AM
how does she do the dotted shaped lines see here
 
 
2 hours later…
3:05 AM
Morning
 
3:49 AM
@rlemon sorry bro, I was off to sleep, @PatsyIssa glad you liked it :-D
Mornin everyone ~
 
@Mr Alien... Morning
 
@rlemon what did you just made there, let me check
 
it is what drives that
 
@rlemon got it.. :)
Whats the i param for
 
3:54 AM
aesthetics
other apis do it?
 
Not sure as I had created one for myself.. actually its rather easy to make one instead of using 3rd party services...its just that we hav to pass width and height, rest the php gd handles
I am looking to make some url shortening app, I know there are 100s bt jus wanna try one..
@rlemon have you seen the css3 objects creating tool?
 
which one?
 
Tridiv
 
yup
been all over codepen
 
Really well built with js..
 
4:00 AM
yup
 
mrngss all
 
@SweetWisherツ mrnin
 
@SweetWisherツ morning
nice dp
 
mrng mrng @KillerR @Mr.Alien
thnxx Ronak :)
 
oh... Still Remember my name
:D
 
4:12 AM
@KillerR yeah.:)
 
nice
@SweetWisherツ no problem.... its ok you may put my name
 
@KillerR Ohk :)
 
what you all doin??
 
all means?
 
you, Mr Alien and others
 
4:20 AM
@KillerR I m doing chatting chatting... ask others abt them :P
 
@SweetWisherツ i asked general question...
 
@KillerR :P
 
@SweetWisherツ dont you have work??(now thats a personal one)
:P
 
@KillerR :P I have..but right nw not in a mood to wrk :P
 
i dont have work.... but still doing work of my colleague... as i am getting bore
 
4:32 AM
@KillerR m nt gettng bored :P
bcz m helpng ppl :)
 
i am helping ppl as i am getting bored... i am saying that
i want this to run in particular div... do you have any idea???
 
@KillerR lemme check..
wht uu want.... nthng is wrkng der
 
@SweetWisherツ i just want that that black box is a draggable... now i just want to restrict to drag inside perticular div only
 
using jQuery? @KillerR
 
yup
 
4:40 AM
Check this @KillerR
 
i know this..
 
i have implemented that as well... but hte thing is i want to work with this script
 
can;t u change the script??
 
nop.. as i am storing my co-ordinates...
@Mr.Alien can you help me??
 
user652649
5:13 AM
 
hahahaha
nice one wes
jsfiddle.net/thezillion/Qx44z
 
5:51 AM
0
Q: Draggable inside a particular div

jokerI am working on a project in which I have used draggable event. Now the thing is that draggable() event worked fine for me... But as I wanted to store my position I have used following javascript. This one is also working quit good... But the thing is that it will work for whole screen. I just wa...

 
@KillerR asked a ques :)
 
@SweetWisherツ ?????
hahahaha
think of the devil and devil is here...
:P
 
@KillerR wat help you want
 
here is the fiddle
i just want that inner box to draggable inside parent div only... with this code
@Mr.Alien got the asnwer
 
great...
 
5:59 AM
@KillerR great :)
 
BTW if you have checked or not ... but thanx for listening my question .. @Mr.Alien and @SweetWisherツ ... :D
 
@KillerR i thought the same solution :)
 
@KillerR I was working on it, I was expecting jQuery UI there so was going to suggest containment but than I saw it was vannila js
 
Actully i have though about that as well.. but was not confident over the solution.. but this guy has showed with demo... and guess what @Joker got that...
yah... as i have tried continment.. and even one has posted that answer as well... but after seeing edited question he has removed his answer
@Mr.Alien one thing still confusing...
how you know whether it is vanilla js or anyother js?? i mean whats the specification for that???
 
@KillerR yo don't use library, so it's pure js to be obvious
containment won't work for you as you are not using jQuery UI
 
6:08 AM
actually i was not aware about that.... as i am just a fresher...
 
check the puzzle game in my profile description, it uses jQuery UI
 
(y)
i saw that puzzel game...
 
I'd personally recommend against making your games in the DOM
That's pretty much what we have canvas for
 
@Mr.Alien hey in that puzzle game is it possible to swap two boxes?? i mean if i drag one box to another's... that time it is just putting box to the position where we are dragging and the box which is currently present at that position will move to the next to that box...
 
@SomeGuy well, not every game needs canvas...
 
6:13 AM
@Mr.Alien What kinds of games can you think of that are more semantic to make using the DOM?
 
@KillerR nope, no swap functionality
 
@Mr.Alien actully it is taking more time... as the box just moves to next position
 
@SomeGuy take for example rlemons simon doesn't use canvas, recently one of my friend on this website is making a grid game, doesn't use canvas as well..
 
Haha, I'm not saying you can't make games in the DOM
I'm saying you shouldn't
Regardless, it's just my opinion
 
@KillerR yea I know it isn't much friendly, anyways I programmed that in an hour :p
@SomeGuy ya, even am saying that no all should be made in canvas :) should opt whatever is feasible and best suited, recently I am having an idea to create a game, won't use canvas there as well... :p
 
6:17 AM
So what makes the DOM better suited for games?
 
its best suited when a person is not aware of canvas?
 
That's like saying it's best suited to drive a car over a water if you can't steer a boat
 
@Mr.Alien- seriously?? in an hour... i think i take more than a day.. :P
 
yea... if it does the job than why not? :D it;s like some programmers using bgcolor instead of css which just does the joib
anyways I am not a hardcore game creator, that's for my self happiness :D
 
Everythings going like a bouncer to me... :P
 
6:21 AM
hahaha u r a kid :P @KillerR
 
you don't know html? @KillerR
 
@Mr.Alien I would say it's a bit worse than that
 
Obviously i know this
 
@SomeGuy I will create fancy ones with canvas once am pro with js
 
but as i havent used canvas and DOM i dont know abt that... my point was just that
 
6:23 AM
@KillerR DOM - Document Object Model
 
that to i will search it now...
 
nothing new
dom is just say html markup, you alter the dom using js
 
@KillerR Have you used JavaScript?
Whenever you interact with the HTML through JavaScript, you're using the DOM
 
@SomeGuy he just used draggable :)
 
@Mr.Alien if i come to know any unknown thing then i search it and try
yah i know javascript as well
oh k.. got that....
 
6:25 AM
if you know js, how come you are unaware of the dom
 
So whenever you use document in JavaScript, you're using the DOM API
Like document.getElementById
 
i just started using js and jquery after i joined company
till that i knows only babaji ka thullu.. :P
 
getElementById is a function of the document object
@KillerR Where do you work?
 
now thats equivalent to $('selector') in jquery
 
yah.. that i know... @SomeGuy
 
6:27 AM
@Mr.Alien #selector is what you meant
 
In a small australia based company in ahmedabad
 
@SomeGuy nope.. you need to replace the word with the actual selector
 
Well, getElementById can only get you IDs, so a selector function is not the equivalent of gEBI :p
$('selector')'s equivalent would be document.querySelectorAll('selector')
 
@SomeGuy I don't think jquery has specific thing to an element only by id, that takes a lot of fat out of vanilla js
 
@Mr.Alien Yep. That's why, to be specific, I said that it should be $('#selector') since that'd be the same as gEBI
 
6:31 AM
hmmm
# for ids and . for class
 
Yeah, the same as CSS selectors
 
@SomeGuy aaa yess..
 
@SomeGuy and @Mr.Alien thanx for sharing such informations
 
Sure
 
@SomeGuy where do you work?
 
6:34 AM
I don't, right now
Freelance contracts when I do
 
oh...
i think you guys felt silly after seeing my buch of question... sorry fir that but i really was unaware
 
Everyone starts somewhere
 
you are right
@SomeGuy since how many years you have worked for IT???(just for info)
 
Worked? Maybe 1-2. I started learning 4-5 years ago
 
and I started 2 yrs back
 
6:41 AM
@Mr.Alien seriously????
@SweetWisherツ WAU???
 
yap, am a commerce guy
 
@KillerR M here only
 
@Mr.Alien oh... Damm..... Gr8 buddy.... You are seriously genious
 
user652649
 
@SweetWisherツ Since what time u have been working in IT profession???
 
6:44 AM
@KillerR no, am alien
 
@Wes Hahahaha
 
hahahaha
 
@KillerR 8 months
 
Actually aliens are genious .. arent they???
@SweetWisherツ gr8..
 
@KillerR Well, "aliens" when we find them will most likely be something like single celled organisms, not intelligent life. So, maybe not :p
 
user652649
6:46 AM
 
Hahaha
 
hahahahaha
 
user652649
user image
2
 
What's worse than finding a worm in your apple?
The Holocaust.
 
@Wes possesed :P
 
6:48 AM
What's worse than that?
Finding 2 worms in your apple.
 
@SomeGuy hahhaha
 
I want to find which function is called when i click some button
 
Check the devtools
Select the element, and check for "event listeners" on the right
 
where is event listeners?
 
(If you're using Chrome's dev tools)
 
6:52 AM
@SomeGuy id de tera
 
hahahahaha
@Mr.Alien speak in english please.. :P
 
use eng only :P
 
@Mr.Alien Email?
 
user652649
 
@SomeGuy yup
 
6:54 AM
amaan.cheval at gmail
 
user652649
so, the korean guy is ginger
 
user652649
the english guy is a lumberjack from colorado
 
Hahaha
 
user652649
the german is yellow?
 
user652649
the polish is black
 
user652649
6:55 AM
that's really confusing
 
so you make html5 games :P
 
Indeed
 
user652649
 
user652649
ok this is enough
 
user652649
going to office
 
user652649
6:56 AM
ahah
 
user652649
later
 
Is everyone in The Simpsons an Asian? :p
 
hahaha... last one is helarious... seriously
i think they are africans...
 
I want to download simpsons, but the 77gig pack takes too much tym
 
user652649
6:57 AM
@SomeGuy they are radioactive!
 
Y U LITTLE?!
 
@SomeGuy you don't use hangouts?
 
I stay offline generally because some people I have on there have a tendency to be annoying :p
Online now
 
Than why not use a beautiful block feature? I use it often :D
 
They're not people I want to block :p
 
7:00 AM
doesn't show you online, probably cuz you are using old gtalk
ohhh
 
Na, GTalk's been gone for a long time
I just stay signed out of Hangouts most of the time
What's your email?
 
firekillz[at]gmail
 
@Mr.Alien you are alien.. no fire kills you... :P
 
yes it won't, c my eyes
 
@KillerR hahaha
 
7:09 AM
@Mr.Alien then why firekills??? is that a warning for humans???
 
that was an id created when i was 15, with no brains
 
Yeah, you should probably get a new one. Use both until the old one fades out
 
since how many years you are using this id??
:P
 
@KillerR 8 yrs :P
 
^^ obviously
 
7:13 AM
that means you are of 23 :P
 
@SomeGuy nah, my work id is vaibhav[at]quratek.com as well as admin @ same..
@KillerR my profile says that :)
 
Ah, cool
 
:)
 
actully... i mimics dialouges of CID
 
crap show, anyways I hardly watch tv...
 
7:16 AM
iska matlab pata hai daya.... khooni khoon karke gaya hai... :P
 
@KillerR hihahhaha :P
 
you know what that means, DAYA??? the murderer has murdered this guy...
:P
@Mr.Alien this show is not famous for its cases... its now days famous for its trolls like this
:P
 
I prefer castle
 
I prefer SH
 
Sherlock is a great series
My favourite is Game of Thrones, though
The books are brilliant
 
7:24 AM
I want that series... @SomeGuy
i am in search of that
@SomeGuy have you seen SH season 3??
 
Yep
Don't spoil it for people who haven't, though
 
@SomeGuy I started game of thrones, and I was so relaxed ... and the moment a nude scene came I panicked and switched of the pc that ryt moment as I was wachin when others were around
 
Hahaha
Yeah, use your laptop or something :p
 
hahahahaha....
@SomeGuy dont worry i wont..
 
now I watch in tablet
 
7:29 AM
@Mr.Alien lol....
Lunch time... See you after 30mins
 
Lunch time...
 
7:47 AM
Morning
 
@PatsyIssa mornin... o/
lol, I love when the beg
they*
 
8:10 AM
@PatsyIssa morning
 
8:28 AM
good evening every one
 
What's up?
 
still trying to figure out where i am
 
You're lost?
 
Where you lost @PatsyIssa
@dholakiyaankit evening??
 
8:30 AM
need more coffee
!!google timezones
 
@PatsyIssa - Why so??
@SweetWisherツ -- ???
 
@KillerR yeah?
 
You were surprised that he said good evening wanted to show you that there's something called timezones :P
 
Hahahaha..... @dholakiyaankit have you seen the time zone????
@SweetWisherツ -- nothing :P
 
8:33 AM
but we are in evening so we should wish that one @killerr
 
we are in afternoons.... moving towards evening... @dholakiyaankit
 
Dude, it doesn't matter
Oh, wait, dholakiyaan's in India too
 
:P
 
ok mann :D
 
8:37 AM
I was here first.
 
@SomeGuy @Mr.Alien << my 2 favorites :P
 
Microsoft... Nandela.. Indian
 
@PatsyIssa Aww
 
@PatsyIssa ah hey hey
 
:D:D:D:D:D:D oh man owsome @PatsyIssa
 
8:38 AM
@DarkAshelin mornin :D
 
I haven't been able to get my og.likes to work yet
 
aight let me look into it
 
I'm probably just doing something wrong in the function. I can't find any sample code on how it should be
FB.api(
        'https://graph.facebook.com/me/og.likes',
        'post',
        {
            'object': 'https://www.facebook.com/thewallsnackstores/',
            'access_token': accessToken
        },
        function(response) {
            if (!response || response.error) {
                console.log(response.error);
            } else {
            }
        }
);
 
@DarkAshelin Morning Gal from city of boobs... :P
 
8:39 AM
@Scorpion You're alive !!!! :D
 
:D <3
alive and busy
 
@Scorpion :)
 
@Scorpion rhinoceros????
 
no it's a fucking panda, can't you see it?
2
 
@Wes morning... @Scorpion must be
 
8:41 AM
is that an indian?
3
 
user652649
ahah
 
user652649
are you guys on drugs? xD
 
user652649
morning everyone
 
I sure hope indian is on drugs, other wise he's weird when he's sober
 
8:42 AM
HAHAHAHHAHAHAHAHAH
 
@PatsyIssa yeah I used that
but can't find any sample code of the function anywhere
 
user652649
lolol
 
hmm gime 2 min
 
@Wes morning... @Scorpion must be
 
like I don't know what that object is supposed to be or how it should look like
 
8:42 AM
@Scorpion Hahahaha, that's amazing
 
we've been printing maps incorrectly all these years
 
I don't know if the starting url should be https://graph.facebook.com/me/og.likes or https://graph.facebook.com/thewallsnackstores/og.likes
 
@DarkAshelin seems the docs are shit (go figure), the way to do it is have the like button on your site and to get the callback you use the following developers.facebook.com/docs/reference/javascript/…
 
so there's no way with a custom like button?
 
well you can hide the fb button and position it over your custom button, that's how i used to do it, opacity or visibility and absolute it over yours
 
8:49 AM
any interesting reads today?
 
@DarkAshelin you have to become a wizard.
 
or that always be a wizard
 
whoa @PatsyIssa stealing my stuff.
 
8:50 AM
by choice.
 
@PatsyIssa well but the original button is very small, and I want my button to be huuuuuuge
 
sec i ll amend :P
 
and there doesn't seem to be any way to increase the size or change css of the facebook button
 
you can set a width and a height to it :P
 
how?
 
it doesn't change the button width
 
can even change it, it's stored as a data attribute or smth
 
it doesn't change anything for me :/
 
guys I need some eye candy.. any interesting articles?
 
<div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-width="400" data-layout="standard" data-action="like" data-show-faces="false" data-share="false"></div> << data-width
 
8:52 AM
that width field is just the "maximum bounding box"
 
it extends the clickable area
 
not the width of the actual button
have u tested it? it doesn't extend any clickable area for me at all
 
let me fiddle it
It won't take opacity or visibility -.-
But that is exactly how i v done it for ages -.-
 

« first day (281 days earlier)      last day (3507 days later) »