html

IE form input data disappear after browser refresh

Hi, I'm trying to achieve sticky forms without PHP. My setup is AJAX like javascript. The back/forward work fine on both IE and FF, but refresh only works on FF, not IE. Doesn't matter what cache options I use, I've even set IE's temporary files option to never check for updates, and the input value is gone after page refresh(the refr...

Django/jQuery - read file and pass to browser as file download prompt

I've previously asked a question regarding passing files to the browser so a user receives a download prompt. However these files were really just strings creatd at the end of a function and it was simple to pass them to an iframe's src attribute for the desired effect. Now I have a more ambitious requirement, I need to pass pre existi...

Inline form fields with labels placed on top

I can't believe I'm having to ask this, but I'm at my wit's end. I'm trying to display 2 form fields inline, but with the label for each field on the top. In ascii art: Label 1 Label 2 --------- --------- | | | | --------- --------- Should be pretty simple. <label for=foo>Label 1</label> <input type=text ...

Conditional Comments Firefox

Are there specific Conditional Comments available for older versions of Firefox? (eg 3.0) ...

YouTube javascript page drop down

hi everyone, does anyone know how to create a code so that after a user logs onto a site for say like 10 seconds, a screen drop down. on the screen (new page layer) is a youtube embedded video. ...

how to create drop down list with html and css only ?

I want to know easiest way to create drop down list with html and css only. ...

image hover animate

Hello. I have the following jQuery script that makes an orange transparent hover effect cover the image when it's rolled over. How do I make it so this script will animate in and out (with a fade?) $(document).ready(function() { $('#gallery a').bind('mouseover', function(){ $(this).parent('li').css({position:'relative'});...

Can jQuery select elements with IDs that start similarly?

I have multiple comment ids I want to reset to a default value. Ex: <a id="comments_inner_toggle_45">example 1</a> <a id="comments_inner_toggle_608">example 2</a> <a id="comments_inner_toggle_28">example 3</a> ... How can I write the correct tag in jQuery to select every tag with an id of "comments_inner_toggle_" and perform some ope...

Embedding a flash object old SWF markup? Will this work??

I am embedding a flash object into my site and when I do I get a message from dreamweaver saying "This page contains some swf objects that may not work correctly in the most recent versions of Internet Explorer. Dreamweaver cannot convert them to the new SWF markups please delete each of them and insert them again" I am not aware of a...

about HTML code

What editor or IDE can I use to write html code? I mean that I write my C++ code in Visual Studio, for example... so where can I write HTML code? ...

Can i set two different kind of actions on one form?

Hey guysi was making one web sites. in that, there is one page on which i have one form, so in thati want two thing done on same data.1) it should store in the database 2) that form data should also to be send on one email account. i know i can do this if i use "mail" function of php and on that same php file, i can store that. but i d...

Change Hot Spot Color In Html On Mouse Over

How Tp Change Hot Spot Color In Html On Mouse Over ...

100% width table cell

Hello! I have this table layout. I want to align the whole content to the right. So i'm using one cell with width: 100%;. Usually everything looks good and nice. But there is something, which i don't understand. If the content in cell, which has colspan, becomes bigger than normal cell in this column (you can test this by clicking Click...

How to get rid of white space between css horizontal list items?

I've got the following test page and css. When displayed, there is a 4px gap between each list item. How do I get the items to be next to each other? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"&gt; <html> <head> <link type="text/css" rel="stylesheet" href="/s...

How to escape HTML.

I have a string which contains HTML text. I need to escape just the strings and not tags. For example, I have string which contains, <ul class="main_nav"> <li> <a class="className1" id="idValue1" tabindex="2">Test & Sample</a> </li> <li> <a class="className2" id="idValue2" tabindex="2">Test & Sample2</a> </li> </ul> How to escape just...

Embeded video displayed over html

Site which I am developing has a menu with drop downs, which is always on top and content is scrollable. Some of content are embeded video from various sources, which appears over top navigation. For youtube, we find solution by adding extra parameter: <param name="wmode" value="opaque" /> which resolve this issue, but is it general so...

Simulate Browser Resources Expansion Behavior With Python

I'm looking for a way to simulate browser resources expansion behavior. The flow I'm trying to address is the following: Access an initial URL (e.g. http://example.dmn/index.htm) Parse the html response received (e.g. index.htm) Find the resources that a browser will fetch as a result of the index parsing, e.g.: Images Flash ...

Why dynamically created HTML Input is Empty After Postback

Hi, I add HTML and tags to Page dynamically. But after every postbost, all values are empty. What can I do for Solve? ...

UIWebView get HTML Source

Hi I am trying to get the HTML source of a UIWebView without re-downloading it again (a.k.a. do another download, such as [NSData dataWithContentsOfURL:(NSURL*)URL] or launching an NSURLRequest. Browsing the UIWebView header and documentation, there seems to be no way of accessing the current loaded NSData of the source. Am I missing som...

what is the key code for shift+tab ?

Hi, acyally i am wiorking on key mapping but the problem is that when i press tab/down button it navigate to the next input field tab has key of 9 and down has key of 40 but to goto the previous input field (shift+tab)what is the javascript key code for that. what i want is if we press down it will go to next link but for previous ...