<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebProNews &#187; DHTML</title>
	<atom:link href="http://www.webpronews.com/tag/dhtml/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webpronews.com</link>
	<description>Breaking News in Tech, Search, Social, &#38; Business</description>
	<lastBuildDate>Sun, 12 Feb 2012 17:24:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Is DHTML Dead?</title>
		<link>http://www.webpronews.com/is-dhtml-dead-2006-10</link>
		<comments>http://www.webpronews.com/is-dhtml-dead-2006-10#comments</comments>
		<pubDate>Mon, 02 Oct 2006 17:06:06 +0000</pubDate>
		<dc:creator>Sasch Mayer</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=31800</guid>
		<description><![CDATA[September 1997 saw the release of Microsoft's Internet Explorer 4, an event which not only changed the face of web development but officially marked the start of the infamous 'Browser Wars'.
]]></description>
			<content:encoded><![CDATA[<p>September 1997 saw the release of Microsoft&#8217;s Internet Explorer 4, an event which not only changed the face of web development but officially marked the start of the infamous &#8216;Browser Wars&#8217;.</p>
<p>Shipped with every version of Microsoft Windows (beginning with the final beta release of Windows 98), Internet Explorer soon became by far the most popular browser on the web.</p>
<p>Version 4 saw the introduction of Dynamic Hyper Text Markup Language (DHTML) support, combining aspects of scripting with Cascading Style Sheet (CSS) technology and thus allowing web developers the option of bringing far greater interactivity to their previously static HTML documents.</p>
<p>The industry was ecstatic; DHTML provided an effective solution to a large number of problems and seemed ready to lead the way into a new era of client-side web development.</p>
<p>Then came the browser wars of the late 1990s which saw intense conflict between Internet Explorer (compared by many to the Galactic Empire in Star Wars) and Netscape Navigator (The Rebel Alliance?) which caused DHTML&#8217;s quest for dominance to stall in the face of incompatible cross-browser DOM (Document Object Model) and CSS implementations.</p>
<p>Further hampered by many users&#8217; refusal to upgrade, DHTML became a cutting-edge technology used by only a few developers due to its limited potential audience.</p>
<p>Indeed one might say that the fear of &#8216;Browser Backwards Compatibility&#8217; issues (a sadly misguided attitude which plagues the web development industry to this day) is at least partly responsible for the eventual demise of DHTML.</p>
<p>Meanwhile, with Internet Explorer and Netscape Navigator unable to standardise parameters, a company called Macromedia quietly released a product called &#8216;Flash&#8217; which managed to circumvent browser limitations and consequently cornered most of the market previously considered to be DHTML territory thus hammering another nail into the coffin.</p>
<p>Though many may argue that DHTML is alive and well, consider for a moment the fact that Microsoft&#8217;s .Net framework has all but made DHTML obsolete.</p>
<p>Whilst the industry&#8217;s acceptance of .Net was initially cautious, the system has proved its value during the past few years and is now seen by many (especially since the release of ASP.Net 2.0) as the future of the internet.</p>
<p>As .Net gathers more momentum we are likely to see a new phase in the internet&#8217;s evolution with even Flash&#8217;s position on the web threatened (especially in the face of its SEO issues) by the creation and expansion of new .Net applications.</p>
<p>So, DHTML is well and truly relegated to the obsolete technology orphanage or the bookshelf of web development nostalgia. Face it; few developers will employ the use of technology which cannot be trusted to function 100% accurately even between Windows platforms when there are other, far more stable alternatives out there.</p>
<p>The fact is that, at least for commercial and application development, DHTML really is dead.</p>
<p>Tag: </p>
<p>Add to <a href="http://del.icio.us/post"onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURICo  mponent(location.href)+'&#038;title ='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return   false;" CLASS="printMailTop"><img src=http://images1.ientrymail.com/webpronews/delicious-pic.png border=0> Del.icio.us</a> |   <a  href="javascript:voidwindow.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','  popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img   src=http://images1.ientrymail.com/webpronews/digg-pic.png border=0> Digg</a>  | <a href="javascript:void   window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&#038;u='+encodeURICompo  nent(window.location.href),'popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)   "><img src=http://images1.ientrymail.com/webpronews/yahoo-pic.png border=0> Yahoo! My Web</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeUR  IComponent(document.title)+' '"><img src=http://images1.ientrymail.com/webpronews/furl-pic.png border=0> Furl</a></p>
<p>Bookmark WebProNews: <a href=http://www.webpronews.com><img src=http://images.ientrymail.com/webpronews/wpn-readit.jpg border=0></a></p>
<p>An accomplished copywriter, Sasch Mayer has been writing content for web and print for well over a decade.<br />
He is currently living in the Republic of Cyprus and working under contract to IceGiant <a href="http://www.icegiant.co.uk/">Web Design</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/is-dhtml-dead-2006-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Client for Web Services using DHTML Behavior</title>
		<link>http://www.webpronews.com/html-client-for-web-services-using-dhtml-behavior-2004-04</link>
		<comments>http://www.webpronews.com/html-client-for-web-services-using-dhtml-behavior-2004-04#comments</comments>
		<pubDate>Tue, 20 Apr 2004 16:36:27 +0000</pubDate>
		<dc:creator>Dipal Choksi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=9709</guid>
		<description><![CDATA[In this example we will access a Web Service created in C# from an HTML client. The client does not use .Net Framework directly and instead accesses the Web Service functionality using the DHTML behavior.
]]></description>
			<content:encoded><![CDATA[<p>In this example we will access a Web Service created in C# from an HTML client. The client does not use .Net Framework directly and instead accesses the Web Service functionality using the DHTML behavior.</p>
<p><b>Definitions:</b></p>
<p>Web Services are defined as programmable application logic that is accessible using standard Internet protocols.</p>
<p>DHTML behaviors are components that encapsulate functionality on a page. DHTML behaviors are available in IE5.5 and above. To be able to use the behavior in a Web Page in IE5.5, you will need to download the WebService.htc behavior file and save it in the same folder as your html page. The file can be downloaded from the following location: <a href="http://msdn.microsoft.com/downloads/samples/internet">http://msdn.microsoft.com/downloads/samples/internet</a><br />
/behaviors/library/webservice/webservice.htc</p>
<p><b>Program Details</b></p>
<p>Let&#8217;s delve into the details of our program. </p>
<p><b>Step 1: Create the Web Service</b></p>
<p>Create the file that exposes our Web Service function using your favorite text editor or Visual Studio.Net. Shown below is the code for the Web Service.</p>
<p><code>&lt;%@ WebService Language="C#" class="TestWS" %&gt;<br />
using System;<br />
using System.Web.Services;<br />
using System.Web.Mail;</p>
<p>[WebService] public class TestWS : System.Web.Services.WebService<br />
{<br />
[WebMethod] public int Add(int num1, int num2)<br />
{<br />
return num1 + num2;<br />
}<br />
}</code></p>
<p>Code Listing: Save as TestWS.asmx</p>
<p>The web service &#8220;TestWS&#8221; is very simple &#8211; it exposes only one function &#8220;Add&#8221; which accepts 2 integers as input and returns their sum as the output.</p>
<p><b>Step2 : Create the HTML Client</b></p>
<p>First we specify the web service behavior in the html file as follows<br />
<code>&lt;div id="service" style="behavior:url(webservice.htc)" onresult="onWSresult()"&gt;<br />
&lt;/div&gt;</code><br />
The id specified for this element to reference the element in script.</p>
<p>Next we map the web service URL to a user-friendly name (&#8220;Calculator&#8221; in this case).<br />
We add this code in the OnLoad handler for the page to ensure that the web service is mapped before any methods are invoked on the web service.</p>
<p><code>service.useService('http://localhost/site/code/testws.asmx?WSDL','Calculator');</code></p>
<p>Now that the webservice is setup for access, we invoke the web service methods asynchronously in two steps. The advantage of asynchronous invocation is that the web page does not have to keep waiting for the web service to return. In the first step, the web method is invoked. A call back function is specified and when the web service completes execution, the callback function gets executed. As a second step, the call back function (or an &#8220;onresult&#8221; event, if no callback function is specified) gets fired when the web service returns after execution or a timeout error occurs. </p>
<p>The code to actually invoke the Web Service&#8217;s web method is shown below. The web method is invoked when the &#8220;Add Numbers&#8221; button is clicked.</p>
<p><a name="input"></a>The input parameters to the callService method are &#8220;methodname&#8221; and the input parameters expected by the web service.</p>
<p><code>function ExecuteWS()<br />
{</p>
<p>iCallID = service.Calculator.callService("Add",num1.value,num2.value);<br />
}</code></p>
<p>Our onresult event handler checks the error property to find out if any error occurred in the execution. In case of error, the function displays the details of the error and if successful, the function displays the result from the web service.</p>
<p>The onresult function implementation is shown below.</p>
<p><code>function onWSresult()<br />
{<br />
if((event.result.error)&#038;&#038;(iCallID==event.result.id))<br />
{<br />
var xfaultcode = event.result.errorDetail.code;<br />
var xfaultstring = event.result.errorDetail.string;<br />
var xfaultsoap = event.result.errorDetail.raw;<br />
document.writeln("ERROR. Method call failed!");<br />
document.writeln("Call ID:" + iCallID);<br />
document.writeln("Fault Code:" + xfaultcode);<br />
document.writeln("Fault String:" + xfaultstring);<br />
document.writeln("SOAP Data:" + xfaultsoap);<br />
}<br />
else if(event.result.error == false)<br />
{<br />
sum.value= event.result.value;<br />
}<br />
}</code></p>
<p>Here is the complete code listing for the client.</p>
<p><code>&lt;SCRIPT language="JavaScript"&gt;<br />
var iCallID;</p>
<p>function ExecuteWS()<br />
{</p>
<p>iCallID = service.Calculator.callService("Add",num1.value,num2.value);<br />
}</p>
<p>function onWSresult()<br />
{<br />
if((event.result.error)&#038;&#038;(iCallID==event.result.id))<br />
{<br />
var xfaultcode = event.result.errorDetail.code;<br />
var xfaultstring = event.result.errorDetail.string;<br />
var xfaultsoap = event.result.errorDetail.raw;<br />
document.writeln("ERROR. Method call failed!");<br />
document.writeln("Call ID:" + iCallID);<br />
document.writeln("Fault Code:" + xfaultcode);<br />
document.writeln("Fault String:" + xfaultstring);<br />
document.writeln("SOAP Data:" + xfaultsoap);<br />
}<br />
else if(event.result.error == false)<br />
{<br />
sum.value= event.result.value;<br />
}<br />
}<br />
&lt;/script&gt;<br />
&lt;body onload= "service.useService('http://localhost/site/code/testws.asmx?WSDL','Calculator');"&gt;<br />
&lt;div id="service" style="behavior:url(webservice.htc)" onresult="onWSresult()"&gt;<br />
&lt;/div&gt;</p>
<p>Number : &lt;input type="text" name='num1'"&gt;<br />
Number : &lt;/td&gt; &lt;td&gt;&lt;input type="text" name='num2'"&gt;<br />
Total:&lt;input type="text" name='sum'"&gt;<br />
&lt;button OnClick="ExecuteWS()"&gt;Add Numbers&lt;/button&gt;<br />
&lt;/body&gt; </code></p>
<p>Code Listing: Save as test.htm (in a folder containing webservice.htc)</p>
<p><b>Step 3: Test</b></p>
<p>Here are the results of our program:</p>
<p>Input screen:</p>
<p><center><img src="http://images.ientrymail.com/cprogrammingtrends/042104figure1.gif"></center></p>
<p>If you entered an incorrect integer, for example &#8220;xyz&#8221; for one of the inputs, the resultant error would be displayed.</p>
<p><b>Conclusion: </b></p>
<p>This program provides trivial functionality in terms of application processing logic, but it demonstrates a design architecture to access the vast resources and functionality of the .Net Framework. Imagine the possibilities &#8211; you could have simple HTML pages invoking complex, shareable logic through simple internet protocols &#8211; the client HTML page does not need to be programmed using the .Net framework.</p>
<p>Dipal Choksi is a Bachelor of Engineering (Computer Science). She has industry experience in team-effort projects and also as an individual contributor. She has worked on Visual Basic, Visual C++, Java, Directory Services, ASP projects</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/html-client-for-web-services-using-dhtml-behavior-2004-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spice Up Your Web Site with JavaScript</title>
		<link>http://www.webpronews.com/spice-up-your-web-site-with-javascript-2003-07</link>
		<comments>http://www.webpronews.com/spice-up-your-web-site-with-javascript-2003-07#comments</comments>
		<pubDate>Wed, 30 Jul 2003 14:55:25 +0000</pubDate>
		<dc:creator>Shelly Lowery</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=6542</guid>
		<description><![CDATA[JavaScript is a scripting language designed for use  within a web page and/or on a web server. It is used  to create special effects within a web page. Elements  such as links, images and forms can be manipulated  using this powerful technology.
]]></description>
			<content:encoded><![CDATA[<p>JavaScript is a scripting language designed for use  within a web page and/or on a web server. It is used  to create special effects within a web page. Elements  such as links, images and forms can be manipulated  using this powerful technology.</p>
<p>Unlike CGI scripts, JavaScript can be placed directly  into your HTML code. It can also reside on your server  and be called from a small code within your web page. </p>
<p>This powerful scripting language can be used to create  special effects on your web page such as link effects,  mouseovers, image roll overs, navigational systems  and much more.</p>
<p>Here are a few great scripts to get you started:</p>
<p><b>Navigation Bar</b></p>
<p>This script is actually a combination of JavaScript and  HTML better known as DHTML. It will enable you to  have a mouseover navigational menu at the top of  your web page. When you place your mouse over the  main menu, a drop down menu will appear. As you  move your mouse over the drop down menu, each  selection is highlighted. This navigation menu is very  similar to the menu used at Microsoft.com.</p>
<p><a href="http://www.brainjar.com/dhtml/navbar/index.html">http://www.brainjar.com/dhtml/navbar/index.html</a></p>
<p><b>Dynamic Splash Screen</b></p>
<p>If you&#8217;ve ever wanted to set up a splash screen for  your web page, Dynamic Splash Screen will do just  that. Splash pages can be used to tell your visitors a  little bit about your site or whatever you&#8217;d like. The  great thing about this script is that it is constructed  using a single page. Once the splash messages have  been completed, the script will navigate to the URL  of your choice. It also includes a link on the splash  page that says, &#8220;Skip Intro.&#8221; Nice effect.</p>
<p><a href="http://www.dynamicdrive.com/dynamicindex3/dynamicsplash.htm">http://www.dynamicdrive.com/dynamicindex3/dynamicsplash.htm</a></p>
<p><b>Pausing Up and Down Menu Scroller</b></p>
<p>This nice little script will enable you to have linked  text that scrolls upwards and will pause between  each message. You can choose to include a  background image and customize the background  color and box size. This script provides a nice way  to announce new additions to your site or whatever  you&#8217;d like. </p>
<p><a href="http://www.dynamicdrive.com/dynamicindex2/crosstick.htm">http://www.dynamicdrive.com/dynamicindex2/crosstick.htm</a></p>
<p><b>overLIB</b></p>
<p>Create mouseover popup boxes for your text links.  This great script can be used to include information  about the links, tips or whatever you&#8217;d like. It can  create simple mouseover popup boxes or can even  create a popup box that will stay open until the user  wants to close it. The boxes can also be displayed  with or without a caption and colors can be  customized. This is a great little script.</p>
<p><a href="http://www.bosrup.com/web/overlib/">http://www.bosrup.com/web/overlib/</a></p>
<p><b>Source Protector</b></p>
<p>Although this script won&#8217;t completely protect your  page content, it will deter those wanting to steal  your code. When you right click on your mouse, an  alert box will appear. You can include a message of  your choice. </p>
<p><a href="http://www.javascript-page.com/noclk.html">http://www.javascript-page.com/noclk.html</a></p>
<p><b>Right Click Menu</b></p>
<p>This nifty little script not only helps prevent your code  from being stolen, but it also creates a pop up  navigation menu. When you right click on your mouse,  instead of the browser menu appearing, your menu  will appear. This little menu can contain live links to  other pages on your web site.</p>
<p><a href="http://www.geocities.com/html_4u/rc_menu.html">http://www.geocities.com/html_4u/rc_menu.html</a></p>
<p><b>Banner Rotator</b></p>
<p>This simple little script will enable you to rotate  banners on your web page. You simply add your  banner information to the code and place this script  within your web page where you&#8217;d like your banners  to display. Each time your page loads, a new banner  will be displayed. Great little script.</p>
<p><a href="http://www.javascript-page.com/banrot.html">http://www.javascript-page.com/banrot.html</a></p>
<p><b>Daily Tip</b></p>
<p>This script will enable you to display a daily tip on your  web site. You can program it with tips for the entire  month and they will automatically display each day.</p>
<p><a href="http://www.geocities.com/html_4u/dailytip.html">http://www.geocities.com/html_4u/dailytip.html</a></p>
<p><b>FairWell Window Launcher</b></p>
<p>Although popup windows can be irritating, this script  is a little different. It will launch a new window when  your visitor leaves your site. What&#8217;s great about this  script is that it will only appear the first time someone  visits your web site. If you offer your visitors a free  publication, try placing your subscription information  within this new window. This provides a great way to  increase subscriptions to your publication.</p>
<p><a href="http://wsabstract.com/script/cut65.shtml">http://wsabstract.com/script/cut65.shtml</a></p>
<p>Locating JavaScripts: <a href="http://javascript.internet.com/">http://javascript.internet.com/</a></p>
<p>Locating DHTML Scripts: <a href="http://www.dynamicdrive.com/">http://www.dynamicdrive.com/</a></p>
<p>Learn more about JavaScript: JavaScript Learning Center <a href="http://www.javascriptmall.com/learn/contents.htm">http://www.javascriptmall.com/learn/contents.htm</a></p>
<p>Although JavaScript can certainly help you spice up  your web site, there are many scripts that your  visitors may find irritating. Try to avoid scripts such  as mouse trailers, mouseover sounds, mouseover pop  up windows and mouseover redirects. Carefully select  scripts that will enhance your visitors experience and  encourage them to return in the future.</p>
<p>Copyright  2000 All rights reserved</p>
<p>Shelley Lowery is the author of the acclaimed web design<br />
course, Web Design Mastery. <a href="http://www.webdesignmastery.com">http://www.webdesignmastery.com</a><br />
An in-depth guide to professional web site design. Visit<br />
Web-Source.net to sign up for a complimentary subscription<br />
to Etips and receive a copy of the acclaimed ebook, &#8220;Killer<br />
Internet Marketing Strategies.&#8221; http://www.web-source.net</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/spice-up-your-web-site-with-javascript-2003-07/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Is DHTML?</title>
		<link>http://www.webpronews.com/what-is-dhtml-2001-01</link>
		<comments>http://www.webpronews.com/what-is-dhtml-2001-01#comments</comments>
		<pubDate>Mon, 01 Jan 2001 15:00:25 +0000</pubDate>
		<dc:creator>Web Development Writer</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[DHTML]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=281</guid>
		<description><![CDATA[It's actually a little tough to get a handle on because it's beginning to mean different things to a few different people. The actual term stands for Dynamic Hypertext Mark-Up Language. That's obvious.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s actually a little tough to get a handle on because it&#8217;s beginning to mean different things to a few different people. The actual term stands for Dynamic Hypertext Mark-Up Language. That&#8217;s obvious.</p>
<p>The essence of the term stands for almost any coding that creates movement or interactivity by employing the standards of the 4.0 level Netscape and MSIE browsers.</p>
<p>But there was movement before with animation and interactivity with forms&#8230; </p>
<p>Yeah, see&#8230; that&#8217;s the rub. For something to be considered DHTML it has to employ version 4.0 browsers. Again, an argument I&#8217;ve heard is that DHTML is only viable if it occurs within the Explorer 4.0 browser. I&#8217;ve heard DHTML discussed as being PowerPoint for the Web.</p>
<p>On the other hand, some people have stated that DHTML includes Netscape&#8217;s Layering Commands. </p>
<p>The best description I can offer is that DHTML is any combination of Style Sheets, JavaScript, Layering, Positioning, and Page Division at the 4.0 browser level, intended to create movement or user interactivity&#8230;</p>
<p>iEntry provides free highly informative newsletters for web developers, IT professionals and small business owners.  We deliver 50 million email newsletters per month and have over 4,000,000 unique opt-in subscribers. From our extensive range of email newsletters we can provide you with a selection of newsletters that best meet your interests.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/what-is-dhtml-2001-01/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/27 queries in 0.011 seconds using memcached
Object Caching 316/380 objects using memcached

Served from: webpronews.com @ 2012-02-12 12:24:46 -->
