html

Disabling storing what you have entered before?

Im having a search field. Now when i search for names, it stores it.. Stores it you know so you can just press key down and enter then get the name you entered previously.. Im talking about the normal dropdown that comes when you have searched for some stuff in google example.. then you can key down and see everything you have searched b...

HTML <a> tag is pushing elements down the page when using position: relative

Hello all. I have a form with a style input box and a <a> tag that acts like the form submit button. I don't want a real form button because I will be performing AJAX on this form. Here's the markup: <form action="" method="post"> <input type="text" id="videoLink" /> <a href="#" class="formSubmit">Go</a> </form> <div class="co...

HTML webpages to Wiki pages translator

I am looking for a HTML to wiki website translator. Basically I want to publish the coverage reports generated by cobertura to my google code website. But google code only suuports wiki pages, so if someone can point me to a HTML website to wiki pages (linked together) translator I can publish my coverage reports. ...

Dispatching in an HTML/Javascript Application

I am in the process of creating an HTML application, in the sense that there will only be one HTML page and the rest will be done as AJAX using jQuery. I will be storing context in the hash of the URL to preserve the back button and allow external deep-linking from our main site. I will use onhashchange to detect a request for new co...

Height iframe in div problem

I'm having troubles fitting the iframe in the exact height of the div. The problem isn't that is won't fill the complete div but it exceeds beyond the div. This is what i have now CSS *{margin:0;padding:0} html, body {height:100%;width:100%;position: relative;} #header { height:100px; width:100%; background-color:#FF0000; } ...

Dragging divs beetween elements with JQuery.

Hi! I've got a table grid(10x10), and images in some of it's cells. I wanna the images to be draggable beetween the cells of grid(it'd be great if i could easily get the new position(x,y) of image). I'm using newest JQuery. ...

Difference in performance between img tag elements vs divs with background images?

Are there any differences in performance or load/caching behavior when displaying images in img tags vs divs with image backgrounds? My example: I have a site with many overlapping images, some of which I will need to load dynamically with javascript. One issue is that I need to anchor the images to the right of the element, so that...

Adding a Large text box to a page

I am building a page where I want to add a HUGE text entry box. Just like this: http://unbouncepages.com/real-time-texts/ I have done normal text fields before, but how do I get the box and font size to be massive? ...

img problem in IE

This code below works perfectly for all browsers except IE 7 or 8. <img src="images/image1.png" usemap="#map1" width="669" height="300" border="0"> <map name="map1"> <area shape="rect" coords="80,120,182,226" href="XXXXX" target="_top" > </map> <div style="background : url(images/image2.png) repeat-y; height:auto; wid...

Caching dynamically loaded images

I'm using javascript to dynamically load any of a series of images into a single img tag, based on user interaction: function reassignImage(newSource) { img.src = newSource; } This works great, except that I when I inspect it with Chrome developer tools, I see that even if I reload an image I've already loaded, it makes another htt...

Is it possible to use HTML in web form that uses UIDatePickerView when viewed on iOS?

I want to present an HTML-based form in a UIWebView with a date field. I want the OS to recognize this as a date and show the UIDatePickerView for entering the date similar to the way it presents a UIPickerView when entering data in a form select field. Is this possible? ...

Mobile HTML rendering numbers

I have a mobile WEB Page showing a bank statement. Something like this: DATE | DESCRIPTION | AMOUNT --------------|--------------------------|--------------- Jan 2nd 2010 | Clothes | USD 1.839.000 Sep 23rd 2010 | Drinks | USD 2.837.000 I am using . as a thousand separator sin...

What is the expected order of an array submitted in an HTML form?

I'm wondering if there is any sort of guarantee on the order of POST variables I will see on the server side. My use case is I have a form that a user will fill out to enter a list of names and emails. I'm using a table rows, each of which has two inputs: <table> <tr> <td><input type='text' name='name[]' /></td> <td><input type='text' ...

Django admin - Autoselect field with javascript

class Zipcode(models.Model): city = models.CharField(max_length=100) zipcode = models.CharField(max_length=6) class Meta: ordering = ('zipcode',) verbose_name = 'Zipcode' verbose_name_plural = 'Zipcodes' def __unicode__(self): return self.zipcode + ' ' +self.city class Area(models.Model)...

How do I correctly load and HTML embed password protected files?

I have an Apache password-protected directory filled with text files and movie files. Currently, I load the contents of the text files using cURL, passing the username and password information with CURLOPT_USERPWD. For the movies, I set the OBJECT and EMBED src's to http://username:[email protected]/file.mov. In both cases, the userna...

How to create html table by reading column values from an XMLfile

I have to create a table in an html file by reading column names from an XML file. I am using java, Wicket, JQuery etc..(No hard coding of column names in html file) any suggestions? ...

How to get CSS background images to show up in HTML files opened by Word?

Hi all, My question is specifically what I'm after, but I'm also interested in 'general rules' around how to preserve styles when opening an HTML page in Word. More information on my context follows. The HTML file being opened in Word has <link ... /> elements including stylesheets. everything displays normally in a browser. So far I ...

find html tag and also its character position

I was looking for a C/C++ library with a function that would allow you to search for a tag by name and attributes, and then return other attributes of the found tag, and most importantly, indicate which visible character position the tag occurred at. Does jquery/javascript already allow this, and if so, do I just need something to proce...

Best way to start learning HTML, CSS, and other web frontend technologies

Hello. One of my friends is wanting to learn HTML for the purpose of helping me to create websites. I figured the best place to start is working with the frontend of websites. What good online resources out there can I recommend to my friend? Most of the online HTML tutorials out there teach the deprecated way of writing HTML, such as ...

Weird IE8 problem when using .animate({'height':'toggle'})

Check out http://wouter.howafarms.com/faq The goal is to have answers be expanded on click. As you'll see this works perfectly in all browsers except for ie8. I've tried various animation effects .slideDown(), .toggle() to no avail. They always work in Firefox, Chrome and even IE7, but never in IE8. What in the heck might be causing...