html

Make input form read-only?

I have a bunch of forms that have a lot of <input type="text"> fields on them. The user now is requiring that I provide a "read-only" version of every single form. I would recode every field into an <xsl:choose> <xsl:when test="/..../permission = 'E'> <input ....> </xsl:when> <xsl:otherwise> ... </xsl:otherwise> </xsl:choose> m...

jQuery - select table cells without selecting from a nested table

I wrote some jQuery to select the cells from a table with a certain class; in this case, "hello". However, the table has nested tables with a column of the same class. How do I select the cells from the outer table but not select the cells from the inner? See below: HTML: <table class="foo"> <!-- this is the outer table <tbody> ...

Run jQuery animation continuously throughout entire website

I'm running an infinite loop of a color changing background on my website using the jQuery timers plugin (plugins.jquery.com/project/timers): jQuery(document).ready(function($) { $('body').everyTime(1,function() { $(this).animate({ backgroundColor: "#000000" }, 20000).animate({ backgroundColor: "#ffffff" }, 20000); }); }...

clear pixels under a shape in HTML canvas

I am using an HTML canvas and javascript and I need to clear all of the pixels underneath a shape created by closing a path (for example, I am using flot, and I want to make rounded corners, and to do this, I first need to remove the square corners by drawing a curve on top of the corner to remove the desired pixels). Right now, I am do...

Why won't my HTML/PHP form work?

Ok, so I made a form using HTML, and I'd like to get it to submit the information to my email, so I found and modified this PHP script: <?php $to = "[email protected]"; $subject = "R&R Form"; $firstname1 = $_REQUEST['firstname1'] ; $lastname1 = $_REQUEST['lastname1'] ; $firstname2 = $_REQUEST['firstname2'] ; $lastname2 = $_REQUEST['lastnam...

IMG tag does not display after INPUT tag

Given the html fragment <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Test JQuery AppendTo</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2...

Fluid height in Internet explorer

Hello! I've been trying to make an image resize as you resize the window of the browser. It works in all but Internet explorer. I was requested to do this without external sheets. <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%; margin:0; padding:0;"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-...

Website for live testing of HTML/JS

Is there a website for pasting code HTML/JS, when you can edit HTML/JS and see changes live? ...

jQuery animations within a function call

Hey ^.^ I would like to have a function called in an onclick handler, within an IF statement... Confused? I would be too, the code below should help... For some reason, I get "gotoIt is not defined" in FireBug. I think people keep misunderstanding the question :P... the full code is below. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1....

libxml for python's utf encoding issue or mine?

hi all I'm trying to extract the "META" description from a webpage using libxml for python. When it encounters UTF chars it seems to choke and display garbage chars. However when getting the data via a regex I get the unicode chars just fine. Am I doing something wrong with libxml? thanks ''' test encoding issues with utf8 ''' from lx...

html to Generate or update xml from file list?

so im making a javascript image gallery for a friend- and he wants to be able to add new images later. Right now i have javascript generate the gallery from an xml file (which is created by custom picassa export). is it possible to have the html file update the xml file with new images- it needs to be able to add a couple tags for the fo...

How does facebook know what image to use when you post a link?

Possible Duplicate: How does Facebook detect images when adding a link? hi all, curious how facebook is able to pull an accurate image when you post a link. I know they first look for a meta tag with the image the site owner wants them to use but if that doesn't exist what logic do you think they do to get what image should be...

Google maps API cusom icon (not image)

Hello, I am using Google maps API. However, since I have very many icons, I am trying them to use with a mapping technology. Therefore I need to add an icon as a div instead of img. Is there a way to append icon to google maps as a ? Thank you. ...

Getting Existing Form Elements with GWT

I have a HTML file that is linked to a Java class using the Google Web Toolkit. Within the HTML I have defined several buttons and text fields using standard HTML. I am trying to get those elements into the GWT class so that I can manipulate them. Is there a way to use GWT to get those elements and put them into object? For example, ...

Creating composite Javascript/HTML "widgets"

What I would like to do is be able to dynamically a block of self-contained HTML that has additional properties. I'm not sure what to call it, as "widget" now implies it is something like flair or a badge to put on your blog. I am talking about a reusable, customizable, "composite" JS/HTML(/CSS) object. For example, a simple date picke...

Populate a registration form with Tab Delimited Data

I have a Tab Delimited Data lets say Name Address DOB EmailID copied to clipboard, now I need to paste this data on some online html forms which contains these fields,but whenever I am trying to do so its pasting all the contents in selected text box, where as if I try the same in excel its recognizing the tabs and placing each filed pro...

have swf link to new url with html?

so i have a swf with a simple animation- the div used to contain it has a border that changes color when you hover- i want the whole thing to link to a new page when clicked- but right now it only works when you click on the border. heres what i have so far (a href="http://" class="noDecoration" ) (div id="ink" class="galleryBox" ...

Can't select my div in ie without a background color

I have this weird probleme where IE do not reconize I am hover a div without a backgound color, the DIV is in position absolute any way to have a transparent background, without a transparent gif? ...

Doing a URL Re-Write

Hello, When I click on a comment section for a given entry on a site I have, the URL looks like this: http://www...com/.../comments/index.php?submission=Portugal%20Crushes%20North%20Korea&amp;submissionid=62&amp;url=nytimes.com/2010/06/22/sports/soccer/22portugalgame.html?hpw&amp;countcomments=3&amp;submittor=johnjohn12&amp;submissiond...

Hotspot/Hover Zone on a web page

Hi, I can't recall what the process is called but I need a means of creating like a hotspot zone on a web page, so that, when the user hovers there mouse pointer over this zone, the cursor changes to a pointer, which will then allow the user to go to a particular site. Pls note that I am not referring to a simple anchor tag around an i...