Questions tagged [html]

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).

Filter by
Sorted by
Tagged with
4
votes
1answer
3k views

Learning Management System/AICC project

This is my first attempt at a jQuery plugin. If someone could help me make sure that the code is clean, efficient, and formated correctly I would really appreciate it. Background So the reason I ...
2
votes
2answers
156 views

Is there a better or more concise way to do this?

My goal was to make a list dynamically list itself into two columns, no matter the length of the list. I know this is possible by just floating the li nodes, but I ...
2
votes
3answers
110 views

Page_Load-routine

I have the following .net-page. I hope it is ok that it is only an example, describing my problem(s) pretty well. ...
3
votes
1answer
204 views

Help optimize my HTML/JS game engine

I've been working on a JS/HTML5 Game Engine. Right now I'm calling it DimSumJs, because like DimSum, isn't a full meal, my framework still runs too slowly to make a full game (it can only run about ...
3
votes
4answers
295 views

New web project

What do you think of http://websilon.org/? Are there things that can be improved? Is there something missing? See the source of the webpages for code. ...
1
vote
1answer
168 views

My web project security

I started a web project. Now I was wondering if it is secure enough. I followed some tutorials on HTS, but I can't see all holes (if there are any). Can you check my pages and if you can find any hole ...
0
votes
3answers
1k views

Changing a sprite based on the class

I have a navigation, with a sprite that changes based on the class. In my jQuery, I'm clearing out the classes so it will just have .nav and then ...
1
vote
1answer
1k views

Browser freeze - How to handle or optimize 50,000 rows in one HTML select element more than several times?

I have an increasing table which already has records of 50,000+. So in a combo box I have to load it, so that it shows which one is selected and its a main record which need to be selected and based ...
1
vote
2answers
311 views

Is there a more efficient way of loading views within my java app?

I'm building a web application in Java. I'm new to Java, so before I get too far into this... I'm hoping to take advantage of all the experience here and learn the problems with this setup. My ...
4
votes
1answer
6k views

Is this the best way to collapse a column width?

Requirements: When the page (or in the case of the example Frame) expands, the only column to expand with the table should be 'unfrozen' columns (without the 'freeze' class). here is the live demo ...
5
votes
3answers
72k views

Simple four-function calculator

Basically I just wrote this calculator as a sort of JavaScript test for myself. It's a simple calculator with addition, subtraction, and multiplication. I've made some improvements to it before ...
4
votes
1answer
2k views

Usability of sliding panels

Is there a better way to do what I'm doing? If not, I'd like just a general review of how I did it and the usability of it (how it works and functions, not artistically how it looks). Here is the ...
20
votes
3answers
11k views

Show days of single week

I'm currently in the process of creating a online work schedule for internal use. For this, the client needs to show the days of a single week. I pass a week number and a year. From that I get the ...
1
vote
1answer
3k views

HTML Table of contents parser

I've written a table of contents parser for a FOSS wiki project I maintain in my spare time. The class takes a HTML string, injects anchor takes before each H1,H2 etc. and then generates the contents ...
38
votes
3answers
4k views

Displaying courses in an HTML calendar

I'm struggling for a while now with the readability of my code, I after I tried to get as much insight as possible (for my standards). On my level, I think I understand and use it all right for my ...
3
votes
1answer
10k views

How to exactly work with the JSON Object and jQuery, adding info to posts

I have been working with AJAX and JSON for quite some years now, but to be honest I still do not know exactly what all the functionality are, and how to create optimized code for jQuery. So my first ...
3
votes
1answer
2k views

Using jQuery 1.7 .on() and event.stopPropagation to close boxes when clicking in document body

I have the following code which works but seems like it could be improved. I'm not sure if I'm using event.stopPropagation() correctly or if it is the best solution....
1
vote
1answer
150 views

<select> has extra blank <option>'s and I have no idea why. please help me get them out [closed]

This is the result of the code it has extra option tags no idea why. I have no idea why It produces the extra option box. Below is the result of the query. Correct number of rows correct response......
7
votes
2answers
5k views

Div in unordered list - good practice?

I want to make a form which looks like this: Column A Column B 1 Textbox AA Textbox BB 2 Textbox AA Textbox BB I've coded it like this: <...
4
votes
3answers
491 views

King's Cup game

I just wrote a small card game in JavaScript, CSS and HTML. This is kind of my first project that I have cared about front-end. So I got things to work, but I am sure that this is not the smartest way ...
3
votes
2answers
2k views

Mouseover effect for radio buttons

I'm very much a beginner and have put together some JavaScript to control a pair of radio buttons which essentially behave as links. I'm doing this as sort of a self-initiated project, or bit of fun. ...
3
votes
3answers
235 views

Personal home page for a court interpreter

Could someone please review my code? It seems too convoluted. I am just starting to learn to go from blog to hosting. ...
11
votes
4answers
311 views

Application that creates a toolbar to show/hide elements on a page

I've been spending a lot of time reading about JavaScript lately, and this is my first piece code that I've tried to apply some of what I've read to. I'm trying to stay clear of using a framework for ...
5
votes
2answers
5k views

Nested “Select All” checkboxes

So after answering a question about nested linked checkboxes I mentioned it at work and surprisingly it turned out to be similar to something we needed. The requirements were: a "Select all" ...
3
votes
2answers
871 views

Generated social media links

I'm still fairly new with JavaScript, and wrote something to generate some social media links on my page. The idea was to have that script grab the necessary URL info and feed it to the social media ...
1
vote
4answers
450 views

How Can I Improve/Secure My Login Script?

This is a simple login script. Thought I'm not sure when it's appropriate to use includes over just embedding the code. I'm also not sure if I should make cookies, but I guess I don't really need to ...
2
votes
1answer
7k views

jQuery function to link nested checkboxes

...
3
votes
3answers
461 views

Web register form

This is a page that allow user to do register: ...
4
votes
3answers
657 views

Is this password-submission form valid?

Does my code contain anything invalid? ...
1
vote
1answer
242 views

Basic HTML5 Canvas/Javascript testing

I've written this bit of JavaScript to just learn basics of drawing on/interacting with the HTML5 canvas element. Just want to make sure I'm doing things "correctly" in case I have any glaring code ...
2
votes
1answer
2k views

Javascript to compute max width and height for a nested HTML element

I wrote the following code to give an HTML element max width/height in its parent container. I think I address the box model issues but I am wondering if anyone can see issues and or shortcomings. ...
4
votes
1answer
4k views

Extracting text fields from <span> tags in an HTML message

What i'm doing I have a string with html information like this: ...
1
vote
2answers
352 views

Website built with HTML and CSS

Please review this: ...
2
votes
1answer
654 views

Generating table rows for a form using js

As you can see, the following is pretty ugly and seems to be unnecessarily long. Is there a shorter/neater way to do this? ...
1
vote
2answers
592 views

Please have a look at my HTML [closed]

I have built a website using HTML and CSS. Actually I wanted to learn by implementing real world examples. I have built a site like Google. The search box does not work(I actually did not wanted to go ...
6
votes
1answer
1k views

HTML website practice exercise

Here is a problem I solved. Please review this. ...
12
votes
4answers
512 views

Practicing HTML Tables

I am trying to learn by doing. Here is the first problem that I have solved. I have actually not done it perfectly. The table header should cover both the text and the image but it is only above text. ...
4
votes
3answers
255 views

Introductory HTML exercise

I have started learning HTML. Here is one of the very basic HTML pages I have written. I would appreciate advice about how to write code especially regarding indentation. ...
6
votes
1answer
2k views

Plugin that conditionally displays elements based on form values

I've just released a jQuery plugin that conditionally displays elements based on form values. I would appreciate any suggestions on how to improve both the code and its usefulness. Here's the demo ...
13
votes
5answers
17k views

Remove useless whitespace from styled string

I have a big string resource (basically the "about" text of the application) which contains styles (such as <b>, <a> ...
1
vote
4answers
310 views

JavaScript string that holds HTML code

I am terrible with writing JavaScript code that outputs HTML. So, here's how a string literal looks like in a project that I'm working on: ...
4
votes
3answers
270 views

Setting bgcolor in Ruby. What's the proper way to do it?

<p style="background-color:#<%= debate.bg_color %>;" > be_color is a method of ...
6
votes
1answer
202 views

CSS with negative values

I am new to the world of coding as well as CSS. This is my first attempt to put together a page that required a negative value. I am aware that it is recommended that paddings do not use negative ...
1
vote
2answers
5k views

CSS Page Example Code Review

I am new to the world of coding as well as CSS. This is my first attempt to put together what I would consider a fully-pledged page less the content. I would appreciate if you could poke holes at it ...
6
votes
1answer
145 views

JavaScript navigation UI

I think that the slice() is a bit hacky, and prone to breaking if I change my mind about the id names, but I wanted this to be ...
2
votes
2answers
2k views

Event Registration

I am new to the world of coding, PHP as well as XHTML. As my first stab at object oriented coding, I put together a basic registration form that is meant to serve as a means to collect user details. ...
3
votes
2answers
1k views

PHP Output Block Defining and Best Practices

I've been rolling around several ideas or approaches in my head, and none seem any more useful or "right" than another. I'm sure this is extremely objective but I'm looking for a close-to-definitive ...
6
votes
2answers
573 views

Web-page template

I've been spending a long time working on this template, I'd like to know if its CSS/HTML is good, and mainly if it is speedy to load, accessible, semantic and SEO friendly. I've tested it in IE7+, ...
8
votes
3answers
474 views

Demo of advertisment website

A fully functional demo URL: http://69.24.73.172/demos/index.html Note that in FireFox there is a small horizontal scrollbar bug which I have fixed at home. HTML: ...
5
votes
2answers
643 views

Rails view to list users in a zebra-striped table

...