html

Electronic signatures in web pages

Hello, I have an ASP.Net application. It is an application where people fill out forms. Well, we would like for people to be able to sign the form electronically(as in, their hand written signature) so that the signatures are held in the server and displayed on the web page. Is there any kind of support for doing this kinda thing witho...

use javascript to intercept all document link clicks

how do I intercept link clicks in document? it must be cross-platform. I am looking for something like this: // content is a div with innerHTML var content = document.getElementById("ControlPanelContent"); content.addEventListener("click", ContentClick, false); function ContentClick(event) { if(event.href == "http://oldurl") ...

How can I filter a FileDialog depending on a dropdown selection?

I think this is a two-in-one question.. one, is: How do you filter valid file types in a FileDialog for a Html page? Im using ASP.NET MVC and currently showing the textbux/browse button this way: <%= Html.TextBox("Order.LoanInfo.FilePath", null, new { style = "width: 800px;", type = "file" })%> and the second is : How could you do to...

PHP Keeping HTML Clean

Hi, I've been working with php for about a year now and am finally starting to make some headway in my understanding of OOP. So, now that I'm writing classes I'm looking for the cleanest methods of working my PHP into my HTML. I essentially have written a few classes that output data stored in my database. For instance I'll instant...

Make a table with height=100% to properly contain a div with height=100%

Hi. I have a table with a height of 100% and a fixed position. Within it I want to have a div with height of 100% that gives scrolling on overflow. The trouble is the table starts behaving strangely if I put more content in the div than its height can take. The scroll do not appear as it is supposed to, and instead the table gets larg...

PDF to HTML conversion for web site

I am looking or a (preferably free) dll that can be used on a web site to convert pdf documents to html in a .Net IIS environment. It would be nice if it could accept the pdf as a byte array or file stream, and output the html as a stream suitable for Response.Write. It would really be great if the output HTML retained form inputs. Ha...

Best way to delete mysql rows from html page - delete link and php

I'm returning all rows in a table with a while statement and PHP. the rows indicate a list of items. I'd like to include delete links next to each item so users can delete the entries. I'm trying to figure how to go about it in PHP. Can anyone help me write the script.. I'm using procedural.. not OOP. I'm thinking the link takes users to...

Fixing problems on a site that only breaks on IE7

I did a new Drupal theme for my site based on the Zen theme. Since I am on Windows 7, I did testing with IE8, Firefox 3.5, and the most recent version of Chrome. The site looks great in all of those, but I just found out that it breaks on IE7. Unfortunately there is no way to put IE7 on Windows 7, so I'm at a loss for how I am going to f...

Newlines between HTML element attributes?

Greetings, I'm doing some template work on a personal project and I'm trying very hard to keep my lines under 80 characters wide. This is difficult to do with HTML, especially when adding code for dynamic content as well. There are a lot of cases where it would be helpful to put line breaks inside the elements themselves, between attrib...

how to minimize the effect of space or newline in HTML?

First of all, my question may be unclear. I will try to explain it. this is my html <div class="left"><?php print $search_box; ?><?php if (!empty($logo)): ?><a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo" width="243" height="62"...

A static row in an HTML table

I'm trying to create a file listing a la windows explorer in HTML/Javascript. As such, I'd like the first row of the table, which contains the headings for all the columns, to be visible even when the columns are scrolled. I've tried a few options involving placing the headings in a separate table, but all have failed for primarily one ...

Can I pass complex parameters to a Java Applet?

I'm really new to Java and I have to create an applet for signing documents electronically. The applet will be called from an ASP.Net web page application. Right now, I embed the applet in page as a <object id="EDOCApplet" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"> and send parameters to the applet like this: <PARAM id="Edo...

Html: Should the h1 tag be used for the site title or the page title?

In the past I have often put the site title in an <h1> tag, and then the main page title in an <h2>. Is this considered correct, or should the main page title be in the <h1> tag? If so, where do you put the site title? In a regular <div>? Or? What is the most semantically correct, and what is the best when considering things like access...

Why do I need Markdown?

Why do I need a Markdown with a front edit editor like WMD? What does the markdown do to the content that’s sent from the WMD editor? How does Markdown store the content in the backend? Is it the same way like *bold* or in some other format? Why can’t I just do an html encode? Sorry if I sounded very naïve. ...

How can I controle the visibility level of a div and make it see through?

Can I control the visibility of some div in my website and make to become see-through using CSS only? In flash it's done through controlling what is called Alfa so I'm wondering if such a thing exist in CSS! Edition 001 Can I control the opacity of the div's background only? So the text in the div wouldn't be effected? ...

Include HTML files in MS Word

Hi, is it possible to include normal HTML files in Word, so that they are shown in correct style etc. and not as normal text files? ...

Will there be star sizing in future versions of HTML or CSS?

In WPF you can set the width of a column to occupy the remaining space by setting the width to a star. Will there be something similar in future versions of HTML or CSS? Example: <div style="float: left; width: 50px;"> Occupies 50px of the page width </div> <div style="float: left; width: 1*;"> Occupies 25% of the rest of the page ...

jquery image slideshow with links per image

i'm in search of a simple jquery image flipper/fader, that will cycle through a bunch of images, each of them with it's own link. the flipper will be used like so: my client wants to display logos of his own clients in succession where each logo will link to the respective website. i know this can be implemented in flash, but i (and my...

How to make a CSS rule which applied on a div affect another div?

Is it possible to make the following in CSS: #subMenue { //this rule apply to a div with an id of "subMenue" height: auto; width: 113px; position: absolute; background-color: #B3B3B3; visibility: hidden; } #menueLink:hover { //this rule apply to another div with an id of "menueLink" //make the div that is effected by *#subMenue* rule ch...

CSS - :hover is slow/laggy in IE7

This is really strange. I've got this site where I have a list menu with a simple :hover effect on each item in the menu. http://w3box.com/mat/ In Firefox it works just fine. But i IE7 atleast there's a lag. I haven't tested it in IE8 but my guess is that it's there as well. Now, I've been trying out veriations to the code to see wh...