html

Handling various types of URL redirects

Generally, when writing HTTP client software, the HTTP protocol provides sufficient information for how to handle redirected URLs. Specifically, if an HTTP request returns a redirect code of 302 or 307, the redirect should be considered temporary and the client should continue to use the original URL. However, a redirect code of 301 in...

fix css image menu

Hi, I am trying to create a css based image rollover navigation bar. For some reason, I can not get the images in the right place. I was hoping someone could help. You can find the code and images here: http://garretwais.com/Freelance/9-3-2010/home.html Thanks, Garret ...

CSS Drop Down Menu - Stays HOVER state when clicked

i have a CSS Drop Down Menu... what i am doing with this in a certain portion of my website is that i am using its links to call AJAX-jQuery to change the contents of a DIV on the page without reloading... <script type="text/javascript"> function load_editor(id) { $('#myDIV').load('editor.php?id=' + id); } </script> <div class="ma...

iphone safari making phone call

is there something i can put in the code for a html page i am making for safari on iphone which can make a call when click on? something similar to: <a href="tel://1300111222">click to call</a> ...

Maximum limit of CSS classes that can be assigned to HTML element ?

How many number of CSS classes can be assigned for an HTML element. ...

Creating tabs using HTML and loading different content, for click of each tab

Hi, I need to create tabs on the webpage using html, and on click of each tab, need to load different content on the same page. Do let me know how to go about this, or any useful links that might help me. Thanks, Geetha ...

equivalent to window prompt/confirm/alert as pure JS/CSS solution?

I'm looking for an alternative to window.prompt(), window.confirm() and window.alert(). It's required for a complex web application where the window has an onblur() method and both IE and Safari incorrectly trigger this blur when raising a prompt (actually Safari crashes and IE ignores the prompt because the user hasn't allowed "scripted...

PDF to HTML Mac

Is there a software for mac os X 10.6.4 that that converts PDF to HTML ? ...

Extract Data from HTML using PHP

Here is what I am looking for : I have a Link which displays some data on HTML format : http://www.118.com/people-search.mvc...0&amp;pageNumber=1 Data comes in below format : <div class="searchResult regular"> Bird John 56 Leathwaite Road London SW11 6RS 020 7228 5576 I want my PHP page to execute above URL and Ex...

How to parse HTML with PHP?

Suggestion for a reference question. Stack Overflow has dozens of "How to parse HTML" questions coming in every day. However, it is very difficult to close as a duplicate because most questions deal with the specific scenario presented by the asker. This question is an attempt to build a generic "reference question" that covers all a...

Anchor tag on ICEfaces component

I'm looking for a way to set focus to an ICEfaces component by means of an anchor tag. For instance, when a field fails validation I want to output something like this: <a href="#xyz"> Field XYZ</a> failed validation and then, at the XYZ component, have something like: <ice:inputText id="XYZ" anchor="xyz"> This would enable the ...

Multiple iframe problem

The parent page's URL is: http://lcoalhost Child page position in the folder htdoc/page, Child page name: 1.php, 2.php, 3.php By default, the parent page's iframe is 1.php. 1.php has some buttons, with which I can switch to 2.php and 3.php (2.php, 3.php are also in this iframe) Can iframe child page change the parent page's URL? Such...

How can I get multi select dropdown box?

I have two dropdown box. 1st box having list of values. When I click add button the selected value from dropdown1 shift to dropdown2. Then when I click "add all" button all the values from list will shift from dropdown1 to dropdown2 through jQuery. Here I am having problem. After add the values from box1 to box2 when I click submit but...

Any crossbrowser issues with making up your own HTML elements?

I understand that with a few simple arrangements, the new HTML5 elements can be used even in older browsers. Does this mean the browsers simply don't really care about what the tags are named? So would there be any critical issues with making up your own elements, like <comments></comments> or <feature></feature> or <chapter></chapter> o...

MultiColumn HTML List Box

Is it possible to create a List Box, with List Items in Multiple Columns? I am aware of the alternatives, but I am wondering if this is possible in <select> ...

pros and cons of .htc file

What are pros and cons of using a .htc file in CSS? ...

How can I make an image fit inside a div element when the image is wider than the div?

Hello, I've an image tag inside a div element. <div id = "myDiv"> <img alt = "myImage" src = "some_source"/> </div> The image is bigger than the div, so the image is not inside the div element. First, I've thought about using width = x, height = y. But as I'm still designing the page, I fear to have to worry all the time those 2 di...

CSS and jQuery Simple Question

Just starting using css and jQuery and I have a CSS class called .content which I'm using for a side of the page navigation box, picture of the day box, statistics box, etc., which are layed out using a definition lists. So I need it when I click on the <dt> tag it slides up/down the <ul> tag underneath it which is simple enough. but h...

How to find a button with "value" in html page (Webbrowser - Delphi)

Hi , i have a html page that it have 3 forms with 3 submit buttons . buttons have no name but they have value : <input type="submit" VALUE="Login"> How can i find this button with its value and click on it ? Thanks ...

Link to download image instead of view image

I need to provide website visitors a link to download an original high resolution image. If I simply link to the image with a href="image.jpg", the browser displays the image. How do I make the browser download it? I'm using amazon S3 to server these images... If this requires having a special header set on the image, I'm sure it's po...