HTML Programming
HTML Programming forum covering discussions of HTML and XHTML, as well as HTML-related issues such as writing W3C Compliant code. Use HyperText Markup Language for building websites.
XHTML <script> inside <body>?
I fairly believed that I should put all SCRIPT elements within the HEAD section. I was told this was for reasons of tidiness and because it's how it should be done according to standards. It's been some time since I started working like tha...
answer(2) view(817) status(

)
I-Frame making my AP div disappear
Ok I have a page which has and Absolute Positioned Div and an I-Frame, it's fine in IE (v 6 at least) but in Opera (7) where the Div overlaps the I-Frame it disappears behind the the I-Frame.
I've tried putting z-indexes on both the I-Fr...
answer(1) view(526) status(

)
window.showModalDialog href links
I'm creating a web application and have been looking at the JavaScript function showModalDialog to display a properties page.
I want the properties page up front, and unable to go back to the main app withouth closing the properties.
...
answer(9) view(705) status(

)
Wrap text inside <td>
How to wrap a long text (without space) inside a <td>
HTML is something like
Code:
<table width="50%"><tr><td>
hellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohe...
answer(3) view(1,207) status(

)
Whats this for? <META NAME=DCSext.site
I cam accross a site with an interesting way of loading.
The site is plusfortyfour.com (awesome band!).
The Tag in question is <META NAME=DCSext.site CONTENT="+44">
I couldn't find anything searching for it.
I am n...
answer(4) view(647) status(

)
Missing Recipient "Form Dump" in FormMail??
If someone wouldn't mind, I would be greatly appreciative if you would look at my code and helpy me figure out why I am getting this message instead of it working. I placed all the code here, also if you see any other glaring problems, I a...
answer(2) view(663) status(

)
Onsubmit: validate form then open new window
I have been reading several messages about this, but none seem to be exactly what I need.
I have a page that when submitted, validates the form and if OK it will then open a new window.
The Validation works, but the open window does n...
answer(1) view(721) status(

)
Getting picture width/heigth through file field?
I have a form with a file field that is used to upload pictures to my webpage.
I want to make a javascript that makes it impossible for users to upload pictures bigger than 1mb in size and not wider or higher 300px.
So how can I get the p...
answer(1) view(106) status(

)
answer(11) view(757) status(

)
maxlength in textarea
i need to limit the maximum number of characters to 500, but cant use javascript,
can any one please help me
answer(0) view(25) status(

)
inline frames and opacity
Hey guys, im working on a page that has an inline frame within the main page. in the main page i made a a nice picture in photoshop that fades into white, the background of the site. Using some scripting i was able to make the background ...
answer(2) view(1,016) status(

)
BarCode reader problem
Hello,
I have got a barcode font called "free 3 of 9" it prints code39 barcode. My question is: Why the barcode reader could not able to read the printed HTML document printed which its font is a barcode. while it can read any pr...
answer(2) view(309) status(

)
z-order of acrobat activeX plugin
Hi@all,
I want to display a pdf document and two div's in a way that allows the user to drag the div's together with the images displayed over the screen. All well, but if I drag the div's over the pdf document, they drop behind it. I al...
answer(6) view(1,054) status(

)
Mozilla doesn't support parentElement?
Code:
<script>
function test(obj) {
alert(obj.parentElement.id);
}
</script>
<table>
<tr id="tablerow">
<td id="tablecell" onMouseDown="test(this)">hi
...
answer(4) view(887) status(

)
How to: RESET Form on Load?
I have a search form and I want all the fields to be reset everytime the form/page loads.
Is there a onLoad command that I can attach to the Reset button?
Thanks in advancd.
answer(4) view(642) status(

)
populate dropdown boxes on request without iframes
I have a table with 3 cells, side by side. Each cell has a dropdown box. The first dropdown is enabled, but the other two are disabled. This is what i want to accomplish:
The user selects a category from the first dropdown. After that,...
answer(9) view(126) status(

)
Frames: offset caused by the scroll bar
Hi! I was wondering if anyone could answer this question for me. I am making a frames page, with two rows. The top row i don't want to scroll, but the bottom i do. Here is the problem: the bottom frame is now offset because of the presen...
answer(1) view(524) status(

)
My script seems to lose it's memory...Help me?
Hi, I could really need some help on this one!
My script loses it's memory at some point, can you find why?
This script is supposed to
A) detect the visitors OS
B) Determine wether it's IE4+, NS4+ or whatever below version 4
C) Load the...
answer(0) view(716) status(

)
How do I onMouseOver?
Hi
For the life of me, I can not find a book that tells me how to change the color of a link when someone moves their mouse over it. Could you guys help?
thx
Josh
answer(4) view(477) status(

)
answer(0) view(989) status(

)
IFrames Problem
I'm having a problem with a page which is using an iframe (in IE 4.0) to load external content. The basics work fine, but when I click on a javascript link (i.e. <a href="javascript:..."> ) inside the iframe document, the c...
answer(0) view(187) status(

)
zoom in/out of dwf
URL I found the problem. I needed to declare the variables within the functions. URL
I have a page with an embedded autocad dwf file, and a form with buttons to zoom in and zoom out. I've used the following script with the onClick event:...
answer(0) view(814) status(

)
Baffled
Okay webmasters, please put your wizard hats on and work your magic.
I have a great little slide show that I am working on. I just about have
it done, but I have a problem that is driving me nuts!!!
The problem is my "back" butt...
answer(4) view(215) status(

)
Links Don't work
Can someone help
I have been using Composer to create a web site. When I review my site all the links and pictures work. When I go to publish they won't work. I get a message that the targets are on my hard drive. Isn't everything
Any idea...
answer(3) view(199) status(

)
picture perfect
Is there any way to force a picture up against the edge of the browser window the same way it does when you place it as a backround image.
I need to make two halves of the same image in two different frames push up against each other so th...
answer(4) view(55) status(

)
Radio Button size?
We are working on a project to place one of our online surveys into a kiosk network using touch-screens for input. The problem that we are running into is that the standard/default Radio buttons are too small for a person to easily hit usin...
answer(3) view(675) status(

)
Form Validation
hi, i'm mariana
i need to validate the checkbox or a drop out menu in the form.
I have 3 checkboxes and the user will choose just one, but how do I make sure that the form cannot be submitted unless they checked one of the boxes?
please, he...
answer(2) view(871) status(

)
dump form contents to cookie
Hey folks!
I need to dump all the contents of a form to a cookie for later use. Multiple forms will write to the same fields and I want the cookie to remember them. Seen it done or referenced anywhere?
answer(0) view(932) status(

)
Frames & JScript: N'Scape v. IE
1. I want to create a split screen effect with dimensions and content that aren't static, so I'm using variables declared in JScript as HTML attributes for FRAMESET and SRC. My script seems to work with N'Scape 4.51 but not Exp. 5.0:
http...
answer(0) view(806) status(

)
HTML Forms
I have a form that's in a table, containing a column with a checkbox for ordering the content displayed in that row. Beside the checkbox (in the next column) is a text box where the user can enter the quantity. In the form that posts, I see...
answer(1) view(454) status(

)