html

jQuery's mousemove does not fire on blank div in ie6.

I have some divs with just a width, height, and border. I am using: $(".the_divs").bind("mousemove",function(ms){ do_stuff(this); }); My divs do not have any background css set (so you can see what is behind them). However, ie6 only fires the mousemove event when the mouse is over the border of the div. So, if you quickly move th...

Why does Internet Explorer show this site centered versus Firefox or Chrome?

I have built a website and when my users load up http://info.salemgolfclub.org/Account/Logon the username and password user entry controls show left justified in the panel in Firefox and Chrome but Internet Explorer shows them centered in the panel. I want Internet Explorer to show left justified as well. How do I determine what Fir...

Set HTML input checkbox name in listview

I am trying to add a checkbox in a listview with value as ids of the records from the database so I can allow the user to check the ones they want to delete and when they click the delete button I can get value collection of checkbox with request.form. My problem is, because checkbox in a listview ASP.NET renders the listview name into ...

IE Opacity Issues with Z-index

Hi Guys, I have opacity working in ALL Browsers except IE - the problem in IE (6,7,8) is that the color renders as a SOLID :( The CSS I am using is legit per the MS Blog Post on IE Opacity Filter -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=75)"; filter: alpha(opacity=75); The weird thing is that I have my eleme...

HTML element size issue

<SPAN>Instuction » &nbsp;</SPAN><INPUT id=inst10008 size=38><A jQuery1249838079711="50"><IMG style="FLOAT: right" border=0 alt=select src="../../Content/image/selectbutton.gif"></A> I have above in div so it is like "TEXT TextBOX Link" Link is floating right so would be at end Issue is i need textbox size to fill all available space...

How to convert a PowerPoint slide into HTML?

Hey guys, I am trying to insert PowerPoint slides into HTML preserving links in the PowerPoint slide. I was just wondering if any of you knew a good method to maybe exporting a PowerPoint slide to an HTML and then displaying it in a div on your page, with a link to say do a JavaScript function on that same page. ...

How to have a default option selected in a dynamic pull down menu?

I have a drop down menu that I am dynamically populating based on values in a database table. The code looks something like this: <select> <option value="" selected="selected">Select Option</option> <?php foreach($var as $row): ?> <option value="<?php echo $row->value;?>"><?php echo $row->value;?></option> <?php endforeach;?> </sel...

Tools for data mining hand-written html

I need to convert a large website from static html written entirely by humans into proper relational data. First there comes a large amount of tables (not necessarily the same for every page), then code like this: <a name=pidgin><font size=4 color=maroon>Pidgin</font><br></a> <font size=2 color=teal>Author:</font><br> <font size=2>Sean ...

Added Characters on POST

I have simple form posting to another file. The problem I'm having is with TEXTAREA field. In the form TEXTAREA, I enter this: <h1 class="padlock">Member Login</h1> and the Output is on the other page when echo with PHP: <h1 class=\"padlock\">Member Login</h1> It's automatically escaping characters. I'm displaying the output in a...

Is there an equivalent to doclifter that goes from (X)HTML to DocBook?

I was thinking about creating a nice browsable HTML version of my manpages and it turns out that doclifter does just what I want via the manlifter program, since it can lift TROFF into DocBook. However, it got me thinking that it would be quite useful to have a similar library that could lift (X)HTML into DocBook, because operating on t...

How check for ID existence using jQuery?

I want to have a line of code similar to below: var name = $('#input-name').attr("value"); However, the id 'input-name' is not guaranteed to exist. How do I check for its existence so that the assignment does not throw an error? ...

HTML form method="HEAD"

I've never seen this before, I've always known there was either GET or POST. And I can't find any good documentation. GET send variables via the URL. POST send it via the file body? What does HEAD do? It doesn't get used often, am I correct? W3schools.com doesn't even mention it. ...

should i use the web framework for implementing a bunch of external links that likely won't change?

i'm building my webapp using the wicket java web framework. there is one page that i'm building right now contains 20+ external links, a lot of them are pointing to the wikipedia pages. i'm currently hardcoding the url for all these links in the html page. i could definitely add these links by using the framework (wicket has a class fo...

HTML: How to halt image loading on link click

I have a page with a few hundred images. If the user clicks a link while the images are loading, the page isn't refreshed until ALL the images are loaded. A savvy user presses ESC and then clicks the link, but I can't expect my users to do that. Is there a way to get all other actions to take precedence over the image loading? Do I have...

Maximize iFrame (so it appears to be the request page)

Hello, how can I (cross-browser compatible) maximize an iFrame so that it appears to be the page in the URL bar even though it is served from a different server? ...

Framework for (HTML + JS) Desktop Client

Hello, I plan to write a Desktop Client for Windows and Mac. It will be powered by web techniques (HTML + JS). Therefore it shall run on a WebKit engine on the user's desktop. Recently, I saw an interesting approach for this issue: Appcelerator I love its basic concept, but I don't want be dependent on their services. Instead I want to...

When injecting text inside a div, I need to insert a url safely in javascript using jquery

Hi, Using jquery I am doing something like: $("#someId").append("this is some text, go here."); How can I insert a url like this safely? Is there an easier way to escape all those characters that will cause js to break? ...

Pre-populating a form default value with a calculated value

Hi, I need to populate a text box with a calculated date and can't get the calculated value to appear. e.g. the text box should default to today's date + 5 days. I have java script doing the calculations and they are working, and I know that I use the "value" attribute for the text box but am unsure as to the syntax to parse the java scr...

Show progress without using an image

I would like to design a progress bar, without using an image (eg animated gif...). Can this be done with just html css and jquery? trying to be creative here :) Update: the progress percentage cannot be determined, so it has to be a loop ...

Avoid duplication of form input element ID in Django.

When two forms on one page have the same-named field, Django will generate invalid HTML: <!--one form --> <input id="id_name"..../> ... <!--another form--> <input id="id_name".../> Invalid because two or more nodes share the same id. How can this be avoided? Thanks. ...