473,665 Members | 2,827 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DHTML in NN and IE

Hello everybody. I am a student doing my masters in Comp. Sci. Will
some explain to me why it seems completely two worlds when taking
about DHTML in NN and IE. Is there any way to write truly portable
webpages using DHTML ofcourse.
Jul 20 '05 #1
6 1993
viator wrote:
Hello everybody. I am a student doing my masters in Comp. Sci. Will
some explain to me why it seems completely two worlds when taking
about DHTML in NN and IE.
Becuase there was no standard, so Microsoft and Netscape implmented their
own inventions.
Is there any way to write truly portable
webpages using DHTML ofcourse.


Use the w3c & ECMA standards, along with (if you desire compatability with
legacy browsers) routines to cope with the document models of older
browsers.

--
David Dorward http://david.us-lot.org/
Jul 20 '05 #2
David Dorward wrote:
viator wrote:
Hello everybody. I am a student doing my masters in Comp. Sci. Will
some explain to me why it seems completely two worlds when taking
about DHTML in NN and IE.


Becuase there was no standard, so Microsoft and Netscape implmented their
own inventions.
Is there any way to write truly portable
webpages using DHTML ofcourse.


Use the w3c & ECMA standards, along with (if you desire compatability with
legacy browsers) routines to cope with the document models of older
browsers.


Of course, even this does not guarantee "truly portable" web pages, unless of
course, you define "truly portable" as: works on full-featured personal
computer web browsers written in the last 2 years.

There are still lots of browsers (old and new), on lots of platforms, which do
not properly support or implement W3C standards.

This is why it is recommended that you use client-side JavaScript only to
enhance your existing web page functionality, not replace any functionality.
Anything you want your visitors to do should work regardless of whether
client-side JavaScript is enabled or available. Once you have a working site,
then you add client-side JavaScript to enhance that already existing
functionality.

Of course, for Intranet/private web-based applications, you have more freedom
to exploit client-side technologies, since you have some (or total) control
over the target browser.

--
| Grant Wagner <gw*****@agrico reunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #3
viator wrote:
Hello everybody. I am a student doing my masters in Comp. Sci. Will
some explain to me why it seems completely two worlds when taking
about DHTML in NN and IE. Is there any way to write truly portable
webpages using DHTML ofcourse.


It's because Bill Gates does everything he possible can to eliminate competition
in the computer software industry _period_

(And now he's trying to move into the hardware world.)

If Bill had his way you'd have to pay him to turn on your computer then pay him
again to connect to the internet then pay him again for every page you viewed -
ad infinatum.

I know it's a little off-topic for the ng but Gates _has_ done everything he can
to screw JavaScript. It just didn't work. But he's still trying.

--
Phil Newcombe - philn?telus?net
http://www3.telus.net/bikim

Netscape/Gecko/Mozilla - standards conformance and cooperation
Internet Explorer - standards obfuscation and divergence
Linux += 30,000/Germany + 80,000/Spain + tomorrow

Jul 20 '05 #4
DU
Grant Wagner wrote:
David Dorward wrote:

viator wrote:

Hello everybody. I am a student doing my masters in Comp. Sci. Will
some explain to me why it seems completely two worlds when taking
about DHTML in NN and IE.
Becuase there was no standard, so Microsoft and Netscape implmented their
own inventions.

Is there any way to write truly portable
webpages using DHTML ofcourse.


Use the w3c & ECMA standards, along with (if you desire compatability with
legacy browsers) routines to cope with the document models of older
browsers.

Of course, even this does not guarantee "truly portable" web pages, unless of
course, you define "truly portable" as: works on full-featured personal
computer web browsers written in the last 2 years.

There are still lots of browsers (old and new), on lots of platforms, which do
not properly support or implement W3C standards.

This is why it is recommended that you use client-side JavaScript only to
enhance your existing web page functionality, not replace any functionality.
Anything you want your visitors to do should work regardless of whether
client-side JavaScript is enabled or available. Once you have a working site,
then you add client-side JavaScript to enhance that already existing
functionality.


Exactly! Very well said and I absolutely agree. Define the HTML
structure, then add the content and then add client-side javascript to
enhance presentation of content or ease navigation: these are the
correct steps by which everyone should build a webpage. If javascript is
disabled (8%-12% of people surf with javascript disabled), then the
content should still be accessible, usable, reachable.

Validate your HTML markup so that if visitors use some assistive
technologies (speech browsers, text browsers, braille browsers, web tv,
translation software, etc.), handheld web-aware devices, a web-aware
device based on another medium or technology, then the content should
still be accessible, reachable, usable. W3C web standards compliant
markup code can and should always be accessible, reachable, usable by
W3C web standards compliant applications, softwares, devices on
different media, os, platforms, languages, etc..
Of course, for Intranet/private web-based applications, you have more freedom
to exploit client-side technologies, since you have some (or total) control
over the target browser.

--
| Grant Wagner <gw*****@agrico reunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html


DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/

Jul 20 '05 #5
DU
Grant Wagner wrote:
Phil N wrote:

viator wrote:
Hello everybody. I am a student doing my masters in Comp. Sci. Will
some explain to me why it seems completely two worlds when taking
about DHTML in NN and IE. Is there any way to write truly portable
webpages using DHTML ofcourse.


It's because Bill Gates does everything he possible can to eliminate competition
in the computer software industry _period_

(And now he's trying to move into the hardware world.)

If Bill had his way you'd have to pay him to turn on your computer then pay him
again to connect to the internet then pay him again for every page you viewed -
ad infinatum.

I know it's a little off-topic for the ng but Gates _has_ done everything he can
to screw JavaScript. It just didn't work. But he's still trying.

The above is inflamatory and inaccurate. Using your logic, Netscape was trying to do
everything it could to eliminate competition in the computer software industry by
adding <layer> and <blink> to Netscape 4.

In the absense of any real standards to have versitile control over a web browser's
DOM, Netscape created their own (document.layer s) and Microsoft created their own
(document.all). If the situation of lack of standards had gone on longer, you most
likely would have seen these "standards" embraced by other browser vendors (as is
the case with document.all in Opera) or new "standards" emerging to provide
functionality not provided by the already listed mechanisms.

Now that there are W3C standards, a complete re-write of the Netscape rendering
engine has resulted in standards compliance, and Internet Explorer and Opera 7 are
well on their way. If what you say is true, Internet Explorer would not support
document.create Element/getElementById/createTextNode/etc


I'm just going to add one small point to your excellent reply. MSIE 6.x
or MSIE 7 version can not furthermore support CSS2, DOM2 properties and
methods without underlying changes and major adjustments in the
operating system. This is the conclusion reached by Peter-Paul Koch in
his article
"Browser Wars II: The Saga Continues."
http://www.evolt.org/article/Browser...nues/25/60181/

"The famous talk show transcript says: 'Further improvements to IE will
require enhancements to the underlying OS.' I tentatively translate this
line as 'We cannot improve IE any more' because it fits with an idea
I've had in the back of my mind for two years now.
Why is Microsoft unwilling to fix the CSS bugs that everyone's been
asking it to fix for ages? I think it's not unwilling but unable to do
so. Explorer's code engine cannot be updated any more.
Sooner or later, browser makers run into the limitations of their
programs. Their large libraries have a tendency to grow fat and hard to
change, especially when they must incorporate functionalities that
weren't foreseen when the original program was written. (...)"

I think this is exactly what happened to Netscape and Opera: Netscape 6
was a complete rewrite of the Netscape software and so was Opera 7. They
had to rewrite the software entirely in order to meet the requirements
of CSS2, DOM2... and we can suspect or deduce that XSLT is furthermore
requiring from an os.

MSIE 7 for Windows is now expected for 2005. Until it is released with
Windows Longhorn, Mozilla 1.4+ will definitively be the most W3C web
standards compliant and most advanced browser available.

DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
Jul 20 '05 #6
DU wrote:
I think this is exactly what happened to Netscape and Opera: Netscape 6
was a complete rewrite of the Netscape software and so was Opera 7. They
had to rewrite the software entirely in order to meet the requirements
of CSS2, DOM2... and we can suspect or deduce that XSLT is furthermore
requiring from an os.

MSIE 7 for Windows is now expected for 2005. Until it is released with
Windows Longhorn, Mozilla 1.4+ will definitively be the most W3C web
standards compliant and most advanced browser available.

DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/

I'm no expert, obviously, but I am thinking the rewrite was also to include new
technology where the code involves plenty of xul and related stuff. I got the
impression that it is kind of written in xml (or something related) allowing
'on-the-fly' updates - kind of like updating your browser by downloading a web
page, a-la xpi.

As far as accessibility - that's a personal point - kind of like saying when you
write an application you should first write it in dos because some people still
use it. Then port it to every other os imaginable so everybody else can use it too.

(And 'inflammation' is all in the mind, like boredom - one man's inflammatory
comment is another man's truth. But that's ot.)
--
Phil Newcombe - philn?telus?net
http://www3.telus.net/bikim

Netscape/Gecko/Mozilla - standards conformance and cooperation
Internet Explorer - standards obfuscation and divergence
Linux += 30,000/Germany + 80,000/Spain + tomorrow

Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1913
by: egg | last post by:
Dear Sir/Madam, I'm about to start a project, the idea is to have a web interface to let user specify the URL of a target HTML document, based on that URL, retrieved and parsed the HTML document using the DHTML object model exposed by ActiveX control WebBrowser, getting the position and dimension of each node inside the HTML document, processed it and pass the result back to the user as a new HTML document.
2
1634
by: Frances Del Rio | last post by:
please, can you go to http://www.francesdelrio.com/dhtml/ when you click the name of the character the font color for all the lines of that character should change.. this is a simple DHTML memo... but I find that none of the JS or DHTML code is working at all on page... if I download page and view it locally the JS & DHTML code work fine, I don't understand this.. I'm very anxious b/c I just submitted this page as a demo for a...
2
1994
by: mr_burns | last post by:
hi there, i would like a book that will explain concepts of javascript and dhtml instead of, for example, ten tutorials on how to do specific things in js or dhtml. ideally a book thats can explain from the basics of javascript, to more complex things such as dhtml and dom onto things like creating javascript objects (if that is possible, but u get the idea). rather than this is how you make a drop down menu tutorial; this is how you
1
1738
by: Steve | last post by:
Hi; I have heard about a few very good books on DHTML, but the most modern ones seem to have been published in 2002. Have any _significant_ changes in DHTML or the standard DOM happened since then or will those "best of the dhtml books" still do the job? If not, is there a place on the web that documents DHTML, well, in its latest greatest form?
2
7318
by: | last post by:
Hello All, Could some one send me information on DHTML tutorials where I can leand the differences between html and dhtml. Thanks, ------------------------------------------------------------------------ IT Interview Questions : http://www.geekinterview.com <br> Tutorials and Articles : http://www.geekarticles.com <br> Free Training : http://www.exforsys.com
1
1359
by: Bob T | last post by:
Hi All, I am a bit of a newbie but have a reasonable grasp of using ASP.net code. One thing I have wanted to find our for sometime is if there is a way to invoke DHTML methods from or after running an ASP.net event. For example/ I can open a modal dialog using the DHTML method <input type = "button" onclick = "window.showmodaldialog("webpage.aspx")">
17
1681
by: Jacques Jamain | last post by:
hello, in a dhtml page generated from php I want to include a file which is in fact the body of the dhtml page. My hosting ISP does not allow SSI but supports php includes. In the dhtml page, the generated statment <?php include('fspecs') ?> is ignored. I've the feeling that I'm overlooking something in the way php is parsing dhtml (if it does). The dhtml code saved in a file execute correctly after that... Any hints about this? Thanks...
3
2523
by: aspmonger | last post by:
Hello, I really believe that IE 6 has a new (intentional?) bug that severely limits the capability of dhtml and cross domain scripting. Yesterday, I read an interesting article about the subject and it only supported my claim. The article explained why Microsoft will not be letting the IE DHTML Implementation get any more powerful than it already is. Microsoft has realized that an experienced DHTML developer can create a web application that...
9
5303
by: ninhovid | last post by:
Hi... i'm new at dhtml, and i want to use it in help windows (instead of window.open() of javascript)... i'm done it... but it works only in internet explorer.. in firefox 2 and 3 it opens the dhtml modal window but in the background of my main page... what do i have to correct so it opens up in front as it does in internet explorer? i'm using c# and ajax... it's an asp.net app... in masterpage i have this: <link rel="stylesheet"...
0
8438
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8779
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8636
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
7376
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
6187
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
4186
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...
1
2765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2004
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1761
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.