« first day    last day (385 days later) » 

12:00 AM
0
Q: .replaceWith replace to function

user172071I'm trying to use .replaceWith to replace words to a function but it's not working I think the problem is that I didn't right the function correct but I don't know how to write it right. Can Anybody help me (it's only a miniscule.) Thank you. <script type="text/javascript" src="http://code.jq...

0
Q: Formatting Buttons in jQuery for Forums

KiwiI want to do something as simple as emulate the buttons as can be seen here—albeit in jQuery and Django. I have scoured the net and found nothing, which surprises me, but I figure it is because I am not using the right terminology. Right now, I want to include inline tags like strong, em, and c...

 
12:18 AM
Dingalong ding dong
/me rings the cowbell
 
12:43 AM
0
Q: Get evey finger position dragged from left to right

TheBounderI'm really struggling on an Android app in Phonegap and JQuery. All I want to do is, as I drag my finger from left to right, I want to be able to output to screen exactly what my x position is. I've played around with touchstart and touchmove but that only seems to output the start position whe...

0
Q: Select parent & all children elements while using mouseover, jQuery

mrhighamI have a div with elements (h3, img, p) inside. I want to use jQuery to detect when a user hovers over this div to then toggle a class of an element in this div. I'm using the code below: $('.entry').bind({ mouseover: function() { $('.readMore').toggleClass('inverted'); }, mous...

0
Q: AJAX form submission issue

Tural TeyyubogluFollowing code are HTML markup and JS part of my signup page. I don't know what's wrong but, when I left all text inputs unfilled and click on submit button for the first time, it validates and gives error message. But when click second time it directly posts all data to php file. Please take a l...

0
Q: How do I style the Nivo Slider thumbnails?

Trippywell I have been trying to get Nivo Slider to work almost all day. I finally figured out how to display the thumbnails, but now they're being squished together. I tried to add margin/padding to the images on .nivo-controlNav img but it's only pushing away the images together, and showing the bull...

0
Q: Auto pagination of set number of items (with auto scroll)

KarlgoldstrawI am trying to find a jQuery script that will take list items and virtually paginate them into 9 items per page. I have seen similar scripts on Dynamic drive, but they do not auto-play. For example: http://www.dynamicdrive.com/dynamicindex17/virtualpagination.htm Demo #1 here is almost perfect ...

 
1:04 AM
0
Q: JSON Data structure parsing?

ThePixelProdigyI am trying to consume this data via ajax. Like so: var $data = $.get('/data.js', function(data){ console.log($(data)); }); In the data.js file I have this object: var data = { "testData" : { "order" : [21,22,33,32,55,20,41], "categories" : { "41" : { ...

 
@Feeds stop spamming bro
 
0
Q: React to a user selecting a value from a drop down

Tyler DeWittIs there a jQuery event that gets fired when a user selects a value from a drop down list? I need to load the next part of a form based on the selection a user makes in the first drop down and would like to avoid a button press. Thanks

 
@rlemon did you turn on jQuery questions from SO
Does this mean that every jQuery question asked on SO gets piped here?
We used to have that in JS where very javascript question gets piped here
it was stupid
 
rlemon has stopped a feed from being posted into this room
 
done
 
1:16 AM
Raynos has made a change to the feeds posted into this room
Raynos has stopped a feed from being posted into this room
 
What you want is all jQuery questions on SE and not SO
 
 
1 hour later…
2:36 AM
Someone needs to start an area51 proposal for a jquery only site...
 
 
9 hours later…
11:42 AM
yes, we do.
 
 
3 hours later…
2:19 PM
ooohhhh snap a jQuery chatroom
 
semi. look who owns it. :) feels like trolling to me...lol
 
you know it
thats cold
 
i primarily meant raynos... his being owner of a jquery chatroom makes it look trollish :)
 
ohh. well in that case..
he was first to join after I made the room
 
oh, and also... [cowbell] ?
lol
 
2:24 PM
whats wrong with
 
who owns it?
is it @Raynos
 
raynos and rlemon
 
lol nice
 
i don't know about rlemon, but raynos is rather rabidly anti jquery
 
Teresko wanted in but I wouldn't let him
 
2:25 PM
"guys I have the issues with jQuery!" Raynos:"Stop using jQuery then!"
 
I don't use jQuery (aside from the odd time when whipping up a demo and I don't feel like writing any ajax
But I have used it, quite a bit, in th epast.
 
yeah, even lately for animations I just like rolling my own
hah yeah I have also used my fair share of it, its not bad or anything Im just becomming a better JS dev so I can do things w/o it.
 
However the Idea behind it I still think is valid.
 
i use it here and there...mostly for animations and mass dom changes, cause i don't feel much like writing code to do it :)
 
and it only gets hated on so much because it promotes bad coding practices (or none at all)
 
2:27 PM
people hate everything that becomes popular from my experience
2
 
too mainstream for the Linux users
 
lol yeah
 
2:59 PM
I dont mind using jQuery as a cross platform normalization tool
I mean out of all the cross platform normalization tools it's a pretty shit one.
But if someone choose it for "good reasons" and we are stuck with it then I can use it.
 
@Raynos based on what i've heard from you, i read "can use" as "would rather avoid using at all costs, but have enough JS knowledge to successfully use" :)
 
 
1 hour later…
4:05 PM
@cHao not true.
Go back 6 months
and I would attack @teresko for saying "jQuery was bad"
Then be all "Imma jquery fanboi yo ass" on him.
 
 
2 hours later…
6:03 PM
last night I created the #jQuery chat room on #StackOverflow... this morning I woke up nauseated and with a migraine... coincidence?
 
 
2 hours later…
7:57 PM
just FYI in case anyone hasn't noticed already: blog.jquery.com/2011/11/03/jquery-1-7-released
 
8:07 PM
Don't care?
 
8:41 PM
@mattcutts Thanks, here are some screen caps from @danheberden, our infra. lead: http://danheberden.com/share/a2fdb.png http://danheberden.com/share/e5a8ff9.png
 
 
2 hours later…
10:24 PM
Can somebody help me really quick, I'm seriously stuck.
I'm trying to append and then change the css of `<span />` in `<li>`. But the css should be changed only if the `<li>` doesn't have the class `.menu_active`. So my first idea is this: `...$('<span />').filter('parent(li:not(.menu_active))').css(...`. But of course this is not working. What am I doing wrong?
 
$('li span').not('.menu_atctive').css(... ?
or wait
 
Ill give you little bit more code
$(this).find('li').append($('<span />').filter('parent(li:not(.menu_active))').css('margin-top', -45))
 
$('li').not('.menu_active').children('span').css(...
 
$(this) is <ul>
 
I would be better off seeing your html
Oh, you can't have all of that in one line.
$(this).find('li').append($('<span />');
$(this).find('li').not('.menu_active').children('span').css('margin-top', -45);
 
10:27 PM
the point is that, ul has lists.. that contain <a> hyperlinks.. now, the script must create spans next to the hyperlinks etc..
ok :D ill just upload my html, its very complicated to explain, but really very simple, once you check it
 
@msanjay i've been able to use 1.7 on jsfiddle for a bit now.
 
@rlemon That's where I first noticed.
 
the idea is, that I dont want the margin-top: -45 to be applied for the li.menu_active .. or it wont be red.. i could do this in the css, by using !important, however that is not very dynamic
anyone?
 
10:49 PM
you want the margin-top: -45 to be applied to all the <a> except the ones that don't have a parent with the class="menu_active"?
 
no, i want the -45 only to those spans that i just created and appended, whos parents dont have that class
If you take that css -45 out, then all links will be red.. .. i want that first one to be red all the time
$(this).find('li').append($('<span>'))
.find('li:not(.menu_active) span').css('margin-top', -45)
Whatever, fixed it with alternative $(this).find('li.menu_active span').css('margin-top', 0);
Your real pros here! ;)
 

« first day    last day (385 days later) »