2
votes
0answers
36 views

Please review my Nonogram game

I am writing a Nonogram game in Javascript. I would like to know your opinions on the code and suggestions on how to improve it. I'm using a MVC approach. the Model has two matrices (represented ...
1
vote
0answers
21 views

Is this a good way of making a File Input Control look like it has rounded buttons and a styled textbox?

We have orange rounded buttons as a standard on our site. For our purposes, we switched everything over to use an anchor tag, instead of input type=button. The exception to this was the File Upload ...
2
votes
1answer
42 views

OO JavaScript should I encapsulate my fields differently? / Critique

I wanted an excuse to do some OO JavaScript and I decided to do a JSON editor. It will basically allow you to input JSON and either collapse objects to see other objects better, delete objects (can ...
1
vote
1answer
67 views

input[type=file] as button, any reason this won't work in older browsers etc?

I have built a small script using jQuery to swap out the input[type=file] for a button, that when clicked opens the file input and allows the user to choose a file, then the file name is displayed ...
3
votes
2answers
70 views

Replacing simple jQuery methods for better use

There are a few common jQuery call I find my self calling when creating my app. I need some help and maybe a better way to do all this or rewrite it. 1) Singleton Selector If I want to select only ...
2
votes
1answer
44 views

Condensing Navigation jQuery

I have some jquery that pretty much just runs a small drop-line navigation. Each tab size differs, so i used the same jquery line 5 times to make it look and function the way i wanted it to. I'm sure ...
1
vote
1answer
78 views

How can I make jquery animations faster for mobile devices?

I recently made this campus timeline for my university. You can see it here My question is this: When viewing the timeline on a mobile device (not a tablet), the navbar changes so that you can jump ...
3
votes
1answer
37 views

jQuery - Drop Down QA

Here's a fiddle: http://jsfiddle.net/YF8cg/ Focussing entirely on the javascript and on the structure of the HTML (.qapair .question and .answer), how could I improve this system? JS: ...
3
votes
0answers
37 views

What improvements can I make to this table filtering jQuery Plugin?

This plugin is meant to filter through a table based on column header text that matches options given to it. check it out here: Filter Table Plugin Plugin code below for reference: //framework from ...
0
votes
0answers
71 views

How does Facebook toggle its notification center icons to display the respective DIVs with the notifications when clicked? [closed]

How does Facebook toggle its notification center icons to display the respective DIVs with the notifications when clicked? All of you have at-least interacted with the Facebook notifications center ...
1
vote
2answers
85 views

How can this be done in the shortest way?

I have saved the class holding the position of the i element in the a tag that is clicked by the user. When the a tag is clicked, I want to get the value of its attr and add it as a class to the i ...
4
votes
2answers
208 views

Is this spaghetti javascript code? How can it be refactored with a javascript library or framework?

The code allows you to select an area from the left column and another area from the right column followed by clicking on the Choose button which sends the chosen areas to the server: <html> ...
4
votes
2answers
71 views

Improving Code pointers

I'm new to jQuery and I've been messing about with this code, It works but I want to learn how to shorten the code by the eliminating unnecessary repeated code. Below is a link to jsFiddle ...
3
votes
4answers
136 views

Get the value of the name attribute of each element with class=“class”

I need a function to get the value of the name attribute of each element with class="class". I was wondering what is the best way to do this, performance-wise. Currently I'm using jQuery and doing it ...
3
votes
2answers
342 views

Better way to filter select list

I'm brand new to javascript and jquery and I feel like there's probably a better way to do this. It seems that the way I designed it may not be very optimal once you get a thousand entries in the list ...

1 2 3 4 5
15 30 50 per page