« first day (64 days earlier)      last day (4889 days later) » 

5:49 AM
Hi
 
 
5 hours later…
Tom
10:45 AM
Hi
 
Hi!
jQuery UI Dialog trick: use minHeight: true for dynamic height, based on content. ;)
 
11:02 AM
<meta http-equiv='Content-Type' content='text/html' charset='utf-8' /> Is this valid?
Nope…
 
:)
> The following example specifies the character encoding for a document as being ISO-8859-5: <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-5">
 
Or in HTML5: simply <meta charset='utf-8'>
 
12:02 PM
@Nyuszika7H hi! thanks again i realy like jquery
 
12:25 PM
More snow >_>
Like 30cm wouldn't be enough already
 
Tom
How can programmers ever have enough snow? Gives you an excuse to stay inside :)
@IvoWetzel
 
Well I still have to make it to the supermarket somehow
 
Tom
@IvoWetzel Just code a delivery service in node.js
 
@Tom haha :D
Just have to hook that up to the replicator I guess
 
1:02 PM
@Opoe you're welcome :)
 
1:16 PM
0
A: Python 3.X ready... when?

zedJust go for ruby . Its stable and it is ... i think ... BETTER. python 3.x is similar to perl 6...... both are infamous.

 
1:36 PM
Anchor Test ;) jsbin.com/arapa3
Anyone there? @Opoe @IvoWetzel @AbidAli
 
present
 
I have a problem. I'm using jQuery, jQuery UI and jQuery UI lightness theme. But jQuery UI's ui-icon CSS classes (i.e. ui-icon-info) doesn't work. Other classes (like ui-state-highlight) work fine.
 
how did you import them between the script tags?
 
I've got it. I need to use it this way: ui-icon ui-icon-info
Both classes are needed.
 
oh nice :)
@Nyuszika7H do you know if i can just clone the two divs from the html to duplicate the red box with the append button?
 
1:53 PM
@Opoe $('.obj').clone().appendTo('#anotherObj')
 
@Nyuszika7H so i put the divs into a class?
 
@Opoe Nope you don't need to do that.
@Opoe $('#somediv, #somediv2, #somediv3').clone().appendTo('#anotherDiv')
 
oeeeeh lets see :O
 
@Opoe BTW, use onDomReady instead of onLoad, also, when using jsFiddle, you don't need the jQuery(function() { at the beginning and }); at the end.
 
@Nyuszika7H okay thank you! he spits out 2 duplicates and they arent draggable, do you know what am i doing wrong ?
 
2:02 PM
@Opoe You should use a class instead of an ID. Since an ID is unique and elements can't have the same ID.
@Opoe Or maybe it would be better to use your „counter”.
 
like so ; $('#somediv + counter, #somediv2 + counter, #somediv3+ counter').clone().appendTo('#anotherDiv') ?
 
@Opoe Maybe, I don't really understand how that counter works.
 
@Nyuszika7H no it seems a little far fetched
thanks anyway and good luck with whatever you're working on!
 
2:18 PM
@Opoe I'm currently working on what you said :P
 
@Nyuszika7H oh realy :o ooh thank you i dont want to keep you from your own work though!
 
@Opoe np, I'm almost done with it, just one problem: the newly appended elements are out of the container by default.
 
@wait i'll make the question ready to give you some credits uhm
maybe i should add a new wrapper to keep everything in place?
 
2:39 PM
@Nyuszika7H the question is up, my computer is very slow i'm going to reboot ill be back later!
 
@Opoe okay
 
0
Q: Duplicate a div containing functioning elements with jquery

OpoeHi all, I've a draggable box with an append button to fill the box with elements. I would like to have a button wich duplicates this box with all of its functions and elements. my problem and question at the moment is; how can i duplicate the whole box? Including its elements and functions? He...

typing one letter per minute :'')
 
2:53 PM
@Opoe I have to go now, returning in about one hour
 
 
2 hours later…
4:23 PM
@Nyuszika7H take your time! appreciate it a lot
 
Hi again!
 
Oh hi!
i wish i could help you with something
 
5:01 PM
@Nyuszika7H do the div's need to be classes?
@Nyuszika7H im going to eat be back assap
 
@Opoe Yep, replace the IDs with classes but you need to do $(this).is(':last').clone().appendTo('#bigWrapper') instead of $(this).clone().appendTo('#bigWrapper')
 
5:38 PM
hey all!!
hi Nyuszika!
 
@mad_programmer Hi! Could you help me?
 
yup
sure..shoot your question
 
I'm making an userscript for an AJAX-based chat.
 
I want to mute some users. It's easy, as users' names are always linked, so I can catch them by their user ID.
My code:
 
5:45 PM
you mean...you want to block some users..
right?!
 
Yep. There's no such function on that chat.
I've asked its owner, he said he'll do something, but nothing since months.
 
ok...see..
 
$('#shouts div a[href$=123456]').parent().remove();
 
are you using
any database for that!?
 
@mad_programmer what database?
 
5:46 PM
no...is ur jquery script...using database in the backend?!
to store chart
if you are not using any database..
 
This piece of code hides all posts from the specified user, but how to make to hide them in the future, too? I need a solution which does not eat much CPU.
 
then create an array
ok...
create an array..where you will store... blocked users id..
and before user can post any msg..his id will be checked in that array..if it is present..then he cannot
post an message
 
You misunderstood me.
I only want to hide “blocked” users' posts from myself.
 
As I've already said, I do not own that site.
 
5:50 PM
hmm
okk..
well..for that you need have some unique identifier..
to separate the blocked users post
 
I have some kind of identifier.
<a href="http://somesite.com/userdetails.php?id=xxxxxx">username</a>
 
ok..
hmm..... and the message which is displayed in the chat window..is it in a div!?
or <p>
 
A div.
Messages container: <div id="shouts">
 
A message looks like this: <div id="_postid">timestamp <a href="http://somesite.com/userdetails.php?id=userid">username</a> reply button >> message</div>
 
5:57 PM
no there has to be a unique identifier for that particular <div> tag also..
so that you can hide it in one shot..
why cant you do this.... <div class="#userid" > </div
?!!
 
I don't own that site.
 
well..thats a problem then..
 
Anyway, I have to leave now. I'll return at 8:00 PM UTC+0100 (CET, Central European Time).
 
I am also from UK
:)
 
I'm from Hungary…
 
6:00 PM
I live in Bristol
nice to meet you
 
 
1 hour later…
7:18 PM
Hi!
 
hey!
@Nyuszika7H im srry for all the work
 
@Opoe np :)
 
do they stay in the container yet?
 
@Opoe I didn't do it all day, I'm just continuing it now.
 
7:34 PM
@Nyuszika7H no i'm glad you didn't :') just wondering
 
8:14 PM
@Opoe Hmm I don't seem to be able to do that :/
@Opoe I can use .draggable({ containment: '#bigwrapper' }), but this only applies to drag, not to clone.
 
@Nyuszika7H okay so the appended elements go outside the bigwrapper?
 
@Opoe Yep, but I've found a CSS solution in meantime that may work. jsbin.com/igebu4
 
Hi. Is there a way to invoke the Star Rating jQuery plugin for content that is loaded with ajax?
This may be too specific question
 
@Opoe I've used position: fixed. Also, I've added left: 180 to make sure the newly appended element isn't on the top of another. Certainly, this only works until I reach the big wrapper's width. (Also, I've made it into a dialog, this was just an idea, it isn't neccessary, I think)
 
@Nyuszika7H oh allright i see, this is an example i got from anohter question jsfiddle.net/nNzkr/1
Okay thank you :o
 
8:20 PM
@Opoe What you linked resizes the wrapper. Is this what you want?
 
thats okay for now, i added the wrapper so it would be easier to 'appendto' but its not neccesairy
 
@Opoe Check my post out there:

Sandbox

Where you can play with regular chat features (except flagging...
 
@Nyuszika7H i got to a page to log out?
 
8:43 PM
@Nyuszika7H when i click the link i got to a log out page so i dont understand what is was. But thank you for helping! good night
 
 
3 hours later…
11:51 PM
Hello
Does anybody knows why element.innerHTML with &quot; gives the quote itself and not the original html entity?
And with the quote itself I mean -> "
 

« first day (64 days earlier)      last day (4889 days later) »