html

How to create list of checkboxes

How to create a list of checkbox and retrieve selected checkbox value in javascript ...

Large HTML Form - User Experience and Accessibility

Hi, i have a large form with a lot of fields. I used fieldset on it. How could I create a better experience to user/accessibility with this large form? I think about split it. What do you think about it? ...

A simple web page form input/output question

Okay so a part of the web page that I'm currently building on Dreamweaver CS4 requires this: (Its for grocery items in a supermarket) Visitor types item name into a textfield, hits the submit button. The html page for that specific item will be displayed inside an IFrame below. The html page names however are named in their respective ...

valitade zend framework's output

I use xhtml1-strict.dtd and validator.w3.org not validate Zend Forms. Tell me how you can validate Zend's html use $view->doctype('XHTML1_STRICT');, but is work only for FormText View Helper :/ example Zend output: <input type=""> I need: <input type="" /> ...

Trouble with Image Maps, Safari, and Gmail for HTML email

I have a quirky problem -- I'm sending an html email that contains some image mapped links. My problem surrounds Gmail and Safari. Strangely, emails when view from Gmail (and their image maps) function fine in Firefox, IE, and Chrome. But, for some reason -- none of these same image mappws links work when viewed with Safari. I'd...

Div not resizing

Any idea why my web page content doesn't resize with the window? I'm not using fixed position - just a table with width="100%". I've put it in a placeholder ...

Access SVG inside HTML

Hello, I use SVG inisde my xhtml file. I can not get access to the text with id="Wert". What is wrong, I want to change the color form blue to red. Untitled Page <script type="text/javascript"> function OnLoad() { setTimeout("timer()", 1000); } function timer() { var randomnumber = Math.floor(M...

jqeury: best way to place dom element in the center of viewport

hello! i'm looking for a proper way of placing popup div-elemnt in the center of current view area. for example: we have some div element with {display:none; position:absolute} and few buttons, one on the top of document, second in the center and last one, somewhere in the bottom. By clicking on any of this button, div should appear in t...

How to set width and height dynamically using jQuery

I would like to set the width and the height of the div element dynamically using jQuery. I was trying to replace <div id="mainTable" style="width:100px; height:200px;"></div> with this: $("#mainTable").css("width", "100"); $("#mainTable").css("height", "200"); but, it does not work for me. Please help to understand why. Thank y...

Accessing contents of NativeWindow in a HTML AIR application?

I'm currently building a HTML/JS AIR application. The application needs to display to the user a different 'window' - dependant on whether this is the first time they've launched the application or not. This part is actually fine and I have the code below to do that: if(!startUp()) { // this simply returns a boolean from a local prefere...

How to get the dimensions of the scroll bars ?

I have an HTML table that contains lots of rows and columns. Therefore, it has vertical and horizontal scroll bars. How can I get the dimensions in pixels of these scroll bars in Javascript/jQuerys ? ...

Access <body> tag properties from form found in mediaboxAdvanced lightbox.

I am building my portfolio website simply using HTML, Flash, and the Mootools Javascript framework. I have decided to implement a theme changing feature using Javascript and cookies. When the user clicks on the "Change Theme" link, a mediaboxAdvanced lightbox appears, containing a real-time form which allows you to change the theme on th...

AJAX HTML PHP question

This is my scripts.js function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlh...

CheckboxList to display aligned?

Hello, I made a CheckboxList and it will not line up. I don't see any way to control the generated HTML. Right now, the check boxes do not align due to the widths of the <td> of each checkbox label being an automatic width. How can I set the width of this and make all the labels and checkboxes appear in two vertical aligned columns? My...

need to align part of list item to right of li - using CSS3 Jquery column-layout

Using this jquery script to acheive CSS3 3-columns, to display a list of members alphabetically. I need it to display this way, which is does: A D B E C F Here is what I am using http://www.csscripting.com/css-multi-column/example6.php? (using this js file http://www.csscripting.com/js/v1.0beta/css3-multi-column.js) To the rig...

Delete from array help

I have a cookie which stores info in an array. This is for a classifieds website, and whenever users delete their 'ads' the cookie must also be removed of the ad which was deleted. So I have this: if (isset($_COOKIE['watched_ads'])){ $expir = time()+1728000; $ad_arr = unserialize($_COOKIE['watched_ads']); foreach($ad_a...

beginner's question about CSS

Hello, I am creating a website and i want to allow personalization to individual users upto some extent like changing font family, background color etc. The problem with this is that, my default css file that i load has already default classes for everything. Now when i fetch the background color from my database, then if there is null ...

firefox object height ignored when data

I have a flash video loading in a modal window. It works in others browsers but not Firefox. Firefox opens the modal window to the correct width of the object, but with no height. I have come to learn that Firefox does not recognize <param> and instead uses the data attribute. However, when I remove this attribute, the modal opens with c...

Is there a flash or javascript Solari Board available for use on a webpage?

I'm working on a web page which will display information updated periodically via javascript. I want to have it displayed in a Solari Board, complete with the flipping tiles animation. Is there an existing Flash or Javascript implementation I can use? Here's my super-lousy javascript test for one letter. The solution should take a str...

clean html a string by element id using php

Hi, as you can see by the subject am looking for a tool for cleaning up a HTML string in php using a HTML id property, example: According to the following PHP string I wish to clean the HTML erasing the black11 $test = ' <div id="block1"> <div id="block11">Hello1 <span>more html here...</span></div> <div id="block12">Hello2 <s...