dhtml

What books to start on web programming for an experienced non-web programmer?

No surprise here, possible dupes: Good Books for Learning Web Programming Required Reading for a Soon to be Web Developer and there will be more. For a personal project, I'm starting to do some web programming using Django. I've programmed since I was very young on several languages, mostly Pascal/Delphi, C/C++, SQL Pyt...

Country/State Dynamic Drop Down List

If you go to http://profile.microsoft.com and edit your personal information, you will select your country. When a country is selected the city and/or state information changes based on what is expected for that country. Does anyone have any examples on how to accomplish this? Is there any service (free service) that provides this inform...

What DOM manipulation can be done on Text nodes?

I'm going through the DOM using childNodes and I have a reference to a Text node, and I need to modify its "inner HTML" .. but I tried and it does not work or have such a property. Apart from replaceChild(), what functions can I use to manipulate the inner HTML of this Text node? ...

How can I find out what div a div is in with javascript?

I have a page which will contain 4 static divs with IDs. I will be adding scriptaculous dragable and droppable effects to allow interaction by moving many dynamically generated divs from one div to another. I need to be able to find out which of the static divs the dynamic divs are in. How can I get this information? ...

CSS issue: a:hover not working with IE (css Ninja needed)

Why does IE not change the background color on my site for tabs a:hover but does so in Firefox/Chrome/Safari correctly? What can I do to make it work in IE 6+? HTML <ul class="tabbernav"> <li class="tabberactive"><a title="All" href="javascript:void(null);">All</a></li> <li class=""><a>Tab1<span class="tabTotal"> (0)</span></a></li> <...

z-index not working in IE

Hi friends, I have a button, while clicking the button i just produce a div containing some checkbox. If the user select the required checkbox, it will produce a iframe according to the value of the checkbox and the div will disappear. Its placed immediately below the button. Up to this its working fine. If the user again click the butt...

Draggable div issue in IE7

This example uses mootools but I see the same behavior with scriptaculous. I have a div with some content, in this case a single X and there's plenty of white space around the content. I make the div draggable but I find it's difficult to drag the div in IE. In IE I need to click and drag directly on the content of the div, the single...

How does gmail dictate if an attachment is to be rendered or downloaded?

I'm curious what the methodology is behind the way that gmail (in their web client) offers a "view" and "download" links right next to each other for things like an attached .jpg file. I have found that the browser generally decides how it's going to handle such things based on the file's extension or mime type, but in this case, you ha...

In jQuery, how to attach events to dynamic html elements?

Suppose I have some jQuery code that attaches an event handler to all elements with class "myclass". For example: $(function(){ $(".myclass").click( function() { // do something }); }); And my html might be as follows: <a class="myclass" href="#">test1</a> <a class="myclass" href="#">test2</a> <a class="myclass" href=...

Is it possible to modify a web page as it's loading?

I have a Perl script that generates a web page. It takes a non-trivial amount of time to run. I would like to be able to render a complete HTML table to the user so they know what results to expect, but fill in the details slowly as the Perl script generates them. What approach should I be taking here? My initial assumption was that I ...

How to make an Ajax loader follow mouse?

I want to have something on my site that follows the mouse around, sort of like how Windows 7 does it. Like in Windows 7 when something is loading up a little circle comes and follows the mouse. I am using the jQuery library so I know I can use Ajax Start and Stop to make it appear but am not sure how to make it follow the mouse around...

Can anyone suggest a good open source HTML parser to be used with java?

Hi I would like to know a good HTML parser for both static and dynamic HTML in java. It needs to be light weight as it is to be used on a mobile application . Is there anything already present? ...

Dashboard Widget in the AJAX format

We are looking for a rich dashboard component. Ideally, we do not want to use Flash technology but instead something implemented with pure AJAX. While YUI offers an excellent AJAX library and it offers a lot of rich UI components it does lack, to my knowledge, sophisticated widgets like dashboards. For sure, such components can be foun...

WYSIWYG HTML editor for custom cms

Hey guys, Am looking for a good and easy to use WYSIWYG HTML editor that i can integrate into a CMS that am currently developing for a client. Am developing the CMS in PHP and is web-based. The editor will have both visual and code view. Thanks for ur help. ...

Menu javascript/dhtml

Does anybody know a good free javascript/dhtml menu with vertical alignment, supporting multi-level options, expanding on hover? Tks in advance ...

iframe as textarea?

I have an iframe in an HTML page, how can I cause it to act as a textarea? ...

YUI Hello World

I'm trying to do some experimental stuff for which YUI looks like the best solution. The Getting Started documentation is all written on the assumption that you already know how to use YUI and only need to find out how to use specific components. Is there any documentation available that tells you how to go from an empty public_html dire...

Replace JavaScript with ActionScript in DHTML

I need to write a DHTML page. But, since I have most of the code inside an AS3 library, I want to use ActionScript instead of JavaScript to do the most of work. In this case JavaScript layer (if any) would be just a write-once abstract proxy. I know about ExternalInterface stuff, but I want something more high-level, which would ease cr...

How to make swappable div 'ui cards' with jQuery?

For example if you had a wizard that had step by step directions asking for information, each div would have the controls needed for each step (only one div shows at a time). Then you would swap through them one by one, hence going through a multi-step process all in one page load. Is this pretty easy to do in jQuery? Could you have one ...

Flash movie rendering on top of dhtml menu

How should one go about placing a flash movie beneath a dhtml menu? On the following page: http://bit.ly/aZai8 , the flash movie appears on top of the dhtml drop down menus in Internet Explorer. This does not seem to be an issue in more civilized browsers. ...