473,659 Members | 2,886 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What happened to DHTML behaviors?

1 New Member
I remember a long time ago about a technology called "behaviors" that allowed you to define a, well, behavior for HTML elements. A way of defining a template for reacting under javascript events and stuff like that. For example, making all buttons on a website toggle between colors onMouseOver and display an alert onClick just by assigning them the behavior myExample1. This helped a lot for code reuse.

I thought the proposal had future (although it needed refinement) and eagerly waited for it to turn into a standard, but it didn't seem to catch on. All I can find googling are Microsoft references to their implementation in IE5.5 (they seem to have been the inventors).

Why wasn't it successful? What is your opinion on the matter, don't you find it useful?
Nov 7 '19 #1
1 2112
gits
5,390 Recognized Expert Moderator Expert
it was not successful because its pointless since it is not something that HTML has to provide. HTML is a document markup language - so it does 'markup' some content in a semantic way. CSS is used to let it appear to your preferences and JavaScript is used for the 'behaviour'. Mixing things up at this level - as it sometimes happend in the old days - was thankfully corrected.

what you probably have in mind here is more something like seeing a webpage as an application instead of a document (what it basically is and always was). Its an obvious thought that it should be possible to have 'customized' components (or lets better call it widgets) that you can use in your web-applications - and this is what web components are for - or what other (mainly) JavaScript libraries or frameworks provide you with or letting you create.
Nov 7 '19 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
1813
by: Neil Zanella | last post by:
OK, this time the compiler's got me a little bit puzzled, simply because it is doing something I am not expecting. My understanding, according to the documentation of std::vector<>::resize(), is that when you specify a second argument the number of elements specified in the first argument is each in turn set to the second argument. void Foo::bar(int x) { static std::vector<int> foo; std::cout << "source: " << x << std::endl;...
2
2006
by: Lauren Wilson | last post by:
Hi folks, Just "upgraded" from A2K to A2K3. Everything is just hunky dory (so far) -- EXCEPT that the Add-in I had with A2K that auto inserts error code is no longer available in the Add-in manager or anywhere on my PC. I DO have the VSTO Access Developer Extensions installed for 2003. Anyone have a clue what happened to the Add-in? Is there another source for this Add-in? I have scoured the Microsoft web sites for
1
2282
by: Mikey | last post by:
Can somebody tell me what happened to the Source Profiler? It used to be under the Build menu in VC6, but now it's gone, and I cannot find anything in the docs that say what happened to it. The docs now only say something about atttaching a third party tool, but do not give any hints of what that might be. Can the old VC6 profiler be used with a fresh VC .Net compile (totally unmanaged code). Any advice, hints, etc appreciated.
4
1445
by: David Tilman | last post by:
I've created a web application using ASP .NET that creates tables similar to Gantt charts. There are 5 tables will 180 cells each, so there are about 900 cells on the web page. I had javascript in the attributes of each cell to react to various events (onmouseout, onmouseover, onmouseup, onmousedown) to handle highlighting and selecting cells in the chart. I wanted to try to make the application more efficient and have a smaller HTML...
4
3784
by: Edward | last post by:
Hi All, Thanks upfront for any help given me. I just installed Visual Studio 2005 Professional & Sql Server on an XP SP2 PC and I do not see the old Sql Server Enterprise Manager and Sql Analyser? Would anyone know what happened to these tools? I selected to install the client tools but I do not see anything that looks
1
2913
by: QuasiAnon | last post by:
(assuming i'm using correct terminology...) seems this draft isn't too old, nor too young? Syntax of CSS rules in HTML's "style" attribute W3C Working Draft 15 May 2002 http://www.w3.org/TR/css-style-attr.html#examples Setting properties on a source anchor for each of its dynamic states, using pseudo-classes:
5
2274
by: exhuma.twn | last post by:
Hi all, yesterday I wanted to install TurboGears, which depends on RuleDispatch. However, I failed to download it. First I got the error "Bad Gateway" from the server, today it's simply a "Not Found" error. So what happened to it? Does somebody know? I would really need to install TurboGears in the next couple of days. So if someone knows where I can find a mirror of RuleDispatch I would be very grateful.
5
1562
by: rodchar | last post by:
hey all, what happened to being able to compile my app as Release version? thanks, rodchar
9
3708
by: jacob navia | last post by:
??? Not that I miss his posts, but somehow I find sad that somebody disappears from view and nobody gives a damm. Anybody knows what happened to him? He had lost is job, and was looking for a new one last time he appeared here.
3
2158
by: Giampaolo Rodola' | last post by:
http://groups.google.com/group/python-dev2 It seems it no longer exists. What happened?
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7356
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.