A well known problem with Java Applets in webpages is that browsers ignore the z-index of the applet tag vs. other components in the page. No matter how you position and z-index elements in the page, applets will draw themselves on top of everything.
There is a workaround, known as the iframe shim, is described here: http://www.oratran...
It's another Visual Studio 2008 HTML formatting question...I think I have either found a bug in the infamously bad VS HTML formatting, or I'm doing something wrong. Here's what I'm doing:
I remove all client side tags via:
Tools -> Options -> Text Editor -> HTML -> Format -> Tag Specific options
I then add b and span tags:
I press...
I have a js file like:
function loadXMLDoc(fname)
{
var xmlDoc;
// code for IE
if (window.ActiveXObject)
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation
&& document.implementation.createDocument)
{
xmlDoc=document.implementat...
I am working with a dataset, and will be returning both positive and negative currency figures. I already have a parenthesis around it. How do I get only the negative numbers in the gridview to show up in red? Can I do this on the HTML side?
...
I was under the assumption that if I disabled a div, all content got disabled too.
However, the content is grayed but I can still interact with it.
Is there a way to do that? (disable a div and get all content disabled also)
...
I have the following HTML and I would like to display a blue background behind the buttons and text. Unfortunately, with the following code, the blue background disappear. If I remove the CSS for the ids buttons and text, the background is back.
What am I doing wrong?
Thanks!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...
I'm at a loss here--trying to come up with the best way to embed a video in a web page such that it can start playback at a specific frame number programmatically (not a simple timeline bar like youtube).
...
What's the "correct" semantic way to specify image height and width? In CSS...
width:15px;
or inline...
<img width="15"
?
CSS seems like the right place to put visual information. On the other hand, few would argue that image "src" should not be specified as an attribute and the height/width seem as tied to the binary image data...
Let's say I have a method that takes a little to long to finish to go without any user feedback at all. In my case it's sorting the rows in a table element (all in the DOM; only takes too long if there are a lot of rows), but it might do anything. I want to show the "progress" cursor while it runs. Here is what I have currently, but I...
I'd like to do this in JavaScript. To clarify, I mean a page. Sorry about that.
...
Slippy maps are web widgets which allow the user pan around a two dimensional plane by grabbing and dragging it. This control was made popular by Google maps, and can be seen on many modern mapping systems today. It's obvious as you watch them load that they are actually a grid of images which are loaded as-needed as the user pans. My qu...
I'm looking for a "diff to html" program, which would generate a static html page from a given diff/patch file.
I've googled for it of course, but apart from some scripts I've found there's no "real project" (e.g. no package in Debian/Ubuntu).
Have I missed something? Can you recommend anything?
...
Two parts to my question:
1) Is there a way to inherit another control's attributes and styles in CSS? Assume the controls have no parent/child hierarchy and can be completely different control types:
IE:
#MyFirstControl
{
width: 100px;
}
#MySecondControl
{
width: MyFirstControl.styles.width; /* This doesn't work */
}
2) Assume...
In Django / Pinax, I've come across the login form which starts like this :
<form class="login" method="POST" action="">
It works perfectly well. So I assume that either some java-script or something in the Django framework is putting the value into the action attribute. So my questions ;
a) How does Django insert the action?
b) Wh...
How do I return .html files or .xml files that are in folders in the view? I'm using jquery which request a static Html file via ajax and insert the results into a div and it keeps giving a 404 error any idea?
Thanks
...
I want the font color to change in a textarea as I type in specific keywords, like in Visual Studio.
I have not seen this anywhere, so I don't know if this is possible with HTML and JavaScript.
Has anyone seen anything like this? Or know how to write it?
...
From an input text I need to call a function to capture the onkeydown event and I need to pass a parameter to that event, for example:
<input type="text" onkeydown="TextOnKeyDown('myPrefix');" />...
Then in that function I need to know what key was pressed. I use
function TextOnKeyDown(prefix) {
var key = event.keyCode;
...
...
I'd like the image to bleed into the container div.imgborder and i'd like the bleeding to be semitransparent (like an opaque glass effect). Is there a way to achieve this via CSS or maybe setting an image background with some opacity on the div.imgborder?
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN'
'http://www.w3.org/TR/h...
I came across an interesting problem today. I have a text email I'm sending from a Web page. I'm displalying a preview and wanted to put the preview in a fixed font retaining the white space since that's the way the plaintext email will appear.
Basically I want something that'll act like Notepad: the newlines will signal a newline but...
I am using a splash page for a random full page ad.
It was downloaded from dynamic drive web site, but it wont work.
Can any body show me any other scripts for splash page ad display.
...