dhtml

html form with dhtml fade effects

i am trying to implement an html form with this dhtml fade effects: http://dhtmlpopups.webarticles.org/fade-effects.php but i got no luck. -i included a jquery validation in the fade effect, and when the user is entering values for the form, the pop-up times out, and when i redirect to "success page", i am pretty much unable to click ...

Rails-friendly DHTML grid?

I have an Excel-based UI that I'd like to replicate as closely as possible in a Rails view. I'm looking for a DHTML grid control that ... can be easily formatted (w.r.t. column width, font size, etc.) is responsive (the page will have up to 200 columns and 200 rows) can have cells containing select controls has good Rails integration (...

Is automatically assigning focus bad for accessibility?

If I have a form that is the main part of a page's content, will assigning focus to the first form field via JavaScript on page load have any negative effects on accessibility? ...

How to perform Zooming with CHtmlEditCtrl in MFC

Can anyone help me to perform zooming on CHtmlEditCtrl ? I displayed my html document on CHtmlEditCtrl. Now I want my edit control to display same html document with different zooming level. I saw this feature in InternetExplorer8. Now I need to add this zooming feature to my MFC application. ...

jQuery: A widget or plug-in to create text balloons

I need to create some balloons that will contain text messages, similar to what you would see on a BBS or a blog comments area. I am not looking for a tool-tips widget - There will be several per page and they will always be displayed. My requirements: Drop shadows, if possible, using images instead of the box-shadow style for compat...

JS or any other language hook on loading resources in a HTML page

What I am trying to accomplish: HTTP GET the contents of a site (say google.com) Then have some sort of hook or filter that will catch all resources that this page tries to load (for instance the CSS files, all JavaScript files, all images, all iframes, etc) The first thing that comes in mind is to parse the downloaded page/code and ...

Dynamic HTML to PDF

Hi guys I need to be able to convert dynamic HTML (html that is rendered on page load by javascript) to a PDF. I know there are plenty of HTML to PDF converters but none of the ones I have found thus far cope with dynamic HTML. The given tool should be able to successfully convert the following page - http://www.simile-widgets.org/tim...

Canceling event bubbling on specific elements - javascript

Basically, I want to make clicking anywhere on a page except in an input field and on one block level element (an by extension all children there in) erase said input field. So I put an onclick event on the whole document. To keep the conditions above I put conditions before the clear instructions to only do it if the event did not ari...

How is it done "Manage this list" on amazon ?

I'm specifically looking, how is the hover on done? and what did they use? JavaScript? Jquery, DHTML? and does anyone have example? Now, I'm new to web programming. (but not new to programming, I'm c++ and c# prg). I'm looking into getting web dev. for personal use. I saw this amazon feature and thought to myself that it would be nice to...

DHTML Drop Down Menu

Hi I need to generate Dhtml menus. but i want to use a tool. does anyone know what FREE tool should I use? I used CoffeeCup Dhtml menu builder but i does not compatible with IE. ...

How to create Editable Dropdown List with Dictionary Option using JavaScript?...

Hi Guys, Eg:-- When I type "A" all the elements starting with A should be displayed... If "B" then elements with B....etc) Ex: <asp:DropDownList ID="ddlLocation" style="width:140px" runat="server"> <asp:ListItem Value="1" >India</asp:ListItem> <asp:ListItem Value="2" >India - Hyderabad</asp:ListItem> <asp:ListItem...

Show an element relative to another with jQuery

I am working on an interface that requires that the user can click on a button, and then I will show a floating div positioned relative to the button (you can kind of think of it as the area that shows when you click the down arrow on a dropdown). How can I correctly position this floating element adjacent to the button which was clicke...

Refresh and Populate Dynamically Added Rows

I have a button that, when pressed, will add a new HTML row. Within these rows are two combo boxes: cboOffsetGroup and cboOffsetType. Depending on what is selected in cboOffsetGroup, the options for cboOffsetType will change. I do this using a refreshPage() function in Javascript. It works fine in the first row, but in the subsequen...

Editing clipboard data when copying/pasting from a website

I have seen a few sites now where if you highlight text of an article, copy it, and then paste in they can add more text to it. Try copying and pasting a section of text from an article at http://belfasttelegraph.co.uk/ and you'll see what I mean - they add a link to the original article in the pasted text. How is this done? I'm assum...

how to get selected value from dropdownlist in asp.net using javascript?

Hi Guys, i am populating country dropdownlist from database.i need to select a value from dropdown list and assign it to textbox by using javascript. Code: var textboxId = document.getElementById("txtCountry"); var dropdownListId =document.getElementById("ddlLocation"); var e = document.getElementById("ddlLocation"); var strUser ...

Lookup element by id within a DIV not injected in DOM

I have a DOM element in memory that is yet to be injected in the page DOM. I want to lookup an element by id inside this DOM element but document.getElementById wont work as the element is not yet in the page DOM. Any ideas on how to do this? P.S. I know one approach is to use element.querySelector() but since IE7 doesnt support it,...

DHTML library for handling pictures and videos using AJAX

This is based on my full question. I decided to take it in parts and see if I still can't get any help. What are all the options we've got for client-side frameworks? I've heard mostly about prototype and jquery, but I know there are way too many options out there beyond those two, and I don't know if they handle async download. From ...

How can I select a range of td's in a table with javascript area selection?

Hello all, I looking for a script that will enable me to select an area in a table (using the mouse), something similar to this script - http://odyniec.net/projects/imgareaselect/. What I need to do is to select some td's with an identical area effect as used in the imgareaselect above, and manipulate the containing data. Any ideas? ...

IE8 v8 not changing class for a DOM element despite JS function changing the element attribute

I have an on-screen keyboard in order to provide a safer input for passwords. The keyboard itself is placed like this: <div class="teclado_grafico" id="teclado_grafico"> <a class="tecla_teclado" onmousedown="teclaAction( this, 'caja_selector'); return false" style="top: 0px; left: 0px;">Q</a> <a class="tecla_teclado" onmoused...

How to get target element of keypress in designmode iframe

Is it possible to get the target element in a keypress event handler in a design mode iframe ? I know it can be done in the mousedown event handler (by accessing event.target), but in the keypress / keydown handlers event.target is always the iframe element. For example, with the following html, if the user types into the div where it sa...