Questions tagged [dhtml]

Dynamic HTML, or DHTML, is an umbrella term for a collection of technologies used together to create interactive and animated web sites by using a combination of a static markup language (such as HTML), a client-side scripting language (such as JavaScript), a presentation definition language (such as CSS), and the Document Object Model.

Dynamic HTML, or DHTML, is an umbrella term for a collection of technologies used together to create interactive and animated web sites by using a combination of a static markup language (such as ), a client-side scripting language (such as ), a presentation definition language (such as ), and the .

DHTML allows scripting languages to change variables in a web page's definition language, which in turn affects the look and function of otherwise "static" HTML page content, after the page has been fully loaded and during the viewing process. Thus the dynamic characteristic of DHTML is the way it functions while a page is viewed, not in its ability to generate a unique page with each page load.

By contrast, a dynamic web page is a broader concept — any web page generated differently for each user, load occurrence, or specific variable values. This includes pages created by client-side scripting, and ones created by server-side scripting (such as , , or ) where the web server generates content before sending it to the client.


Resources :

747 questions
22
votes
15 answers

What do you call DHTML these days?

So lately I've been catching a lot of crap from a junior developer whenever I use the term "dHTML". I know the term is dated, but it's descriptive of what the task is: changing rendered markup on the client. I cringe whenever I see the term "Ajax"…
FriendOfFuture
  • 2,608
  • 1
  • 21
  • 21
17
votes
5 answers

Boolean HTML Attributes

There are some attributes in HTML which are "boolean" - browsers treat them as "true" if they are present, regardless of the value. An example of such an attribute is selected on the
levik
  • 114,835
  • 27
  • 73
  • 90
17
votes
2 answers

How can I force reflow after DHTML change in IE7?

I have a page where the user can dynamically add file upload boxes. Adding the boxes changes the height of the div they are in, but certain elements of the div below it stay in the same place, so they start to overlap with the new DOM…
Freewalker
  • 6,329
  • 4
  • 51
  • 70
17
votes
4 answers

Is MVVM possible/viable in a DHTML RIA application (no Silverlight/WPF)?

Note: This is a long winded question and requires a good understanding of the MVVM "design pattern", JSON and jQuery.... So I have a theory/claim that MVVM in DHTML is possible and viable and want to know if you agree/disagree with me and why. …
Amir
  • 9,091
  • 5
  • 34
  • 46
16
votes
5 answers

Is it possible / recommendable sending HTML emails containing Javascript?

This is mostly a rhetorical question, as far as I've checked the answer is 'don't even bother', but I wanted to be really sure. We have an email app, where you can send email to lists of subscribers. This is not spam: it's used, for example, by an…
Adriano Varoli Piazza
  • 7,297
  • 5
  • 39
  • 50
16
votes
7 answers

Best Javascript drop-down menu?

I am looking for a drop-down JavaScript menu. It should be the simplest and most elegant accessible menu that works in IE6 and Firefox 2 also. It would be fine if it worked on an unnumbered list (ul) so the user can use the page without JavaScript…
Germstorm
  • 9,709
  • 14
  • 67
  • 83
14
votes
10 answers

Best server-side framework for heavy AJAX Java application

There are zillions of Java web application frameworks. 95% were designed before the modern era of AJAX/DHTML-based development, and that means these new methods are grafted on rather than designed in. Has any framework been built from the ground up…
Jason Cohen
  • 81,399
  • 26
  • 107
  • 114
14
votes
3 answers

How can I dynamically create a tweet button?

I'm currently trying to create a tweet button with the horizontal count feature dynamically: JavaScript var twitter = document.createElement('a'); twitter.setAttribute('href', 'http://twitter.com/share'); twitter.setAttribute('class',…
Jack
  • 15,614
  • 19
  • 67
  • 92
14
votes
8 answers

Jquery-ui tabs (ajax).... stop tab reloading url when tab is re-selected

I am using jquery ui tabs and im adding tabs dynamically using .tabs('add'...). The tabs load a url using ajax. The problem is that everytime i click on another tab then come back... the tab reloads the url. i want the url loaded once.... any ideas?
Sir Lojik
  • 1,409
  • 7
  • 24
  • 45
14
votes
5 answers

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 -…
citronic
  • 9,868
  • 14
  • 51
  • 74
13
votes
15 answers

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
12
votes
5 answers

Determine which element submitted a form from within onsubmit

Is there a way to determine which element submitted a form from within an onsubmit handler? Trying to write a generic handler that knows which element was clicked. For example, given this form:
Chris Hynes
  • 9,999
  • 2
  • 44
  • 54
12
votes
1 answer

remove css hover style

I have mark up that toggles the hover css style using this rule. When there's a checkbox inside the panel I want to remove the background image style. Is this possible? I've tried the following although it fails. CSS: .StaffMode .day ul…
James Radford
  • 1,815
  • 4
  • 25
  • 40
11
votes
5 answers

ScrollTop not working in IE

Anyone have any ideas why scrollTop isn't working in IE? It works in Chrome fine, and I don't know about firefox. (The idea of this script is to have an autoscrolling page that resets once it hits the bottom of the page) function getheight() { …
Odinulf
  • 571
  • 2
  • 7
  • 18
11
votes
6 answers

How to know which submit button fired the onsubmit event

When you have more than one submit button in a form, is there a way to know which one fired the onsubmit event without adding code to the buttons themselves? Edit: I need to do the check on the client-side, i.e. with JavaScript.
GetFree
  • 40,278
  • 18
  • 77
  • 104
1 2
3
49 50