html

How do I style radio buttons with images - laughing smiley for good, sad smiley for bad?

I would like to create an HTML form for user feedback. If the overall feedback is good, the user should click on a laughing smiley, if the overall feedback is bad, the user should choose a sad smiley. I think this should be done using radio buttons, with the smileys instead of the radio buttons. Maybe I'm wrong though... Do you know ho...

Silverlight control adding a scrollbar to the browser window

Hi Although new to silverlight, I have produced a clickable map. [Note: it is better than using html tags because the contours of the map match the exact contour of each area, and it is easy to produce a context menu). I had to resize the map and now it is adding a whole new scrollbar to the browser window: I now have TWO vertical ...

How do you size a textarea?

Every time I develop a new form that includes a textarea I have the following dilemma when I need give its dimensions: Go through CSS path or use their attributes col and rows? What pros and cons can I found using both paths? What semantic information gives using these attributes? How people usually does it? ...

Understanding HTML anchor tag

Let'u start with following example: Create three pages in same directory: test.html index.html Your test.html: <html> <head> <script> function test() { alert('Going to google.com?'); window.location="http://google.com"; } </script> </head> <body> <a href='' onclick="test();">google.com</a><br/> <input type=...

Autoplay youtube videos in android

I am trying to autoplay youtube videos on android, the same thing as in http://stackoverflow.com/questions/3405242/how-can-i-autoplay-a-video-using-the-new-embed-code-style-for-youtube The following HTML works in google chrome browser, but not in the browser in android emulator. <iframe title="YouTube video player" class="youtube-play...

center animated (variable width) div - Link included

I have an animated rating bar which changes width when you mouse over it. I tried to write a explanation of the problem, but I think it is far easier to have a look at the link. Essentially I am having trouble centering a div as the children div's change size when the mouse is hovered over them. I have tried animating the width of the ...

how to export array (array collection) data into an html table or text file

Hey all, I have an array collection of strings and integers (which I have displayed in a data grid) and I am wondering if it is possible to export the array collection into an html table? or even a text file for the user to download I found some pages that had an export to .xls files but I want to stray away from that for now. Thanks i...

.mouseenter() doesn't work on content loaded with jQuerys .load() function

Hi! I have a page, with a navigationbar that loads content, from another page, into a content-div, when a navigation item is clicked. The content from the other page contains a variety of different divs. One of these divs has the style display: none. This div is on top of another div. When I .mouseenter() on the div that is below the h...

How do I make Opera upload files like other browsers?

When uploading one file using <input type="file" /> in Opera, it works as expected. That is, you find the expected file data in $_FILES in PHP server side. However, when I try to upload several files at once using Opera, by setting <input type="file" min="1" max="999" /> then all the files' contents are glued together in one long string...

What kind of UI controls are available to capture distance from a certain location

We need to capture user input for searching within a certain distance:- a) find hotels within a 10 km radius b) find pizza restaurants within a 5 km radius Looking for suggestions on a suitable UI widget / control to capture distance information ...

How do I make sure there is no space between my webpage and the browser edge?

I have tried setting the margin attribute to 0px, but it does not work. ...

change select element?

I want to see if this is possible, i need to change a select element content to be displayed as divs using images just like a color picker. when the user selects clicks on a colored div i want an image to be displayed on the page. Also would i still be able to capture the selected item in a form hidden field? It's a shirt building page,...

Load two dropdowns with the same values

Hi all: Is there any problem with loading the same set of values in 2 different HTML form dropdowns? My code looks like this: var dr1=document.getElementById("dr1"); var dr2=document.getElementById("dr2"); for (nombre in elements) { var opcion=document.createElement('OPTION'); var cam=elements[nombre]; opcion.value=nombre; ...

Question marks just started appearing in PDF files created from HTML using ABCpdf

I have a web based application (ASP.NET 2.0) on a virtual dedicated Windows Server 2003 SP2 box, that converts HTML forms and converts them to PDF using ABCpdf. It has been around for years, and hasn't been changed for at least the last two of those years. Three days ago it started placing question marks throughout the outputed PDF doc...

HTML form submit request

What the difference with POST and REQUEST? Does it recommend if I plan to submit the whole form without the need to write parameters? link.php?param=1&param=2&param=3 ...

how place div on other div

I want to position one div over another div. CSS: .fresh_bnr_img { float:left; width:950px; text-align:center; } .black_strip1 { position:relative; top:20px; width:120px; height:50px; background:#000; opacity:0.5; z-index:999; } HTML: <div class="fresh_bnr_img"> <div class="black_strip1">Home</div> <img src=...

Changing data in child iFrame issue - can't obtain a DOM object.

Hi, guys. For some reason I'm trying to parse this website: http://www.vblandrecords.com/index.aspx. I am currently trying to click Document type tab and then change From date value. I supposed I could have done it with the following code, in VBA: Option Explicit Public WithEvents ieObj As InternetExplorer Public Sub Launch() Se...

Help with Form Validation

I want to validate a form. How do I do that? I have email,username,password as my fields. I don't want any of them to be NULL and password and confirm password should match. Please help me out. Thanks. ...

Testing user registration validation in php

Hey all, I am creating a login script that in one step, enters the new user into a text file, creates a new directory for that user, sends the user a code, and then the user has to enter the code to validate that he/she is real. First question is about the code that is emailed: a random number is created and sent to the new user. The ...

Can I use Python to run html

hi there. i am writing an HTML editor and would like to make a section so that you can view how it would look in web browser directly in the program is this possible? Thanks so much ...