html

HTML Table: How to resize data cells when already specified "colspan"?

I have tabular data to display, which has a meaning to both rows and columns. Columns are time blocks, rows are days. A particular datacell is confined to a single day, but can be in multiple time block. To show this, I am using the colspan tag. <div id = "GuideTable"> <table> <tr> <td colspan = 3> </td></tr></tabl...

Import HTML tables to multiple Excel Worksheets

When I import an HTML document into Excel, if there is more than one table in the HTML document Excel puts the tables on the same worksheet one after the other. Is there a way to tell Excel to put each table on its own worksheet? ...

Passing large parameters to an iframe

Hi all, I have an iframe which to i'd like to pass parameters to. So I do this (ldots means and so on) my_iframe.src = "myaction.do?param1=value1&param2=value2&..." My current problem is that when the query string passes about 2100 characters, the request is not sent. Background on this is that one of the values passed can be about...

Is there a way to keep track of javascript hits?

I am populating a table based on a javascript function. I want to limit the data entered to 2, afterwhich I hide the table. Is there a way to track how many hits the javascript code gets hit? function addNewRow() { $('#displayInjuryTable tr:last').after('<tr><td style="font-size:smaller;" class="name"></td><td style="font-size:sma...

Strange - Clicking Update button doesn’t cause a postback due to <!-- tag

If I define the following template inside DetailsView, then upon clicking an Update or Insert button, the page is posted back to the server: <EditItemTemplate> <asp:TextBox ID="txtDate" runat="server" Text='<%# Bind("Date") %>'></asp:TextBox> <asp:CompareValidator ID="valDateType" runat="server" ControlToValidate="txtDate"...

Sortable unordered list with ASP.Net

Hello I am needing to create an unordered list that uses jquery to make it sortable. I want something like is shown here How would I do this with ASP.Net? I thought I could just use almost nothing but HTML but it turns out that I need TextBox controls to be in each <li> How would I most easily do this? ...

Calling Javascript after linking to another page [closed]

I am doing an integration with a support system (Helpstream) and I am currently working on doing some in-app context sensitive help. I have put in a link that will send the user to a section of Helpstream that will allow them to ask a question. Problem is, there are buttons on the page that call Javascript that will bring up a lightbox w...

Input not firing in jsp page

Hi, i have been using the spring mvc frameworks lately for a university project. Could you tell me why this work <FORM METHOD=POST ACTION="SaveName.jsp"> <input type="image" class="floatR marginTMinus10" src="images/delete.png" name="image" value="${rssItem.id}" alt="Delete"/> </FORM> while this not...

How would I set a checkbox to activate a link in a wordpress blog?

I want to be able to let people download stuff from the blog, like code for people to use. But I want to make sure people read the "License/Copyright" stuff before hand. It would say something like, "Check to agree to terms and conditions" and when they click it the download link is activated. Bonus: records their IP address from wher...

CSSRules is empty

I have this very simple HTML page, and I'm trying to get the CSSRules of #poulet, but when I'm accessing the documents.styleSheets[0].cssRules I get this error in Chrome v5.0.375.55: Uncaught TypeError: Cannot read property 'length' of null Here is what my code looks like: HTML FILE <!DOCTYPE html> <html lang="en"> <head> <link re...

How can I limit the number of registrants to an event?

I've set up a basic html/php submission form where people can register for our event, but need a way to replace the submission form webpage with one that reads something like "We have reached our registration limit" when we reach a certain number of submitted forms. Our database is MySQL (if that makes a difference) I've looked around on...

Haml Inherit Templates

I'm using Haml (Haml/Sass 3.0.9 - Classy Cassidy) stand-alone to generate static HTML. I want to create a shared layout template that all my other templates inherit. Layout.haml %html %head %title Test Template %body .Content Content.haml SOMEHOW INHERIT Layout.haml SOMEHOW Change the title of the page "My Content". %p...

Is there a semantic difference <span>'s and <div>'s?

Possible Duplicate: What is the difference between HTML tags DIV and SPAN? I know when coding HTML, I'm supposed to keep semantics in mind, e.g., h1 needs to be a main header, h2 needs to be a subheader, tables need to be tables, use <em> for emphasis instead of <i>, etc. Is there a proper difference between divs and spans exc...

Polygonal Divs -- Making content overflow in a specific shape?

Here is the site I'm currently working on: http://willcrichton.net/ If you click on the arrows on each side of the hexagon in the middle, you can see that it transitions left and right using jQuery + jQuery Cycle + jQuery Easing. However, you can also see that it is rather ugly -- because I'm using hexagons and not squares and because d...

Background music for a web page game

I am making a game in an HTML web page. How would I add music to this game? ...

Display alternate content when Flash is not installed with jquery.swfobject

How can I display alternate HTML with the jquery.swfobject plugin for browsers without Flash? I'm unable to find any documentation or examples showing how to do this. Here is a snippet of my code: <script type="text/javascript" language="Javascript" src="jquery.1.4.2.js"></script> <script type="text/javascript" language="Javasc...

Best practice for referring to classes in CSS

If you have an HTML page with a class in an element, for instance <div class="myClass"> would it be best to refer to it in the CSS as .myClass or div.myClass? Thanks in advance! ...

Two Linked CSS Files Not working

<head> <title>Water Bureau</title> <link rel="shortcut icon" href="/favicon.ico" /> <link rel="stylesheet" href="/css/main.css" type="text/css" media="screen" title="Main CSS"> <link rel="stylesheet" href="custom.css" type="text/css" media="screen" title="Custom Styles"> <script language="JavaScript" src="/shared/js/...

Hiding Text in ie7

So I have this text generated by a javascript plugin. <a class="className">Text</a> a.className { background: url(images/a-image.png) no-repeat; } But the "Text" shows on top of the image... Now... with any respectable web browser, I can use color: rgba(0,0,0,0); to solve the problem, but IE7 doesn't obey standards of any sort. Any...

Removing unused selectors in a CSS stylesheet?

I've been developing a web app for a few weeks now and ended up with about a 1000 lines. I am sure not all the selectors are being used and am trying to clean it up. At the same time, I don't want to do it manually for obvious reasons. Is there a safe and an efficient way to remove unused selectors? For this, am I supposed to navigate ...