All Questions
62 questions
0
votes
2
answers
3k
views
JQuery fixed header that hides on scroll down and shows on scroll up
I am currently working on a site product where I have to create a site-header that is always fixed on top of the viewport but when I scroll down it hides, and again when I scroll up, it becomes ...
2
votes
1
answer
2k
views
Create multiple parametherized JQueryUI dialog boxes
In my application, I am using a lot of jQueryUI dialog boxes.
In order to reduce the length of code, and because I am using often the very same parameterization, I was wondering about a way to ...
6
votes
2
answers
2k
views
Retirement Calculator
I created a program that determines how many years you have left before retiring, and in a year when you can retire.
This is my code below:
...
2
votes
1
answer
204
views
Option buttons in plugin Dialog
I used the jQuery UI plugin Dialog to ask a user for "name" and to show it in a subsequent dialog.
Is there the better way to add a function to the option "buttons" to get the data and to go to a ...
2
votes
2
answers
6k
views
jQuery Accordion + Sub Accordion + Search Filter
I have a top level category accordion + accordions within those and a search that auto-opens the 2 levels when results are found. Since you can't open multiple at once there is a Next button that ...
4
votes
1
answer
13k
views
Dynamically change data in Chart.js charts with jQuery slider
I created this little JavaScript application which gets data from a post request and uses this data to show a line chart with the total income over a year and a bar chart for the daily income. The ...
4
votes
2
answers
2k
views
Autocomplete selector country/region/city for ex-USSR countries
I wrote a selector for several countries. This selector allows the user to choose a country, then a region and then a city. After the user chooses a city, it displays the selected object's country ...
2
votes
2
answers
162
views
Toggle the visibility of sections of a form
This code I written by myself. Here I have 3 main part. When I click on any main part then it sub part will appear. Sub part contain some check boxes. Here I have the following main functionality
...
8
votes
1
answer
3k
views
Make To and From date range picker using jQuery UI
I implemented date range picker logic using the jQUery UI datepicker component:
...
2
votes
1
answer
387
views
Populate a table from a database using JavaScript from a jQuery UI Dialog Box
I'm returning to Web Development after a number of years working in other areas.
The below image shows what what I have so far looks like. I'm not 100% satisfied with the styling yet, but that's a ...
2
votes
0
answers
225
views
Javascript menu with dropDown and Slide effects
Over the last couple of weeks we build a huge Javascript menu. And we might think the whole code is a little bit too much. We are not pros, but came to a quit acceptable solution. (yeah it´s German, ...
0
votes
1
answer
2k
views
Display tabular data with jQuery Datatables plugin
I have this list of results which I display with the jQuery Datatables plugin.
This is the Result class and list of results being returned in the JSON format:
<...
4
votes
1
answer
153
views
Toggle functions for drop down for a clock time widget
I'm fairly new to JQuery/JavaScript and I'm trying to refactor the following code:
...
4
votes
1
answer
123
views
Drills: A JavaScript web application that creates customizable workout routines and reads commands aloud while keeping track of time
Here's the JSFiddle, the GitHub repo, and here it is out in the wild.
Note: the application uses Chrome's Speech Synthesis API and only works on Chrome or Safari for iOS7 (oddly enough).
It was my ...
1
vote
1
answer
562
views
jQuery resizable plugin
Is there any way I can simplify this re-sizable solution? It seems too difficult and messy to me.
Working example
...