« first day (906 days earlier)      last day (4049 days later) » 

3:00 PM
jQuery is not evil. Dont' listen to Nexxpresso
he's an idiot
 
Just beast-moded a desk on top of my bureau solo. HULK LIFT!
 
is there a chocolate.js aswell :)
 
@rlemon I'd be surprised if they weren't :P
 
lol
 
3:00 PM
@user1706511 See Vanilla JS
 
@user1706511 jQuery is meant to help you do stuff faster. However it assumes you know the language it is built on (Javascript) before you use it
 
@AmaanCheval It isn't so funny when you're 18 though. :)
You look like a pirate (especially if you used to shave your head back then).
 
@OctavianDamiean Oh, yeah. I'm very careful
 
@AmaanCheval @OctavianDamiean my problem is; they want to replace them with fake ones, but the fake ones I had as a kid stained really easily and quickly. I don't want yellow front teeth.
 
at the moment i m trying to create something like this in drupal webform but it really seems to be hard
 
3:02 PM
start of with jQuery (or YUI, MooTools, <placeholder>) and play around. After a while you open (e.g. code.jquery.com/jquery-latest.js) and find out what happens if you use the library. Learn and build simultaniously is a great way to get good
 
@user1706511 don't bother about people telling you to not use jQuery. Use it. Learn it. Just don't forget that it is JavaScript, and that you'll have to learn JavaScript to truly understand it.
 
@rlemon Because those where made of plastic most likely.
 
@user1706511 Do yourself a favor and for everything you learn in jQuery, learn how to do in plain old javascript also.
 
if u click on the linkthat is what i m trying to create in drupal webform
 
3:02 PM
you'd benifit MORE if you learned some basics of Javascript first before starting with any abstraction libraries.
don't listen to anyone who isn't telling you common fucking sense.
 
who are we actually convincing ?
 
Mine are made of ceramics.
They even feel quite genuine.
 
@OctavianDamiean well i'm going to rock my real teeth as long as possible. Although I am feeling they will have to be replaced before long.
 
jQuery is meant to be an abstraction over the DOM API, not an abstraction over the entire javascript.
 
Paid about 700 to 1000€ per tooth.
 
3:04 PM
the cracked ones that is. I'm surprised they haven't broken off before now.
@JanDvorak false, they do abstract some JS stuff like Array.forEach
it's like they haven't made up their mind.
 
@rlemon they started out as a DOM API, though
 
yea. but that isn't what it is now.
Communism started out as a good idea.
:P
 
@BenjaminGruenbaum Yesterday I referred to this problem (or rather, its computational equivalent): en.wikipedia.org/wiki/Subset_sum_problem
 
I heard lots of US folks have teeth covers ? Is there any truth on that rumour ?
 
I'm going to ask an easy question that I can't figure out. I am submitting a form with ajax, and data[Project][project_name] is being posted. In my success: function(data), how do I get the project_name?
 
3:06 PM
@jAndy hmm. there's the Skeptics site...
 
@jAndy even in Canada 'crowns' or more thuggish "grills" are not uncommon. however 'crowns' as a real dental thing are more common.
A crown is a type of dental restoration which completely caps or encircles a tooth or dental implant. Crowns are often needed when a large cavity threatens the ongoing health of a tooth. They are typically bonded to the tooth using a dental cement. Crowns can be made from many materials, which are usually fabricated using indirect methods. Crowns are often used to improve the strength or appearance of teeth. While inarguably beneficial to dental health, the procedure and materials can be relatively expensive. The most common method of crowning a tooth involves using a dental impres...
 
alturl.com/f92vo <<<<< cool form>>>>> this is what i m trying to create in drupal webform but getting stuck alot at the moment i m using jquery but its very hard to make something like that
 
In hip hop culture, a grill (also front or golds) is a type of jewelry worn over the teeth. Grills are made of metal and are generally removable. They began to be worn by hip hop artists in the early 1980s, and upgraded during the 90s in New York City, but they became more widely popular during the mid-2000s due to the rise of Dirty South rap and the more mainstream pop culture status Hip Hop attained. Though grills are fitted to the tooth impression of the wearer, whether they are safe for long-term wear is unknown. Characteristics and wearer demographics Grills are made of several typ...
@jAndy which are you referring?
 
its actually quite unreal how many us girls especially, have so hard white shinning teeth, which looks good but ultimately unnatural
there must be some cheating going on
 
unatural is everlasting
 
3:08 PM
@jAndy It's called bleaching.
 
Dental bleaching, also known as tooth whitening and swabbing, is a common procedure in general dentistry but most especially in the field of cosmetic dentistry. According to the FDA, whitening restores natural tooth color and bleaching whitens beyond the natural color. There are many methods available, such as brushing, bleaching strips, bleaching pen, bleaching gel, laser bleaching, natural bleaching, and swabbing. Bleaching methods use carbamide peroxide which reacts with water to form hydrogen peroxide. Carbamide peroxide has about a third of the strength of hydrogen peroxide. This mea...
 
lol
 
@OctavianDamiean I don't think you can create SUCH whintess on bleaching alone
 
try using a miswak
 
@Nexxpresso as I said, its not natural, entirely white teeth are not normal by any means
 
3:09 PM
I smoke and drink coffee, brush twice a day, floss and mouth wash. I still need whitening from time to time. Brushing alone will not stop staining.
9 messages moved to Trash can
 
porcelain veneers are pretty common in the more posh areas
 
just stop
 
HAMMERTIME!
 
just halt
 
user2157210
he really mad to day
 
3:09 PM
whenver u go toilet gargle ur mouth
 
HAMMERZEIT!
 
speaking of hammertime
there's a stop-sign near a local diner
 
user2157210
People in NA actually go to the dentist to bleach their teeth?
 
and someone spray-painted "hammer-time" just beneathe the word "STOP"
 
user2157210
never heard of anyone doing that here but guess it happens to
 
3:10 PM
 
crest whitening strips too
 
it costs 650$ to bleach teeth by dentist
luckly my health insurance covers it
 
I guess it'll also cover viagra then..
lucky you
 
and 150$ for regular cleaning, its ridiculous
 
@PrakashChennupati where you live, according to your currency, for your dentist. This is not a standardized price everywhere.
 
3:12 PM
i would imagine no one goes to dentist if they dont have health insurance or benifits
 
@PrakashChennupati your dental plan covers a totally cosmetic procedure?
 
just down the street in Waterloo cleaning is cheaper and whitening is like half that price.
 
is there any faous website with chat room where i can ask jquery questions for help?
 
@canon covers everything, including orthodontics
@rlemon canada
 
@user1706511 ask right here
 
3:12 PM
 
or there ^
 
@PrakashChennupati yea, I know. Im just pointing out that in Canada (even in Ontario, I'm from Kitchener Waterloo) the prices vary
 
Malocclusion can cause other problems... orthodontics makes sense. Bleaching on the other hand...
 
user2157210
Dont even know prices for dentist
 
3:13 PM
@rlemon although there is a huge difference in whitening a dentist does, the the whitening you do at home
 
user2157210
called insurance never got a bill
 
it usually lasts a lot longer
 
^added to backgrounds folder.
 
There's also this room, almost guaranteed without psychopathic killer : chat.stackoverflow.com/rooms/27320/jquery-appreciation-room
 
3:13 PM
:)
 
i m trying to build a webform like this one alturl.com/f92vo but i am building it on drupal webform and i m kind of stuck because i have done hide and how with jquery but its not working correctly can anyone help?
 
"its not working correctly" is not an error. So no we cannot help
 
@user1706511 Do you know how to debug javascript?
 
be more specific, narrow down your problem. Find the issue and ask us about that.
 
If not, now is an excellent time to learn. Find the line and show us if you can't understand why it's wrong
 
3:15 PM
nope srry i m new i would love to know how is there a youtube vidfeo or something and do i use firefox or chrome?
 
use chrome.
open the page
CTRL + SHIFT + i
open the 'console'
 
or firefox with firebug
 
right click -> clear console. (for good measure)
then refresh the page and do the action that fails.
report everything you see in the console.
 
Bottom right should show javascript errors in red
Clicking it will take you to the exact line of error
 
@Neil does firebug come standard with FF?
Chrome comes with the dev tools. I must say that is a big big win
 
user2157210
3:17 PM
Am I the only one who finds firebug more appealing than chromes webtools?
 
@rlemon It didn't at least when I installed firefox
 
Does anyone know how this kind of assignment (supported in Firefox) is called? [foo, bar] = [1, 2]
 
FF has its own dev-tool plugged in since a couple of versions
 
@FabrícioMatté tuple
 
user2157210
@rlemon Firefox has its own tools too with a working debugger
 
3:18 PM
but I still prefer Firebug
 
the FF console (default) sucks hard.
 
ctrl+shift+i opens the last dev-tool tab. ctrl+shift+j goes to the console specifically
iirc
 
user2157210
but it has a debugger
 
firebug was the only thing we had until chrome, traitor
 
@canon You're correct
 
3:18 PM
@canon yea I just +i because 'last is good enough for me'
 
user2157210
the debugger is prebuilt right?
 
its not showing any errors the code is working its like hide and show but when it shows it slides multiple times instead of just 1 time
 
user2157210
Can anyone confirm the debugger is standard in firefox?
 
@rlemon Thanks!
 
3:19 PM
Oh that, thanks @dystroy :D
 
@user1706511 what is the line of code to do the animation? I assume it's missing a .stop(true).
 
@user1706511 Then click on the left-hand side of the line which executes the slide and verify that it isn't called more than once
 
you can see how its not working properly
 
@FabrícioMatté are you actually trying to do this in JS?
stackoverflow.com/questions/4512405/… CS might be the best way to go about it.
 
3:20 PM
Nah, I just had to assign 2 variables inside an if block then this syntax popped up in my mind but I couldn't remember how it was called
 
@user1706511 i'm not looking through all of your source files to find the animation
 
curiosity only :P
 
seriously dude, break it down.
 
oh k
 
@user1706511 You're the one wanting a solution, so if you want one, you have to do some work too
 
3:21 PM
Speaking of that, is destructured asignement supposed to come with a future ecmascript ?
 
Do the best you can to locate where you think the problem might be
 
i want to but whatever i have been doing is wrong :(
 
@user1706511 So do the opposite of whatever you've been doing
 
user2157210
@user1706511 set some breakpoints right where it adds the thing you get multiple calls and go step by step through it
 
i just dont understand why its sliding multiple times i have tried it in jsfiddle and on that it was working fine but when i try it on drupal webform it dosent
 
3:23 PM
you are loading jQuery 1.4.4 and jquery 1.9
why?
 
more jquery is better, right?
 
O_O
 
user2157210
The more jquery the more better.
 
m new thats y lol
 
He's going for jQuery 2.13.4
 
user2157210
3:24 PM
wouldnt that be 3.3.4?
 
no, everybody knows jquery 1.9 just fixes bugs in jquery 1.4.4
it doesn't even work standalone
 
@Nexxpresso No, you can't carry the one and leave the 13
 
does that matter though ?
 
just be sure to use noConflict then
 
$('.form-item').click(function () {
    $('.question:visible').slideUp().next().slideDown()
});
^ this is the problem code
 
user2157210
3:25 PM
@Neil fixed
 
it's triggering the animation on all of the questions, I suspect you just want the closest one
 
yes becuase each question i have put a calss called question
class
 
so there is your problem.
 
and where is my problem ?!
 
now really think about how you could solve this, logically. If you can format a question on how you think you can solve it we might give you the syntax.
 
3:26 PM
what code is used for next is it .next() ?
 
look at what $('.question:visible') returns
 
@Nexxpresso Could be 3.3.4
 
user2157210
so the higher the better
 
$('.form-item').click(function () {
$('.question:visible').slideUp().next().slideDown('.question:hiddne')
});
ihidden
srry hidden
 
@Nexxpresso No.. you're familiar with internet explorer I assume
 
user2157210
3:29 PM
 
user2157210
Your arguments are irrelevant!
 
m trying
i dont even know how to debug :( i m gonna search for a youtube video and learn
 
@rlemon Chef's knife. Cilantro.
 
 
user2157210
lol
 
3:37 PM
i love that picture
(the cat, not billy boy)
 
lol
i think everyone went through what i m going through at some point
m waching videos on youtube on debugging on javascript in chrome so i hope it will help :)
 
@user1706511 Bravo. You're making it easy for yourself in the long term
 
user2157210
Is there a debugger in chrome?
 
is there a troll in the room?
 
@user1706511 both plz..
 
user2157210
3:43 PM
oh there is it just has no title
 
youtube url or the webform?
 
YoutubeURL
@user1706511
 
@user1706511 thanks :)
 
i wish it was like changing css
 
3:47 PM
@user1706511 That's funny.. I was thinking the same thing about wishing css was like changing javascript :P
css can be a major pain for those who don't use it correctly
 
lol think of a number between 1 to 10
 
user2157210
css is a major pain
 
user2157210
@user1706511 eh ok
 
Worse thing you can do in css is adjusting values in order to compensate for other problems
 
3:49 PM
So that then, when you actually fix the real problem, you mess everything else up that was altered to compensate for it
 
user2157210
no
 
user2157210
nah
 
Wait, are you guessing your own number from 1 to 10?
 
user2157210
he is guessing mine
 
user2157210
3:50 PM
which is 7
 
6 +1 = 7
i did get it right :)
 
user2157210
great
 
user2157210
a genious you are
 
 
!!/eval Infinity - Infinity
 
3:52 PM
@canon "NaN"
 
lies
 
hi all , i have done showstat.onclick = function calculating(){ ...} and when i called the function calculating() ; later it saids that calculating function is undefined ?
 
why does @BadgerGirl want my phone number?
 
@echo_me Because like that, you're creating an anonymous function I believe
You need to declare it prior then assign it
 
She likes being creepy
 
3:54 PM
k m gonna try using javascript debug and if i m still strugling then m gonna come back
 
@Neil how you mean ?
 
probably tomm
when i use break point in script
when i click the play buton does it start from the top or starts where i paused it from ...
 
I mean do this:
function calculating() { ... }
showstat.onclick = calculating;
 
I got a creepy call last night, from the number 0049.. what actually totally makes no sense
I have the feeling @BadgerGirl has something to do with it
:p
 
does anyone know any longer youtube videos which shows javascript debugging like 1 hour long??
 
3:56 PM
In that way, calculating is a function usable in other places. With the way you had it prior, you were creating a function just for assigning
 
Wondering why my on('click') function requires that the user click twice?
 
PUT THAT COOKIE DAAAAUN, NAAAAAOOO!
2
sorry, i just saw the room-tags
 
@captainrad fiddle ?
 
k just a moment.
 
user2157210
@jAndy just means someone bought a german voip number
 
user2157210
3:58 PM
to call you at night!
 
^ one of the best things on the internet
 
@Nexxpresso yay I read similar. Pretty creepy that you can see whats behind
 
@Neil yes worked thanks !
 

« first day (906 days earlier)      last day (4049 days later) »