html

changing backgroundColor changes border

In IE7, clicking the textbox below changes the border to inset. It works fine in the latest FireFox, but not in v3.0.10 <html> <head></head> <body> <input type="text" readonly="readonly" value="hello" onclick="this.style.backgroundColor='white';" /> </body> </html> Strange quirk. For those with IE8, is it fixed? My workaround is to...

load a page INCLUDING its flash movie, and displaying it when ready??

i have a website, in which there is a lightbox style iframe popup, which contains a flash clip. right now, the lightbox come up as a popup on the website, and then the flash loads [with a nice loader]. the thing is, i want to see if its possible to load this entire page in the bg, and only pop it up when the flash is fully loaded.. wh...

Capture image from camera into form or html5 canvas

I need to capture an image from a webcam (tethered camera, etc.) into a form or html5 canvas so that I can save the image to the server. Also, I would like to be able to preview the image live in the page. For example, I have a browser running at a registration check in station. I would like to take a picture of the attendee currently s...

Get this embedded video to play in IE

Hello, I have an unusual request. A client wants to play a video from the un.org webcast page. My friend had copied the rendered directly and posted it onto a page. Which to my surprise worked, however it does not work in IE only. Any suggestions or advice (Other then the clearly poor choice in implementing this task would be greatly ap...

Testing the website accross multiple IE versions

Possible Duplicate: Running IE6, IE7, and IE8 on the same machine I am testing my website on different versions of IE. What is the best tool to perform the test on the same machine? I came across a tool called IETester. Is this tool recommended? How do you typically perform this type of test? Note: I have tried http://spoon...

What is the proper way to label a link with a background image?

If I am using a background image in an anchor tag as a menu, what is the best way to provide a text label equivalent for screen readers and SEO? Assume the HTML is like this: <h2><a class='menuItem1'></a></h2> And the CSS is like this .menuItem1 { display:block; width:100px; height:25px; background-image:url(../Image...

submitting a hyperlink by GET or POST

Hi, So there's this hyperlink - it's happy being a hyperlink - it does not want to change to a button or a form element - it wants to stay a link! But it would really help me if I could submit it via GET or POST (something which I switch on my pages due to design criteria). Is there ANY way that I can do this thanks Giles ...

What purpose do sizcache and sizset serve in jQuery

I am using jQuery, and in inspecting the DOM of my page in IE with the Dev Toolbar I see that many elements have sizset and sizcache attributes added to the element. I don't see these in Chrome or Firefox? Also, I see that many elements on the page share the same value for these fields leading me to believe it was a global value, but a f...

Including a manual Rails tag in my form's parameters

This question is related to this other question: http://stackoverflow.com/questions/2003732/change-rails-text-field-form-builder-type I have a JQuery Tools Range in my form, and making it work requires that the input field be of the type "date". Rails doesn't easily allow me to do this so I've used a manual tag as follows: <% form_for ...

form validation - require that a *specific* radio button is checked from each radio group

I have a form with four yes-no questions, e.g. I am age 18 or older. () Yes () No HTML fragment: <form> ... <tr id="age_q"> <td class="prompt">I am age 18 or older.</td> <td class="yesno"> <input type="radio" name="age" value="yes" id="age_y" class="required"> <label for="age_y">Yes</label> <input type="radio" name=...

Open MilkBox outside of an iframe

I have a page with content loaded in via iframe, and the pictures within the content area open up in MilkBox, similar to LightBox. Here's the URL so you can check it out: http://interplay2010.com/ Under the Media section, the pictures open up within the iframe. I would like the pictures to open up outside the iframe, but I have no idea...

record and retrieve html element / node path using javascript

Say I've selected a span tag in a large html document. If I treat the entire html document as a big nested array, I can find the position of the span tag through array indexes. How can I output the index path to that span tag? eg: 1,2,0,12,7 using JavaScript. Also, how can I select the span tag by going through the index path? ...

jQuery button display in IE6

We have some HTML buttons which we format using JQuery - $('#button').button(). Works great but.. when the page first loads in IE6 you see the "unformatted" regular HTML button and then you see the JQuery formatting kick in a split second or so afterwards. What can you do do avoid displaying the default HTML button and just display ...

Dynamically increase the size of a multi select drop down box

I've implemented this on mouseover and onmouseout like so: <select size="3" onmouseover="this.size=this.options.length;"> This is all well and good, except i don't want it only on mouseover, i want it always :) forever. Thanks in advance. ...

Onclick usage for low z-index elements

Here is my issue--I need to somehow access the onclick of an item that is covered by another element of higher z-index. I know this is going against the point of z-index, but any ideas? In the below example, only the small top-sliver of the red box is clickable. I have a webpage design where tabs that need to be clickable are overlaid ...

read email messages from inbox with php every 15 seconds or so

Hi, I'm trying to figure out a way to do the following with php: Have a website (index.php) check an e-mail inbox every 15 seconds or so, read the subject line, and the contents of the message, and then display that message on the screen. The idea being it will display all the messages in the inbox on the index.php page as they get sent...

How to encrypt my HTML, PHP & JavaScript?

Guys/Gals I have made a website but now I want to encode the script so that no one can copy. I'm using PHP, JavaScript and HTML in each page of my website. So how do I encrypt each and every page? Thank You. ...

how to automatically click a href?

i got videos list using AJAX, and me want to play a top video an a light box? so after viewing list how it is possible to play video automaticaly? ...

Fix for Anchors while using faux full height Columns in CSS

When the Page_Load event gets called to load the page, how would I have the page load already scrolled to a particular id. I cannot use a named anchor # because it breaks my css. I can use javascript's scrollto function but i don't know how to call javascript from the asp.net page_load event. I have several headers, and a menu that so...

How to make search engine to run fast.

Hi, We designed a search engine but it takes much time to execute its query in drupal.We have uploaded many modules in our search engine.So could you please guide what will be the remedy for make our search engine fast.Is there any thing that i can do with my site? Thanks In Advance ...