html

HTML and google maps not playing nice

I have a custom google map. It seems very simple. <!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"&gt; <head> <title></title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <!--google ma...

Regular Expression jQuery validation

Hi guys. I have been given the task to apply regular expressions on a form validation which I have achieved (using jquery.validate.js). Now, I have to apply a type of regular expressions when the select tag is pointed to US and other type of regular expressions when is pointed to any other country. Any help will be fully appreciated. Tha...

Display JQuery UI Tooltip after table reset

All, I am trying to get JQueryUI tooltip and Tablesorter plugin to work together. I am unable to display the JQueryUI tooltip when I hover on the names but the tooltip won't appear after I click the "Reset Sort Order" link. How can I make sure the tooltip is displayed after I click the "Reset Sort Order" link. The tooltip should also b...

Programmatically generating editable Word docs from ASP.NET?

The purpose is to generate proposal documents that can manually be edited in Word after the fact, but before sending them out to the customers. Much proposal content would be drawn from existing HTML website content (backing CMS) and also some custom (non-HTML) injection for certain scenarios. Of course the conditional logic could ...

how to learn web design technics

I am a beginner for web designing .I want to learn most useful method used in web designing world,please tell some tutorials for learn creative website using photoshop,css ,html,...... thanks. ...

Resizing SVG in html?

So, I have an SVG file in HTML, and one of the things I've heard about the format is that it doesn't get all pixelated when you zoom in on it. I know with a jpeg or whatever I could have it stored as a 50 by 50 icon, then actually display it as a (rather pixelated) 100 by 100 thumbnail (or 10 by 10), by manually setting the height and w...

Get Child Element Value with Mootools

I'm trying to change a class by first discovering if it is the parent object to a particular image using Mootools (clients previous web developer seemed to have it in for me). I can't seem to find much good documentation on the subject. <div class="textwidget"> <img src="share.jpg"> </div> So far I've managed to locate all the divs ...

Form Double Post Issue

I understand that double posts has been a problem with forms forever. I am using the token server-side method to handle this issue, but I find that it doesn't seem to work flawlessly. I have the system set to create a unique token for every form, and then record that token in a SESSION after it has been posted. The SESSION is actu...

Google Chrome form element reset not working

I am trying to clear the values contained within a form using an HTML input type reset. It seems fine and resets the values in Safari and Firefox, just not in Chrome (Mac OSX). Does anyone know a way around this without writing javascript to do it? (I have done it this way before but want to avoid it) <form ... > <input type="text" ....

what is the best html parser for java?

Assuming we have to use java, what is the best html parser that is flexible to parse lots of different html content, and also requires not a whole lot of code to do complex types of parses? ...

good website creation tutorial

Hello, I know that there are a lot of books where html xhtml css and javascript is described but maybe You know is there any example of creating modern website from scratch using above techniques with nice design and so on? Thanks for help ...

Is there a way to style part of an input field's value?

I'm working with an <input> field and I'd like to style part of the field as the user's typing in a different color. For example, let's say the <input> has a style declaration of color: red; and I want to change part of it to color: blue;. Is there any way this is possible? If there isn't (as I suspect), any creative ideas on how I can ...

Is there a reason why sites like Facebook/Digg/Reddit would not parse the proper meta tags on a page for title/description?

Any given article on our site has the meta tags for title, description, image, and keywords in the head element, but for some reason none of the news aggregate sites won't pull any of it. http://darthhater.com/2010/06/25/friday-update-preview http://darthhater.com/2010/06/24/official-bioware-stance-on-game-testing-leaks Not trying to p...

css style - divide nav into left and right

My goals: I want to have #nav to be divide into menu-left and menu-right, and each has its max width I want to make sure that #nav, menu-left and right are not statically fixed. So that it expands and shrinks according to settings of the users. The output should be similar to what we see in the picture. I am doing this in wordpress...

TabIndex control in a non compliant html page

I have an html page where I cannot put a DOCTYPE (I am not allowed to). Plus, I need to make it work on IE 8! Then there is a checkbox + label thing. For example, this: <input id="daffodils" type="checkbox" title="daffodil factsheet" name="daffodils" value="checkbox" tabindex=2> <label for="daffodils">Daffodils</label> <inpu...

How do I append a dynamic form to the end of a table?

Hello all, I'm completely new to Javascript and Greasemonkey, so feel free to correct me if I'm doing this inefficiently or incorrectly. In this forum that I post in, clicking the "reply" button brings up a new window with just text form to post in. I want to create a greasemonkey script that adds the script for the reply form onto th...

Post/Redirect/Get Model -- Sessions & Security

I'm looking to build an ecommerce form using the PRG model. My question is on how best to hold the users credit card information during each page transition (page 1 input, page 2 review/submit, page 3 thank you) -- is a SESSION the best way to handle this, and is it secure enough? If not storing in a SESSION, how else would I do it? I...

Quicker Forms html/php ?

Hi lad's, I'm working on a project at the moment that requires alot of forms. I was thinking of a workaround to minimise spending hours of time on the subject. Above all else I don't want to use a framework to do this for me, I'm still learning so its important for me to understand at the core. Ok so I have a class called form builde...

Can a formfield be selected w/mechanize based on the type of the field (eg. TextControl, TextareaControl)?

I'm trying to parse an html form using mechanize. The form itself has an arbitrary number of hidden fields and the field names and id's are randomly generated so I have no obvious way to directly select them. Clearly using a name or id is out, and due to the random number of hidden fields I cannot select them based on the sequence number...

Google Bookmark Feeds returning 400 or not loading

I have a google ajax api key and I've been trying to access the various google bookmark feeds but am receiving either a 400 bad request or feed did not load error when attempting to access the feed from my script or code. These are the feeds I've tried accessing: XML:https://www.google.com/bookmarks/?output=xml&amp;num=1000 Fails using...