HTML (Hyper Text Markup Language) is the standard content markup language of the web. It is an open standard developed and maintained by W3C (World Wide Web Consortium).
1
vote
5answers
39 views
Using jQuery to restyle page depending on window width
I currently have a javascript file that I'm using to fix the navagation on on a website I've built. The code is by no means 'DRY' though and I'd like to fix that issue so I'm not repeating myself. Any ...
8
votes
1answer
59 views
Getting more detailed Stack Exchange mails — Part 1
I made the layout for a new project which will allow you to subscribe to periodic emails about your favorite Stack Exchange site (I'm not very happy with the SE-provided one). Since I'm horrible at ...
2
votes
0answers
39 views
Extremely redundant HTML templating
This is horrendous.
I'm using lodash's templating engine for this table. Here's the template for an individual record's row. I've got 5 different table and ...
4
votes
1answer
38 views
Limiting the number of text fields created
I need to make sure that the max of text fields created is limited to 10 at most.
It's a script that I've ripped off elsewhere, and have modified it via help from StackOverflow on a couple of other ...
6
votes
1answer
61 views
Cleaning up HTML created by users
I have a system that accepts free text from users. This can either be plain text or a heavily limited subset of HTML. I've written the below with Html Agility Pack and Microsoft's AntiXss library. I ...
2
votes
0answers
34 views
Share on social onclick using jQuery
I have the following code to share my website through some social networks when the user clicks some divs with the appropriate icons.
...
5
votes
1answer
25 views
Volunteer Signup Report - follow-up
Here is the original question. I've incorporated a lot of the feedback and I'm ready for another round of feedback and suggestions.
Here is the PHP file's output. It creates a volunteer signup report ...
1
vote
1answer
33 views
Social sites slider
I tried to make social media slider with jQuery, HTML and CSS. This is available as a Fiddle.
Can I improve or debug any elements of it?
...
3
votes
3answers
179 views
What is the proper structure for a basic stand alone horizontal menu?
Here is what I'm starting with. It is just some <p> tags in a <div> tag.
...
4
votes
1answer
24 views
Gives a live view to a changing file on server
I have a file on my server which contains a running output of a script. This file is constantly changing and fluctuates in size between 0 - 1Mb. Now I want to take this file and make it viewable from ...
-2
votes
0answers
10 views
JS variable not being updated [migrated]
I've an issue with calling out JS variable in my HTML. It's simply not getting updated.
The following code is palced in the header:
...
4
votes
1answer
51 views
McCarthy's Pub Beer Menu
I wrote a little bit of code in JavaScript that takes an array of objects and does some sorting, then outputs to an HTML page. I set a goal to do it without any frameworks, and in functional style on ...
-1
votes
0answers
21 views
Microsoft Logo Animation v2 [migrated]
I updated my animation of the Microsoft's logo. It's available on CodePen. Overall, I am quite satisfied with it now apart from one thing.
I cannot seem to figure out how to stop the animation so the ...
7
votes
1answer
74 views
Small Calendar “Widget”
I have been working on a calendar widget for the past hour or so. I wonder if it could be compacted any more than it already is (ignoring whitespace).
...
10
votes
2answers
1k views
Microsoft logo animation
I made an animation of the Microsoft logo. It's available as a CodePen doodle, also. Would anyone be so kind as to check my style and say if there is anything I could've improved? (I am sure there ...
2
votes
2answers
38 views
Loading more items for an activity feed that uses a global page counter
I have this script which is for a news feed. A button click will grab more data from the server if there is any and then add it to the box. It doesn't allow any more than 10 pages of results currently ...
1
vote
1answer
20 views
Overlaping sections using Bootstrap and CSS
I'm currently converting a PSD to a web template and attempting to overlap content and I'm running into a issue with the 3rd section because there is more padding than the first overlap and using the ...
3
votes
1answer
58 views
Generating a day event calendar based on an array of objects
I wanted to get some eyes on some code that I wrote, and see if anyone can help improve what I did. Just looking for some constructive feedback to help make my code more performant, and more elegant.
...
3
votes
3answers
376 views
CRAFT412 gaming website, now with divs and spans
Since I'm new to HTML and CSS, I was wondering whether my HTML layout is correct? Before I used div id for everything and everything seemed to work fine, however I ...
3
votes
0answers
26 views
Search Class with Static Methods
Most of my programming experience is in PHP, and I have always been a bit wary of JavaScript.
I have a JavaScript class to manage executing, caching and displaying search results.
...
2
votes
0answers
35 views
Fading Alert boxes
I am currently working on some fade out alert boxes where once the fa-close is clicked, it will then fade out and then slide the rest of the alerts/content upwards.
...
0
votes
0answers
24 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
...
6
votes
2answers
158 views
Profiles with profiling checkboxes
I have this HTML down below that creates a list with two columns, the left one containing profile information, and the right one containing checkboxes of the user feedback in a horizontal list.
The ...
5
votes
2answers
38 views
Volunteer Signup Report
I was creating a Volunteer Signup Report report in Microsoft Excel yesterday for my job and I had a moment of inspiration. What if I turned it into a website and made it dynamic? The volunteers sign ...
5
votes
4answers
242 views
Basic web calculator
I've built a calculator. I would not use angular or bootstrap because I am becoming addicted to them. I also wanted to check for double '.' use, and to limit the screens max text length but did not ...
1
vote
1answer
53 views
Powershell to Convert HTML Table to Array of PSCustomObject
I created the below script to sent a request to a website, then convert the table in the results to an array of PSObjects which I can work with in PowerShell. This uses some nasty hacks (e.g. using a ...
4
votes
1answer
96 views
Personal portfolio website
I recently created this website for use as a portfolio because I thought it would help set me apart from other internship applicants next summer. I created this website using a mixture of pre-existing ...
-1
votes
1answer
38 views
3
votes
2answers
63 views
Drop down menu plugin
I am making a dropdown menu in JavaScript for my website, and recently I decided I wanted to make it a plugin (as in, upload it on the web and make it compatible with other plugins). I am new to ...
3
votes
1answer
83 views
Simple JavaScript autosuggest component
Any suggestions for improving this? I'm hoping for some JavaScript object structure / code integrity type recommendations rather than style or CSS.
...
5
votes
1answer
45 views
Drilldown navigation menu by replacing divs
I made an attempt at a menu, that comprises of just replacing <div>s by showing and hiding. Kind of like a drill-down technique. I have the feeling that it is ...
1
vote
1answer
43 views
Website register functionality
I have two links in my header:
Register
Login
I am not creating it dynamically. If the user clicks on "login," the login form will be visible, similarly for the register form.
My registration:
...
1
vote
0answers
32 views
Knockout after-school implementation
Please provide some feedback.
Example
Repository
JavaScript
...
4
votes
1answer
50 views
Custom dynamically generated slide show container
I've created a custom slide show container to use with Jekyll. This is the platform used by Github pages. It works by converting plain text Markdown to HTML.
I wanted to be able to embed the slide ...
1
vote
1answer
41 views
Capture time spent viewing media
I've created some custom code that will capture how long a user spent viewing a picture. The timer will stop when the user clicks or escapes from the fancybox view. Is there an alternate way for me ...
6
votes
2answers
40 views
Div circular scroll
Have one div:
Here's what scrolling of this div should look like:
The only way I see is to duplicate ...
8
votes
2answers
245 views
HTML Book Compiler
I have written a BASH script to parse and compile HTML code into a single page. The script works as expected, although my code is not completely re-usable and the standard output messages could be ...
0
votes
0answers
74 views
Appending JSON values to the DOM
My code below uses JSON to append images into the DOM. It works properly but I want to optimize my JavaScript to see if I can write it in fewer lines or if there are methods I can use that optimize my ...
1
vote
1answer
21 views
Transforming markdown files in folders into a documentation
I start coding a simple application: I transform markdown files in folders into documentation.
My architecture is very flat. My code looks like a series of unit function called one after the other.
...
1
vote
2answers
63 views
Listing every date between two dates in input fields
Using the following HTML:
<input type="date" value="2015-07-26" name="startdate">
<input type="date" value="2015-07-29" name="enddate">
First, the JS ...
-1
votes
2answers
60 views
Program that filters JSON data based on user selection
I have made a basic program using AngularJS that displays data from a JSON file, and filters it according to the user's selection (specifically FIFA 15 chemistry cards).
I did plenty of CSS work to ...
0
votes
1answer
26 views
Scroll with multiple, and going different directions
I have a large image of an L-shaped painting on one page. I created divs over parts of the painting I want to explain. When the page loads, I want it to scroll down the length of the image, and then ...
3
votes
1answer
130 views
HTML and JS to dynamically load, refresh, and execute JavaScript from external file
The following code is designed to load and refresh JavaScript code from an external file sandbox.js and allow it to be refreshed dynamically and executed without ...
2
votes
2answers
52 views
PDO Database Auto Table Creator
How can I do the following with less nested loops.
How can I output the Table names above their corresponding tables without having to loop.
Functions for returning the DB Info:
...
10
votes
3answers
836 views
App for generating passwords
I wrote a simple JS app to generate passwords. I read up on some of the commenting standards for JS, and started reading the book Clean Code. I am not sure if I am writing the ...
2
votes
0answers
43 views
Manipulating drop-down based on data
I like to create scripts that are clear as to what they do, I like comment, and use data- * in HTML to define what each component is.
I created a script that ...
3
votes
1answer
62 views
Forms - Ordered fields vs. dynamic iterations
I've made about 2 forms that have a server side action using PHP. For the first one, I made a variable for every form field and mapped it to $_POST["name"]. For ...
-3
votes
1answer
66 views
jQuery Addition Calculator
Please ignore row "B. and C." as it works in the environment where it was implemented and is missing the JavaScript reference. The rows highlighted in light blue are the issue. I injected row "A." ...
-2
votes
1answer
25 views
Selecting a specific form content
This code is used for displaying only certain content of the form instead of displaying all the form content. I am using it to stop the users from filling all the form fields if those are irrelevant ...
1
vote
2answers
60 views