html

<applet height="100%"> causes vertical scrollbar in IE. Why/how to avoid?

Why does this create a veritcal scrollbar in IE6, IE7 and IE8? How to avoid it? (I had a real applet in there, but I discovered that this heavily mutilated one gave the same result and helps simplify the test case) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head...

Changing height of a div - Firefox and IE?

Hey all - I have a fixed size div with another div inside that holds Flash at 100%. I need to change the height of the fixed div on the fly. This works in Safari, but not on FF or any Windows browsers <div id="center1200"> <div id="content"> </div> </div> and I call with jQuery $("#center1200").height(1000); ...

Get source of a website which requires post login

Hello, I wan't to write a script to get the source of a website which requires a post login. I need a shell script to do this. I want to parse some information. Any idea which language is the best choice for handling the http request and maybe cookies? Thank you. ...

HTML: why isn't the input field SIZE deprecated? we have style="width:xx"!

simply put, i think that the input 'size' field is now obsolete (like the rest of html styling outside of css), and most of the sizing attributes have been deprecated, so why not input.size? ...

disable autocomplete/pre-populate in IE via HTML?

Demo link: http://elevation-inc.com/dev/test/ieform/ In IE 6/7/8 - if you enter a term into a simple input field, submit the form and then hit the back button - the input field retains the previously submitted term. If you then refresh the page, the value is also retained. How, via HTML, can this pre-population be disabled? We want no...

Why is z-index not working for this webpage?

Open up http://irule.at/quovadis, and it will show you a regular theme. The problem is that the div photos is not showing up. It's most likely hiding behind body/html because of the z-index, but I want them to show behind the divs in the middle. How do I fix this? ...

rounded corner textarea

This is very general question. I want to create a textarea with rounded corner with CSS. Please help me out. ...

Implementing right click on Flash, using Flash Builder.

Hi guys. Some days ago, I saw this very interesting post: http://www.uza.lt/blog/2007/08/solved-right-click-in-as3/ and now, I'm sure that a custom right click can be used in Flash, throught JS. The problem is.. that the guy who coded that, he used a "custom" swfobject (or older, dont know) and a "custom" index.template.html. The pr...

Gap.com is redirecting me when I try to Screen Scrape

We are building a site that allows users to collect and store their favorite products from all over the Internet to one spot. We have an algorithm that filters out and finds the correct image by reading the source code. 80% of the sites work correctly but 2 large companies are blocking redirecting us from a product page to their homepa...

Store JSON in a hidden input element?

I need to be able to generate an effectively unlimited number of datasets, so what I want to do is something like this; <input type="hidden" name="items[]" value="{id:1,name:'some-name'}" /> I tried JSON.stringify to convert my array in javascript and store it in the current hidden input element, but it wraps all the keys and values i...

Multiple or separate rollovers using Jquery. Mock up for a better explanation.

UPDATED: 06.29.10 Here's the code I'm using so far. I'm really close after searching through the Jquery documentation. $(document).ready(function(){ //Rollovers for circle buttons $('img').hover( function(){ this.src = this.src.replace("_org","_over"); }, function(){ this.src = thi...

jquery.quicksand position calculation problem

Hey all, I've been working on a little site for a couple days and have a the super cool jquery.quicksand plugin running to sort through portfolio entries and I'm having a problem when selecting the 'all' filter. If someone would take a second to help out, I'd be very grateful. Due to the nature of the problem, it'd be best for you to ...

How do I store my websites header and footer in one location?

I am always rewriting my headers and footers and for every edit i have to manually copy and paste all the code into the web pages. Obviously this is the wrong approach but im not sure of the right one. My current idea is to have a "header" and "footer" div and then with jquery's $(document).ready load the divs with code. Im afraid it wil...

html: any way to "wrap" a web page with an auto-reload function?

I have a status page that I would like to periodically reload. Instead of coding a refresh action into the page itself, I would like to have a wrapper page handle the periodic reloading. Any such thing available off the shelf? Something I could use like this would be perfect: http://foo/automatic-page-reloader?interval=60&amp;page=ht...

IE7/IE8 Table Display bug <thead> background image goes behind <table> background image

I have been developing a new page which includes a series of tables. The tables have a background image repeating on the y axis for the <table>. A background image for the <thead> and a background image for the <tfoot> It works fine in all browsers except IE7 + IE8 - I have isolated the problem as: the repeating background image for th...

Transforming XML into HTML (as opposed to xhtml)

i want to transform some xml into HTML that has the following format: <TR><TD> col1 <TD> col2 <TD> col3 </TR> Note: The output is HTML, complete with optional closing tags omitted. This is the problem, and the reason the question exists. A snippet of the XSL i'm using is: <?xml version='1.0'?> <xsl:stylesheet version="1.0" xmlns:xsl=...

get div element contents in C#

I have a moderately well-formatted HTML document. It is not XHTML so it's not valid XML. Given a offset of the opening tag I need to obtain contents of this tag, considering that it can have multiple nested tags inside of it. What is the easiest way to solve this problem with a minimum amount of C# code that doesn't involve using non-...

Javascript code losing Focus

Hi, I have the following code that I am playing with: <script type="text/javascript"> var Dash = { nextIndex: 0, dashboards: [ {url: 'http://www.google.com', time: 5}, {url: 'http://www.yahoo.com', time: 10} ], display: function() { var dashboard = Dash.dashboards[Dash.nextIndex]; p...

html input field options

Hi, I have a input field and on clicking that I will show a date picker to select the date. I would like to always make this field select using from that picker and not by typing. the reason is, i am just modifying this one field and don't want to touch the whole code to validate this field. i have given enough drop down options for th...

Help with CSS div positioning

Hi all, a bit of a softball CSS question here (hopefully). I'm looking for some CSS help with regards to the attached screenshot. I have the larger box being properly centered, however the smaller boxes are giving me some problems. For the top small box, I had initially tried using absolute positioning, but once the browser is resized...