Tagged Questions

JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.

learn more… | top users | synonyms

0
votes
0answers
26 views

Fading table cells with jQuery [migrated]

I found this code, it supposed to find the first cell in the visible row and when I click it the cell is supposed to fadeout or fadein. I want to adjust the code so that an input button will make ...
1
vote
1answer
19 views

Find the object that contains title1-2

I use jQuery and underscore.js, I have title1-2 and I would like to have the action corresponding. this.items = { menuItems: [ { title: 'title1', data: [ { ...
0
votes
0answers
22 views

How to randomize a jquery object list [closed]

Possible Duplicate: Randomize a jQuery object list Well this was a simplest code competition at my work. I tried a couple things, they accepted but none of them is i wanted. Beccause both ...
1
vote
3answers
64 views

Randomize a jQuery object list

Well this was a simplest code competition at my work. I tried a couple things, they accepted but none of them is I wanted. Because both are always giving same result. I tried to randomize like this ...
1
vote
1answer
93 views

basic javascript to advanced javascript

I have following code for a content scroller. This has been implemented with basic jquery. Iam trying to convert the same using advanced javascript concepts. Guide me to implement the same. Working ...
2
votes
3answers
149 views

JavaScript code cleanup

As this community is full of experienced JavaScript developers, and I'm a newbie in JavaScript, I would like if some of you could look over my code for a website I'm building (personal portfolio) and ...
1
vote
0answers
22 views

AJAX user interface for wireless networks / Event-based flowcharts

I'm designing an AJAX interface which allows a user to remotely connect a device to a wireless network. The user is on a page with a list of wireless networks, and clicks the "Connect" or ...
2
votes
3answers
61 views

Chaining jquery statements across multiple lines

I have a bit of jQuery that looks like this: $("#long-selector-1, #long-selector-2, #long-selector-3").filter(":visible").fadeOut(400, function() { otherDivs.show(); }); I have two competing ...
-2
votes
0answers
58 views

Jquery Plugin Feedback [closed]

Just finished my first jQuery plug-in, and I would like some feedback. Check it out and let me know what you think! redacted jquery-clock source : - http://silibitest.unosofttech.com/jquery-clock/
0
votes
2answers
45 views

How to simplify this jquery animation?

I have two icon animations that pretty much do the same thing, the only difference between them is positioning... one is left and the other right. I would like to use one block of code for both left ...
0
votes
1answer
26 views

Finding image by date and long else-if statement (jQuery)

Okay so I have 12 games that I need to sort through that each have a date and img string. I'm fairly new at jQuery and was wondering what is the best way to accomplish this. Is there a way that I can ...
0
votes
1answer
66 views

Refactoring this state machine (upvoting/downvoting)

I have a list of resources which can be voted on. There are 3 voting states: upvoted, downvoted and no vote. In a fashion identical to stackexchange voting, it follows these rules: If you upvote a ...
0
votes
6answers
96 views

jQuery doing what it's suppose to on all the pages except one!

Here is my script: http://jsfiddle.net/9cnGC/11/ I was wondering if anyone can help me with this fiddle and maybe clean it up a bit so it can run more efficiently? I believe it is because there is ...
1
vote
2answers
59 views

Get device orientation

Here is my code: // get orientation of device getOrientation(); // animate var num = 400; if( $('body').hasClass("landscape") ) { $('.example').animate({'bottom', 0}); } else { ...
2
votes
1answer
77 views

Can I return an object on which a function is applied?

I'm wondering if it is possible or if it is correct to proceed in such a way: var initiate_shop = function(shop_navigation, shop_container_id, items_per_page) { return ...

1 2 3 4 5 18
15 30 50 per page