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).
3
votes
1answer
26 views
jQuery conditional statement to check if a select option has either of 4 values selected
I am working on this project that has a reservation form which allow users specify which sort of service they require. I have a select menu with eight (8) options and I have two divs which would ...
2
votes
1answer
52 views
Is my web site structured correctly?
I'm trying to get a better handle of code organization and how HTML5 (really HTML) stack works in general. I've worked mostly with ASP.NET Webforms and done some MVC as well. Let me say now, "I hate ...
0
votes
0answers
26 views
What is this file structure method called? [on hold]
I have been using this file structure for a while now and I'm not sure where I got the idea from (possibly PHPBB? Maybe Wordpress?)
Basically, I create a page, like ...
4
votes
2answers
28 views
Admin CSS sidebar template
Could I get some feedback on my simple start to an admin template:
http://jsfiddle.net/spadez/GHKxW/3/
HTML
...
0
votes
0answers
20 views
Bootstrap carousel, images only show up with embedded ruby. And as stacked elements rather than scrolling [on hold]
When I have my the following code:
...
6
votes
2answers
46 views
Simple grid system made out of CSS columns
I have been researching and experimenting with HTML5 and CSS3. I was aiming to create a very simple but efficient tiled gallery / grids. So some sort of grid system that I can layout anything inside.
...
5
votes
1answer
49 views
Responsive jQuery restaurant menu system
I have a working restaurant menu system - as the user selects a menu it slides into view. The build is responsive, I've used the 'Debounced Resize() jQuery Plugin', however in implementing the ...
3
votes
2answers
37 views
HTML/Attrs Tester Environment
I have a few objectives (which are working fine, but I want tips in case I can improve it).
Let me try to make this as clear as possible, as this is a much larger project:
There are three move ...
0
votes
1answer
40 views
Class that handles header and footer includes looks like a mess
I tried making a class that handles my header and footer of my site. It looks like a mess, because I like to preserve the indentations as is.
But I'm wondering if there maybe is an even cleaner or ...
2
votes
2answers
38 views
Submit form data to MYSQL table with PHP execute
I have written code to send a simple email submission form to a sql table so that I can manage the data. I would like feedback on whether or not the code that I have written is efficient and secure. I ...
2
votes
2answers
41 views
Interupt redirect to catch potential newsletter signup
This is a piece of code I am working on to reuse in a few places on various websites. It is used to capture name and email addresses for people interesting in registering for something, we want to ...
4
votes
1answer
53 views
Security - Login system
For a school project I have been asked to create a login system for a website. The language I have to use is PHP with no database as of yet (for a later assignment). I'm just wondering if this code ...
1
vote
1answer
20 views
Eliminate nested HTML elements for jQuery animation?
Background
When a user leaves a page, if they haven't submitted form data, a button is animated to draw the user's attention. (This is a poor UX choice--all the form data should be submitted--but it ...
2
votes
1answer
37 views
Simplify some resizeable HTML
I am generating a content bar with jQuery, that can be inserted into any webpage. It is a <ul> with two smaller lists within it. Those two minor lists have a ...
3
votes
1answer
79 views
Google Maps Javascript API v3: Sorting Markers with Check Boxes
Recently I built a map with custom markers (pins) and a sorting function to display each by type (Member, Supplier, Prospect, New Member).
The HTML (check boxes wired up with ...
4
votes
3answers
63 views
New Game - Am I going down the right path for DOM manipulation?
I find myself using a lot of .find functions within what I'm developing. The reason being that I need to run this same function on a TON of different characters ...
5
votes
1answer
44 views
Dynamic matrix in web browser
Today, my project was to make a matrix in my web browser. It is really slow, so help with optimizing it would be nice. It runs slow on my PC, yet alone my iPod 4 which this is going to be for.
...
6
votes
2answers
53 views
Am I using BEM correctly?
I have started using BEM syntax for my HTML and CSS. I got the idea from Harry Roberts blog post MindBEMding – getting your head ’round BEM syntax
Please note I am not looking to use this for HTML ...
3
votes
1answer
50 views
Am I over using <ul> for layout?
I want to create a small web widget, you can see it at this jsfiddle. Right now it is organized by placing lists within lists and content within those lists. All of this is supposed to sit, as a bar, ...
1
vote
2answers
78 views
Too many nested blocks fixed but not sure if this way is right
I have previeous;y posted my php code with way to many nested blocks I hope I fixed it right.
I'd also like some tips on my OOP, as this is new to me.
...
5
votes
1answer
53 views
Expandable navigation menu
I am trying to step to the next level from student to amateur web developer, and I would like to make sure I am not making any web-development no-no's, that's all. What caused me to want to ask SO ...
4
votes
1answer
75 views
Fading and Loader jQuery Improvement
I'm not much of a jQuery coder (more of a PHP coder), except to call a few get values out of class and id and Ajax calls. However, I need to make a checkout system work and one thing I would like to ...
1
vote
1answer
57 views
Caesar cipher implementation
I am not very familiar with JavaScript and I'am a little confused with the object oriented peculiarities of it. I am trying to create a Caesar shift using the concepts of objects, methods and ...
6
votes
2answers
164 views
How can I optimize this father son project?
I made this bit of code that uses jQuery in a simple HTML file to see if my son would think it is fun/interesting and to help me with my jQuery skills. The thing that was hard was the selectors ...
2
votes
0answers
64 views
Insert and Delete (a list of specified) characters/words in headline [duplicate]
I'm very new to JavaScript and I'd appreciate some help.
Here's a jsfiddle: http://jsfiddle.net/KYjF9/3/
I'm trying to make that code more elegant and also valid at http://www.jslint.com/ (browser ...
4
votes
2answers
52 views
Simpler way of showing, hiding & disabling elements
I'm currently having this code & looking for a simpler and shorter way of showing, hiding & disabling my elements...
...
3
votes
3answers
84 views
Grouping similar jQuery functions
I want to group the two very similar jQuery functions into just one. Any idea?
HTML:
...
23
votes
5answers
2k views
First Time HTML5/CSS Site
I am working on my first HTML5/CSS web site and, like all of my first-time projects, they end up cumbersome, crude, and hard to work with when changes need to be made later in the life cycle. I am ...
1
vote
1answer
93 views
Good HTML email template?
Based on several different sources, I have compiles the following as my basic HTML email template. Please let me know if I have missed anything important. I am not sure if I am using the \n and \r\n ...
4
votes
1answer
71 views
Triggers placing and sizing elements for video controls
I have some triggers placing and sizing elements for video controls. It works well enough but mostly through trial and error and I am not sure if there is a better pattern:
The full source can be ...
5
votes
1answer
102 views
Cleaning up a dining hall…website
I am making a website that takes a bunch of dining hall information and puts it all together in a neater (and hopefully more mobile friendly) form.
Here is the link:
...
10
votes
1answer
241 views
Colorful Lights in HTML
I am a beginner and I have made Colorful Lights using check-boxes in HTML. I'm pretty sure it will look horrible to any developer out there, but hey, that's why I've posted it.
I'd like a general ...
7
votes
1answer
86 views
interactive slider
Task:
Create an interactive slider that allows the user to view a given image gallery.
Slider controls:
See previous slide
See next slide
Quick navigation through the images / Paging - ...
5
votes
1answer
60 views
Trying to create login
I'm new to PHP and web development in general. Is this a good coding style for me as a beginner? I don't care about password hashing. I use MD5 which is, as far as I know, not a good encryption ...
7
votes
2answers
58 views
Fare Chart in HTML
I am a beginner and I have made a Fare Chart in HTML. I'm pretty sure it will look horrible to any developer out there, but hey, that's why I've posted it.
I'd like a general review of this. I'm ...
5
votes
1answer
134 views
Active Directory details page
Recently I have been making an MVC application with a fluid, responsive design in mind. One of the views has been to implement a fast responsive active directory details page. This is how I have ...
9
votes
2answers
382 views
Reservation Form in HTML
I am a beginner and I have made a Reservation Form in HTML. I'm pretty sure it will look horrible to any developer out there, but hey, that's why I've posted it.
I'd like a general review of this. ...
4
votes
2answers
328 views
0
votes
0answers
44 views
PHP Web Components
I read about W3C Web Components spec and JavaScript's libraries like polymer.js and others, so I tried to find something similar in PHP, but with no luck.
So I wrote a tiny class to work with custom ...
3
votes
3answers
93 views
Login script that checks two users and their corresponding passwords
Please let me know what you think. Is the code well written? Am I using best practices (like when I chose === over ==)? Is my ...
2
votes
1answer
56 views
Drag and normal upload code
This is a partial code of my JavaScript app.
The openDoc function's task is:
call newDoc if use uploads a file through ...
3
votes
2answers
72 views
Horizontal menu for 3 items
My task was to create a menu that displays three items (A,B,C), and has two nav buttons <- and ...
7
votes
2answers
60 views
Is this a good way to create an article in HTML5?
Is this the good way to create a portfolio article in HTML5 or do you have any suggestions?
Not sure about the section but I need it as overlay over the image. Is it better to use a DIV instead?
...
5
votes
1answer
57 views
Shorter way of writing my displayError() function?
Is there a way I can write this function with less code?
jQuery
...
9
votes
3answers
181 views
Updating Grid on Webpage (new version)
Task:
Draw a grid with a given number of rows and columns. Each cell can be
any color. The same grid should also be updated at a predetermined
time interval. The grid should cover the entire ...
5
votes
2answers
113 views
Updating Grid on Webpage
Task:
Draw a grid with a given number of rows and columns. Each cell can be
any color. The same grid should also be updated at a predetermined
time interval. The grid should cover the ...
4
votes
1answer
56 views
Avoiding redundant code in MVC view page
Based on the true condition, I am making some operations. But I want to simplify the below HTML code in a better way.
...
3
votes
0answers
44 views
Cleaning up a “iPad” looking video link
The code can be seen live here: http://jsfiddle.net/darcher/Kc5n8/1/
In an effort to reduce the images being used on the page, I've manipulated box-shading, etc. to make a "vector" looking ...
1
vote
1answer
80 views
Ruby html href parser working slow
I wrote this simple HTML parser in Ruby.
Basically I have a folder that has files. Every file has crawled web pages. The only addition within these files is before the HTML content there is a page ...
10
votes
3answers
283 views
Simple to-do list as a single page application
I've been doing a simple implementation of a to-do list to learn how to use Knockout.js. I would like a general review of what I've done so far (not much). It's my first application in JavaScript and ...