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
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
310 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
68k 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
10k 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 ...
37
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
149 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
483 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
233 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
310 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
868 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
448 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
458 views

Web register form

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

Is this password-submission form valid?

Does my code contain anything invalid? ...
1
vote
1answer
231 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: ...
0
votes
2answers
345 views

Website built with HTML and CSS

Please review this: ...
2
votes
1answer
648 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
591 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
508 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
254 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
16k 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
307 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
243 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
197 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
143 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. ...
2
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
572 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
473 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
611 views

Rails view to list users in a zebra-striped table

...
12
votes
4answers
1k views

HTML Review of template for site - Is this ok for HTML5?

Writing a new site, has anyone got any comments on the HTML here? Is it all semantically correct? Thanks! This will basically be the template, so I want to make sure it's pretty perfect. ...
6
votes
1answer
1k views

Using XSLT to turn content of WYSIWYG stored in XML into HTML

The CMS I use uses the Xalan XSLT processor which is a XSLT version 1.0 processor. Editors who use WYSIWYG fields within the CMS can save content that will look like either: ...
8
votes
2answers
313 views

Theme/skin swap… version 2! (CSS-driven)

I basically have an AJAX-fetched skin (html/css) that's loaded into a dummy element (id=SkinContainer) when the page is loaded, and then the content of one of its divs (contentdiv) is fetched with ...
15
votes
7answers
2k views

Personal website, done after one week of learning HTML and CSS

I've just started learning CSS/HTML a week ago and I made a quick site today. It looks pretty good, but I think that I reused/wrote some really messy CSS. This is because I haven't used the ...
16
votes
5answers
1k views

Twitter client portfolio website

I'm creating some sort of "portfolio" website for my self (a ton of placeholder content right now...) and I was wondering if I could improve the semantics of the HTML5 any further, especially the <...
16
votes
3answers
999 views

Using a navigation menu to help keep material organized

I'm working on a personal project to keep different snippets/examples/small projects of mine organized. I want to make the most of my page width, so I decided to write a navigation menu that slides ...