« first day (661 days earlier)      last day (4512 days later) » 

00:05
@HarryBeasant , you have been spamming in this chat room form month already . and you still cannot find the fixed font button
00:52
0
Q: Need feedback for my javascript calc() fallback script

SnippetSpaceI wrote a failback for the fairly new css calc() rule. It works fine but I want to use it in a prodution environment and would appreciate feedback. If you see any weird/wrong code , possible optimizations, or a way to reduce code size I would appreciate it :). This is the first functional (witho...

hi
how are you?
I have this:

<a style="padding-left: 40px;" class="question" href="#faq">Question?</a>

Which gets appended and therefore the fancybox which are bounded to .question wont work, how can i make it work anyone?
01:15
@Karem What needs to happen when you press this link?
@Jenan a fancybox opens
$(document).ready(function(){ $('.question').fancybox(); });

Is what i have
But i am appending after the document are ready, so the fancybox is not linked to the new .question link
did you try firebug?
Yes ?
@Karem Just call $('.question').fancybox(); after you append the anchor...
@Dennis Wouldn't do.. Tried
Argh im struggling with this.. cant get it to work
01:32
Can you make an example?
Without some code to look at, all anyone can do is guess
 
1 hour later…
02:45
greetings
 
1 hour later…
03:52
Good Mornings
04:36
hi abishek gm
04:46
Hi All Good Morning, Well I am learning Javascript and I am sure I will lean many thing here..
Learn*
0
Q: wondering if there's a way to input values on a web site's text box using a database table values?

user1580809For example i have a table with username and passwords that i want to input in the hotmail.com username and password box. Is there a way to actually program this? are you allowed to manipulate text boxes of somebody else webpage? Not for illegal purposes, just to make my job easier and not to hav...

Hi @TheAV upto my knowledge it is possible on websites like google where ur query is visible. I donno abt mailin sites
hello, can someone please help me to make this work, I'm a beginner and I don't understand how callbacks work. Here is the code (line 49-53 is where the problem is, I want n to be equal to the number of images in my directory): pastebin.com/PBs2Vnq0. I expect onerror callback to happen immediately (as play() calls change() which uses my n var, but that's not the case, yet I don't know how to correct it.
well I learn many things from W3Schools, just start before a week..can you hep me that how we move ahead and improve my skill, basicaly I am web artist who alwayes play with color and object, but want to also improve my frontend too
05:09
hi,good morning all
@TheAV w3fools.com ... please read it
if you want to actually learn javascript, you should start by reading eloquentjavascript.net/contents.html and watching yuiblog.com/crockford lectures
@NaomiJO hey im sorry but the way your code is set up is potentially bad! and just taking a glance at it you are creating a bunch of images until there is an error and then you are using the 'callback' function.
05:23
hi,
I have 10 text boxes and 5 drop downs in my form.and I have a button named"search". when i enter the values and click on the search button I have display the search results.Entering all values is not required,user has to enter at least one value otherwise we have to give validation message that Enter at least one value. how can i do this validation?
05:34
Hi, I feeel that i can't understand some stupid thing when creating plugins to libraries, right now i trying to extend Raphael.js library and can't get into namespace of library, even not know how to ask a question
0
Q: javascript callback issue

NaomiJOI don't really understand how callbacks work. Here is the code (line 49-53 is where the problem is, I want n to be equal to the number of images in my directory): www.pastebin.com/PBs2Vnq0. I expect onerror callback to happen immediately (as play() calls change() which uses my n var), but that's ...

@steve <script>
function onclick(){
var textbox1=document.getElementById('textbox1').value;
var textbox2=document.getElementById('textbox2').value;
var textbox3=document.getElementById('textbox3').value;
var textbox4=document.getElementById('textbox4').value;
if(textbox1=="" && textbox2=="" && textbox3=="" && textbox4==""){
return false;
}
else{
return true;
}
}

</script>
user1503059
@srini: Hai Srini I am stucking with a issue in my slider
@nil Hello
user1503059
@Maidul: I am stucking with a issue in my slider
user457812
05:40
@Maidul Answer's still no.
@nil Who is rabinhood .just for give this is not fair? If anything then tell me frankly
@user1503059 show u r code?
user457812
This room isn't the place to discuss this and I already gave my reasons. Plus your English skills aren't on par with the bare minimum we expect.
@srini actually i used an array to load all these values
user1503059
05:46
@steve arrayLength = arrayVarName.length

if (arrayLength == 0)
alert("array is empty")
http://jsfiddle.net/YV2SR/3/
can anyone help me to make good question on this ?
@eicto Your problem being? :)
Good Morning my friends
@user1503059 please notify your issue
@AndersMetnik i not understand how to get $ from _engine
user1503059
05:49
@srini: I want to display the image[0] with its text, as the page loads. It tooking time to load as all the dom elements to be loaded.
I marked line in library that define $
@tereško Sure thanks a lot
@srini if (name == "Search" && command == "Search") {
result = myForm.getFormData();
var result = new Array(result);
var arrayLength = result.length;
if (arrayLength == 0) {
alert("enter atleast one value");
} but it is not working
@tereško i found out the reason
why indians struggle with language
@Abhishek , care to share the insight ?
05:57
its in the inherited traits , they try to speak english with the hindi grammer , and thats because they are never taught english as english but they are taught to convert english from the language they understand , (Which is not the best practise now )
For instance this qoute from my class yesterday
that could explain the interpunction or lack thereof
"Everything i am saying is very much clearly"
user457812
Best practice is to simply have people who speak English around you when you're little and have kids try to speak English as they pick it up from the speakers.
If i just replace the words with the hindi equivalents it would make a perfect sentence (with minor swapping of places )
user457812
05:59
Children are pretty much capable of picking up any language they grow up around.
@Abhishek do others even understand you , when you say something in english ?
user1503059
@srini: have you got the point what I am need of.
@AndersMetnik any ideas @AndersMetnik ?
@tereško barely
they have to think for a minute or two whenever i speak
some do , rest just see my face and think "DaFuQ he jus said"
user457812
@Abhishek Well, only way around that is to keep speaking with English-speaking people.
user457812
06:14
That said, most people don't have the patience and most speakers get frustrated with any feedback they get.
I have been talking to "proper" english speaking community since past 4 and half years
mostly americans , some brits and some really really old brits
[rest this room] , i have no shame in admitting the english i learnt in these 4 years is 100x better then what i knew before it with 14 years of school :-|
user1503059
@tereško: Issue in displaying the index-0 image
user457812
That's just how it goes.
user457812
I'm not sure there's any non-cynical way for someone like me to say this, but you aren't going to croak right away, so you've got plenty of time to continue to improve.
user1503059
I need some help, can anyone help me out
user1503059
06:21
Regarding with the Javascript/Jquery
@user1503059 what the problem ?
06:42
I need someone to chat with on a problem i am having- i need help with making a plugin that will autofil a form according to what you select on dropdown menu - it wil be db driven - i have code but i have some issues
user1503059
@eicto: I want to display the image[0] with its text, as the page loads. It tooking time to load as all the dom elements to be loaded. codebins.com/bin/4ldqp9c/15
user1503059
@eicto: Please help me out in this issue
user1503059
@AndersMetnik: I need a help will you please help me out
user457812
@user1503059 If you're having so much trouble, why haven't you created an SO question yet? Trying to get help from a room of about 20 people isn't really anywhere near as efficient as questioning the entirety of SO's active users.
06:58
@user1503059 No sorry
07:16
@FlorianMagrange @TomShreds github.com/Raynos/stream-chat
0
Q: javascript callback issue

NaomiJOI don't really understand how callbacks work. Here is the code (line 49-53 is where the problem is, I want n to be equal to the number of images in my directory): http://pastebin.com/HbALuzGE. I expect onerror callback to happen immediately (as play() calls change() which uses my n var), but that...

Hey all, I was wondering if anyone had a good alternative for Jquery UI's position: jqueryui.com/demos/position I'm using it successfully to center a div in a absolutely positioned div both of unknown size, but am starting to run into some slowdown when dealing with many elements...
07:57
o/
@GNi33 \o
hi
all
@OctavianDamiean
@Abhishek
@AndyE
@AndersMetnik
@OctavianDamiean o/
@maya whut up?
Please can you tel me how to attach one html designed page into mailto attributs
08:06
Uh, strawberry pudding?
@Abhishek
do you have any idea
any idea of what ?
hml page in mail to ?
do u want a custom mailto page ?
What the hell is a mailto page anyway?
08:08
I have a table content , i will use one a href mail to , i need to attach my html body into that page
It still makes no sense.
can someone please help me to make my callback work?
-1
Q: javascript callback issue

NaomiJOI don't really understand how callbacks work. Here is the code (line 49-53 is where the problem is, I want n to be equal to the number of images in my directory): http://pastebin.com/HbALuzGE. I expect onerror callback to happen immediately (as play() calls change() which uses my n var), but that...

@OctavianDamiean indeed...
Have you guys seen JSBin v3 already?
Looks pretty good.
@maya don't highlight random people, it's kind of rude
user69820
08:13
@maya are you trying to create an html email as the target from a mailto: link?
@OctavianDamiean hm, it does look a lot better than the versions before
@GNi33 I mean it improved in terms of features.
yep, seems so. i always found jsbin a little unusable, but v3 looks pretty good actually
Less and Stylus - Support, but why no SASS - SCSS?
ah, does stylus offer a js-compiler too?
Welp, you can file a bug on the GitHub project. :)
nah, i guess it's because there's no js-compiler for SASS
there's only one in ruby iirc
Less and Stylus (at least I guess for the latter) offer a js compiler
08:17
If I'm not wrong he is using node so it shouldn't be that much of a challenge actually.
ah, ok, but it would result in some heavy server-load
like that, the clients browser is doing the heavy lifting
with sass, the server would need to do so, so i guess it's a valid move to keep sass out
on the other hand, this is just speculation right now :D
I totally love JSBin now because it offers Markdown. :D
Not that it would be very useful if you plan to do something with the DOM but still.
yeah, definitely a nice feature :)
@OctavianDamiean <a href="mailto:[email protected]">
creates a mail to link :P
now if u are damn decent at php
and js and can beat google and microsoft
and i'm a fan of @rem anyways :D
and other decent services that provide mail facility
That's a mailto link, yes. Not a page.
you can use registerprotocolhandler
('mailto','yourpage');
to use your page as the mail to url [win ?? ]
so that u can allow user to send email by default using ur editor
08:28
Why doesn't he just link to a simple contact form from that link?
would make a lot more sense
gmail has got that feature now though (only in chrome?)
chrome and firefox it is
Whoa ... the GMail source code is a mess ...
5
Q: mailto: links and webmail

SillyMonkeyIs there a way to implement a mailto: link that works with webmail clients? Edit - so a traditional mailto link is (as I suspected) not going to work. So has anyone seen anything similar to those rss buttons you see with a variety of the most popular sites on?

does window.print() work in every major browser?
MDN is telling me
> DOM Level 0. Not part of any standard.
@OctavianDamiean
navigator.registerProtocolHandler("mailto",
                                  "https://www.example.com/?uri=%s",
                                  "Example Mail");
a user would need to confirm this though
(thankfully)
08:36
Yea.
@Abhishek tartempion is getting close
db support is almost done
then I'll need to refactor and create a meaningful doc :]
great :-)
is there any chance someone could help me for a noob javascript question please ?
@FlorianMargaine: I don't really understand how callbacks work. Here is the code (line 49-53 is where the problem is, I want n to be equal to the number of images in my directory): pastebin.com/HbALuzGE.
08:39
do we talk about Dojo here as well? I can't see a separate chat room for it.
That's basically because no one wants Dojo. :D
Dojo is cool
:P
Dojo is JS :)
there's no jquery room, is there?
well, there is, but it's dead
@NaomiJO you're only calling the callback in the onerror handler
@FlorianMargaine how do you mean?
function getImageCount(callback) {
            imageCounter(0);

            function imageCounter(i) {
                var img = new Image();
                img.onerror = function () {

                    callback(i);
                }
                img.onload = function () {
                    imageCounter(i + 1);
                }
                img.src = imgFolder + "img" + imgNumber + ".png";
alert(imgNumber);
            }
        }
callback(i) is in img.onerror
08:43
yes, so how is that a problem ?
this function is supposed to compute how many images called imgX.png (img0.png, img1.png,...) there are in the folder 'imgFolder', and return the value as a callback function.
I don't understand your code
sorry
feel free to ask for questions.
I don't understand it much either, someone gave it to me, but it's broken :(
@NaomiJO I think you should read up a little bit on the subject so you have a better understanding of how it works in general
then it will be easier to help you I reckon
I do have a very small understanding of how it works, but I don't understand where the error is.
I don't know it unfortunately
08:52
Maybe it's on vacation.
I'm trying to pick up Dojo but no one seem to use it here :)
Told you, we're the cool people. Cool people don't use Dojo. :D
@L4zl0w Well, what's your question anyway? :)
got loads :P
0
Q: Constrain a moveable object in Dojo

L4zl0wFirst of all there is a question/answer for this already: Constrain position of Dojo FloatingPane http://jsfiddle.net/phusick/3vTXW/ I used the above to create movable panes and it was working first. Then I created a module with the object and the constrain doesn't work any more, I can move the ...

since you are cool, I'm sure you have the answer :P
Oh god, I thought you'd have a simple noob question. Something that I can read in one second. :(
@L4zl0w I know the answer
"don't use dojo, it's not cool" is the answer.
09:00
likes that answer
you people are not very inspiring
I was joking as well :)
it looks like we need a deep understanding of dojo to answer though
That wasn't stated in the contract anyway. I can't find be inspiring in there, sorry.
09:02
@L4zl0w you should state what didn't work in the other answer though
the other answer worked first
then I created a separate module
and from that point it doesn't fully work
@Raynos looks good :D
ok, I have a quick question as wewll
well
I have a chart, what's the best way to update the chart every say 10 secs?
just generally
setInterval
lol ok
that is general
09:10
It is the right answer though.
4 mins ago, by L4zl0w
just generally
I'd rather use setTimeout though, but that's just personal preference
ok, if I have JSON data in files and the files are being generated every 10 secs for example what is the best way to redraw the chart based on the data?
ajax requests in a setInterval...
and redraw the chart everytime
cool
thanks, I'll start looking into that
hmf
getting a timeout, dunno why :|
09:18
@FlorianMargaine working for mew
not on the webpage, the project itself
haha, nice commit then :D
yeah
it should work
dunno why I get a timeout :|
so I'm pushing for people to help me :D
oh
it was just my vm not being correctly configured -_-
WOA WOA WOA
this is awesome!!! nodejs.org/api/debugger.html
lol
all the node's api can be accessed using JSON
09:41
hi any one know how to create a html page to pdf page using javascript or jquery
09:51
$(index.html).toPDF()
hehe
oh sweet, the chat works with aurora
isn't this a question?
10:06
it is :)
@GNi33 why wouldn't it?
Half of jQuery questions are "google this for me" apparently q_q stackoverflow.com/q/11843608/1331430
yep, they are :)
makes sense =]
@FlorianMargaine i've been using opera until now, because i always lost connection in chrome
10:15
but it works fine in aurora, which seems to be a little faster choice
you have a weird computer
i do
this office computer is slow as hell sometimes
maxthon, working pretty fine on my notebook, is just crazily slow
can't do very much in photoshop, because other stuff starts freezing only when it's open
haha
ask for a better pc :p
they offered me a mac
and install linux on it
10:17
i declined ;)
so i guess i'm stuck with this one for a while
because i just don't like macs
i hate the keyboard, i dislike macOS
I don't really care what my host environment is
10:18
but that may be just because i'm not used to it
I usually have my work environment in linux's vm
would love to work on linux
but i'm not experienced enough to be really productive
I just have a virtual machine, using vagrant to deploy it
well, you gotta start :/
when i get my new system, my notebook will be a full linux - machine though
dive in a little
:)
start with tmux and vim
it's more than enough :p
you can use github.com/Ralt/config-files as a starting point
I only have a 13" screen right now so only 2x2 panes available for now, but that's still nice
10:22
yep, would definitely want to get into vim under linux too
the two panes at the left are vim
the two main panes (left and right) are tmux
and three windows (at the bottom: "node, bash, vim") are tmux
nice
yep
and I can move all this around... can maximize/etc
all of this with keyboard only of course
yeah, would be a total different workflow than now under windows, but it looks great
would need some time to get used to, but i'm trying it out for sure, thanks for the tip!
yeah, it took me two weeks to get used to it
but now... I could never go back to something like eclipse :p
10:49
hai everyone i have a download file url .how to find the url having which type of file like .jpeg,.png,.flv?
parse the headers and check the content-type
that's the only reliable way. file extensions don't really matter. however, you cannot easily do this for a remote url in client-side javascript
@maya hi
@ThiefMaster thanks for your guide
11:08
Hello friends
@Praveenbabu hai
@FlorianMargaine great to hear about tartempion :-)
and i have been sleeping for most part of my day kindly excuse
you excuse yourself for being asleep? :D
HI all
i'd love to just be able to sleep
have got heavy sleep-troubles the past months
11:31
@hii srini
@Abhishek you can sleep for days, I still won't blame you :)
@FlorianMargaine but i have been slowing down the design and stuff :-/
so what?
you have a deadline or such?
your health is way more important than your projects
alright
I don't know why tartempion isn't working
gotta take a break, LoL time :D
SkiFree!
11:40
always a good lol-time ;)
ah
I meant League of Legends :p
oooooh :D
hopefully i'll get my freeSki - clone done in short time
I have a jquery variable: var $items = "<input type='text' />";
i wanna play that stuff.... without having to install it
11:41
@FlorianMargaine my deadline is 1 month before xat wakes up
@Esailija that's cool, what do you want to do? tell us all, we're here to help noobs
well taht is a few years but the faster this gets done the more xat marketshare we can steal
I am trying to append html to my jQuery variable
@Esailija DA????
$items.append( "$(element)" )
11:42
works ?
you'll need more $ in there
other than that, the jQuery magic won't take enough effect
$items = $("<input type='text' />");
I also have super-boosted jQuery variables
$$items
wud some please help me with this question stackoverflow.com/questions/11798714/…
$$$items would just make your computer explode
11:53
@Esailija yeah, don't do that! it sends your website into awesome-internet - mode
not every machine can handle stuff like that
@Esailija you pissed or something ?
@Esailija what did you mean yesterday when you said ".bind solves all OOP js"?
sorry for leaving so fast, something was calling ^^

« first day (661 days earlier)      last day (4512 days later) »