<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<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/"
	>

<channel>
	<title>Java, Tomcat, Servlet Web Hosting, Jsp, Php, Mysql, J2Ee, Servlet, Struts &#038; Hibernate Hosting Support Blog</title>
	<link>http://mysql5.solidwebhosting.net</link>
	<description>Servlet Web Hosting weblog</description>
	<pubDate>Fri, 18 Jan 2008 04:15:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>1352 Part V . Putting JavaScript to Work  (Web design course)</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/1352-part-v-putting-javascript-to-work-web-design-course/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/1352-part-v-putting-javascript-to-work-web-design-course/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 04:15:37 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/1352-part-v-putting-javascript-to-work-web-design-course/</guid>
		<description><![CDATA[1352 Part V . Putting JavaScript to Work   swapState(). Then, based on the new setting, the display property of the block is  set accordingly, and widget art is changed through two special-purpose functions.   // toggle an outline mother entry, storing new state value;  // invoked by onClick event handlers [...]]]></description>
			<content:encoded><![CDATA[<p>1352 Part V . Putting JavaScript to Work   swapState(). Then, based on the new setting, the display property of the block is  set accordingly, and widget art is changed through two special-purpose functions.   // toggle an outline mother entry, storing new state value;  // invoked by onClick event handlers of widget image elements  function toggle(img, blockNum) {   var newString =      var expanded, n   // modify state string based on parameters passed IMG   expanded = currState.charAt(blockNum)   currState = swapState(currState, expanded, blockNum)   // dynamically change display style   if (expanded ==  0 ) {   document.getElementById( OLBlock  + blockNum).style.display =   block   img.src = getExpandedWidgetState(img.src)  } else {  document.getElementById( OLBlock  + blockNum).style.display =   none   img.src = getCollapsedWidgetState(img.src)  }  }    <br />We would like to recommend you tested and proved <a href="http://jboss.solidwebhosting.net">virtual web hosting</a> services, which you will surely find to be of great quality.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/1352-part-v-putting-javascript-to-work-web-design-course/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Web hosting e commerce - 1351Chapter 52 .Application: Outline-Style Table of Contents //</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/web-hosting-e-commerce-1351chapter-52-application-outline-style-table-of-contents/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/web-hosting-e-commerce-1351chapter-52-application-outline-style-table-of-contents/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 16:18:47 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/web-hosting-e-commerce-1351chapter-52-application-outline-style-table-of-contents/</guid>
		<description><![CDATA[1351Chapter 52 .Application: Outline-Style Table of Contents  // apply default expansion state from outline s header  // info to the expanded state for one element to help  // initialize currState variable  function calcBlockState(outlineID, n) {   var ol = document.getElementById(outlineID).getElementsByTagName( body )[0]   var outlineLen = ol.getElementsByTagName( outline ).length [...]]]></description>
			<content:encoded><![CDATA[<p>1351Chapter 52 .Application: Outline-Style Table of Contents  // apply default expansion state from outline s header  // info to the expanded state for one element to help  // initialize currState variable  function calcBlockState(outlineID, n) {   var ol = document.getElementById(outlineID).getElementsByTagName( body )[0]   var outlineLen = ol.getElementsByTagName( outline ).length   // get OPML expansionState data   var expandElem =  document.getElementById(outlineID).getElementsByTagName( expansionState )[0]  var expandedData = (expandElem.childNodes.length) ?  expandElem.firstChild.nodeValue.split( , ) : null  if (expandedData) {  for (var j = 0; j < expandedData.length; j++) {  if (n == expandedData[j] - 1) {  return  1   }   }   }   return  0   }   The final act of the initialization process is a call to the initExpand() function.  This function loops through the currStateglobal variable (whose value was written  in makeHTML() with the help of calcBlockState()) and sets the display  property to blockfor any element designed to be expanded at the outset. HTML  element construction in makeHTML() is performed in such a way that each parent  DIV has a SPAN nested directly inside of it; and inside that SPAN are all the child  nodes. The displayproperty of the SPAN determines whether all of those children  are seen or not.   // expand items set in expansionState XML tag, if any  function initExpand(outlineID) {  for (var i = 0; i < currState.length; i++) {  if (currState.charAt(i) == 1) {  document.getElementById( OLBlock  + i).style.display =  block   }  }  }   By the time the initExpand() function has run   a lot of setup code that executes  pretty quickly   the rendered outline is in a steady state. Users can now  expand or collapse portions by clicking the widget icons.   Toggling node expansion   All of the widget images in the outline have onClick event handlers assigned to  them. The handlers invoke the toggle()function, passing parameters consisting  of a reference to the IMG element object receiving the event and the serial number  of the SPAN block nested just inside the DIV that holds the image. With these two  pieces of information, the toggle() function sets in motion the act of inverting the  expanded/collapsed state of the element and the plus or minus version of the icon  image. The blockNumparameter corresponds to the position within the currState  string of 1s and 0s holding the flag for the expanded state of the block. With the  current value retrieved from currState, the value is inverted through    <br />Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to <a href="http://mysql5.solidwebhosting.net">servlet web hosting</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/web-hosting-e-commerce-1351chapter-52-application-outline-style-table-of-contents/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>1350 Part V . Putting JavaScript to Work  (Web hosting solutions)</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/1350-part-v-putting-javascript-to-work-web-hosting-solutions/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/1350-part-v-putting-javascript-to-work-web-hosting-solutions/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 05:31:14 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/1350-part-v-putting-javascript-to-work-web-hosting-solutions/</guid>
		<description><![CDATA[1350 Part V . Putting JavaScript to Work   output +=  &#160;  + ol.childNodes[i].getAttribute( text ) +        currState += calcBlockState(outlineID, currID-1)   output +=      // accumulate prefix art for next indented level   nestPrefix = prefix   [...]]]></description>
			<content:encoded><![CDATA[<p>1350 Part V . Putting JavaScript to Work   output +=  &nbsp;  + ol.childNodes[i].getAttribute( text ) +    </A>    currState += calcBlockState(outlineID, currID-1)   output +=  <SPAN CLASS= OLBlock  BLOCKNUM=   + blockID +      ID= OLBlock  + blockID++ +   >    // accumulate prefix art for next indented level   nestPrefix = prefix   nestPrefix += (i == ol.childNodes.length - 1) ?    <IMG SRC=   + emptySpace +    HEIGHT=16 WIDTH=20>  :    <IMG SRC=   + chainSpace +    HEIGHT=16 WIDTH=20>    // reflexive call to makeHTML() for nested elements   output += makeHTML(outlineID, ol.childNodes[i], nestPrefix)   output +=  </SPAN></DIV>n    } else {   // for endpoint nodes   output += prefix   output +=  <IMG ID= widget  + (currID-1) +    SRC=   +   ((i == ol.childNodes.length - 1) ?   nodeWidgetEnd : nodeWidget)   output +=    HEIGHT=  + widgetHeight +   WIDTH=  +   widgetWidth +  >    // check for links for these entries   link = (ol.childNodes[i].getAttribute( uri )) ?   ol.childNodes[i].getAttribute( uri ) :      if (link) {   output +=  &nbsp;<A HREF=   + link +      CLASS= itemTitle  TITLE=   +   link +    TARGET=   + displayTarget +   >    } else {   output +=  &nbsp;<A CLASS= itemTitle  TITLE=   +   link +   >    }   // grab the text for these entries   output += ol.childNodes[i].getAttribute( text ) +  </A>    output +=  </DIV>n    }  }  return output  }   As with the HTML assembly code of the first outliner, if you were to add  attributes to OUTLINE elements in an OPML outline (for example, a URL for an icon  to display in front of the text), it is in makeHTML()that the values would be read  and applied to the HTML being created.   The only other function invoked by the makeHTML() function is  calcBlockState(). This function looks into one of the OPML outline s HEAD elements,  called EXPANSIONSTATE. This element s values can be set to a comma- delimited list of numbers corresponding to nodes that are to be shown expanded  when the outline is first displayed. The calcBlockState() function is invoked for  each parent element. The element s location is compared against values in the  EXPANSIONSTATE element, if there are any, and returns the appropriate 1 or 0value  for the state string being assembled for the rendered outline.    <br />Please visit <a href="http://domain.wikiwebsitehosting.com">Domain Name Hosting</a> services for high quality webhost to host and run your jsp applications.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/1350-part-v-putting-javascript-to-work-web-hosting-solutions/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Web hosting servers - 1349Chapter 52 .Application: Outline-Style Table of Contents One</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/web-hosting-servers-1349chapter-52-application-outline-style-table-of-contents-one/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/web-hosting-servers-1349chapter-52-application-outline-style-table-of-contents-one/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 19:08:26 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/web-hosting-servers-1349chapter-52-application-outline-style-table-of-contents-one/</guid>
		<description><![CDATA[1349Chapter 52 .Application: Outline-Style Table of Contents  One of the fine points of the design of this outline is the way space to the left of  each entry is assembled. Unlike the earlier outlines in this chapter, this one displays  vertical dotted lines connecting nodes at the same level. There isn t [...]]]></description>
			<content:encoded><![CDATA[<p>1349Chapter 52 .Application: Outline-Style Table of Contents  One of the fine points of the design of this outline is the way space to the left of  each entry is assembled. Unlike the earlier outlines in this chapter, this one displays  vertical dotted lines connecting nodes at the same level. There isn t a vertical  line for every clickable node appearing above the item, because a clickable node  may have no additional siblings, meaning that the space is blank. To see what I  mean, open the OPML example, and expand the Peas and Canned nodes (or see  Figure 52-2). The Canned node is the end of the second  column,  so the space  beneath the icon is blank. That s what some of the code in makeHTML()named  prefix   is dealing with: Accumulating just the right combination of dotted line  (chain.gif) and blank (empty.gif) images in sequence before the outline entry.   Another frequent construction throughout this function is a three-level conditional  expression. This construction is used to determine whether the image just to  the left of the item s text should be a start, middle, or end version of the image. The  differences among them are subtle (having to do with how the vertical dotted line  extends above or below the widgets). All of these decisions are made from information  revealed by the inherent structure of the OPML element nesting. The listing in  the book looks longer than it truly is because so many long or deeply nested lines  must be wrapped to the next line. Viewing the actual file in your text editor should  calm your fears a bit.   // counters for reflexive calls to makeHTML()  var currID = 0  var blockID = 0  // generate HTML for outline  function makeHTML(outlineID, ol, prefix) {   var output =      var nestCount, link, nestPrefix   prefix = (prefix) ? prefix :      for (var i = 0; i < ol.childNodes.length ; i++) {   nestCount = ol.childNodes[i].childNodes.length   output +=  <DIV CLASS= row  ID= line  + currID++ +   >n    if (nestCount > 0) {   // for entries that are also parents   output += prefix   output +=  <IMG ID= widget  + (currID-1) +      SRC=   + ((i== ol.childNodes.length-1) ?   collapsedWidgetEnd : (blockID==0) ?   collapsedWidgetStart : collapsedWidget)   output +=    HEIGHT=  + widgetHeight +   WIDTH=  +   widgetWidth   output +=   TITLE= Click to expand/collapse nested items.    onClick= toggle(this,  + blockID +  ) >    // if a uri is specified, wrap the text inside a link   link = (ol.childNodes[i].getAttribute( uri )) ?   ol.childNodes[i].getAttribute( uri ) :      if (link) {   output +=  &nbsp;<A HREF=   + link +      CLASS= itemTitle  TITLE=   + link +      TARGET=   + displayTarget +   >    } else {   output +=  &nbsp;<A CLASS= itemTitle  TITLE=   +   link +   >    }   // finally! the actual text of the entry    <br />If you are searching for cheap webhost for your web application, please visit <a href="http://tomcat.wikiwebsitehosting.com">MySQL5 Web Hosting</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/web-hosting-servers-1349chapter-52-application-outline-style-table-of-contents-one/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>1348 Part V . Putting JavaScript to Work  (Web server info)</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/1348-part-v-putting-javascript-to-work-web-server-info/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/1348-part-v-putting-javascript-to-work-web-server-info/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 09:24:55 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/1348-part-v-putting-javascript-to-work-web-server-info/</guid>
		<description><![CDATA[1348 Part V . Putting JavaScript to Work   the entire outline HTML to be assigned to the innerHTML property of the empty DIV  element delivered with the document.   // initialize first time  function init(outlineID) {   if (supportVerified(outlineID)) {   // demo how to get outline head [...]]]></description>
			<content:encoded><![CDATA[<p>1348 Part V . Putting JavaScript to Work   the entire outline HTML to be assigned to the innerHTML property of the empty DIV  element delivered with the document.   // initialize first time  function init(outlineID) {   if (supportVerified(outlineID)) {   // demo how to get outline head elements   var hdr =  document.getElementById(outlineID).getElementsByTagName( head )[0]   // get outline body elements for iterative conversion to HTML   var ol =  document.getElementById(outlineID).getElementsByTagName( body )[0]   // wrap whole outline HTML in a span   var olHTML =  <SPAN ID= renderedOL >  +   makeHTML(outlineID, ol) +  </SPAN>    // throw HTML into  content  DIV for display   document.getElementById( content ).innerHTML = olHTML   initExpand(outlineID)   }  }   Validation of browser support is handled by the supportVerified() function.  This function is in search of the XMLDocumentproperty of the XML element object.  The property s presence indicates that the browser has what it takes to treat  embedded XML as a data island. Incremental tests are needed so that earlier  browsers don t choke on the reference to the property.   // verify that browser supports XML islands   function supportVerified(testID) {   if (document.getElementById &#038;&#038;   document.getElementById(testID) &#038;&#038;   document.getElementById(testID).XMLDocument) {   return true  } else {  var reply = confirm( This example requires a browser with XML data  island support, such as IE5+/Windows. Go back to previous page? )  if (reply) {  history.back()  } else {  return false   }   }   return false  }   Accumulating the HTML   From the init()function, a call to the makeHTML() function starts the most  complex actions of the scripts on this page. This function walks the node hierarchy  of the outline s BODY elements, deciphering which ones are containers and which  ones are end points.   Two global variables are used to keep track of how far the node walk progresses  because this function calls itself from time to time to handle nested branches of the  node tree. Because a reflexive call to a function starts out with new values for local  variables, the globals operate as pointers to let statements in the function know  which node is being accessed. The numbers get applied to an ID attribute assigned  to the DIV elements holding the content.    <br />You need excellent and relaible webhost company to host your web applications? Then pay a visit to <a href="http://www.wikiwebsitehosting.com">Inexpensive Web Hosting</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/1348-part-v-putting-javascript-to-work-web-server-info/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>1347Chapter 52 .Application: Outline-Style Table of Contents Also,  (My web site)</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/1347chapter-52-application-outline-style-table-of-contents-also-my-web-site/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/1347chapter-52-application-outline-style-table-of-contents-also-my-web-site/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 22:14:47 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/1347chapter-52-application-outline-style-table-of-contents-also-my-web-site/</guid>
		<description><![CDATA[1347Chapter 52 .Application: Outline-Style Table of Contents  Also, go back to the top of the document to see the style sheets, which have an  important place in delivering an XML island:        XML {display:none} .row {vertical-align:middle; font-size:12px; font-family:Arial,sans-serif} .OLBlock {display:none} IMG {vertical-align:text-top}      [...]]]></description>
			<content:encoded><![CDATA[<p>1347Chapter 52 .Application: Outline-Style Table of Contents  Also, go back to the top of the document to see the style sheets, which have an  important place in delivering an XML island:   <HTML> <HEAD> <STYLE TYPE= text/css >   XML {display:none} .row {vertical-align:middle; font-size:12px; font-family:Arial,sans-serif} .OLBlock {display:none} IMG {vertical-align:text-top}   </STYLE>   To prevent the XML block from rendering on the page, the displaystyle property  is set to nonefor the XML tag selector. This keeps the page clear for insertion  of script-generated HTML. The other style sheet rules apply to content created by  the scripts.   Setting the scripted stage   All scripts for this page are in the HEAD (although they could also be linked in  from an external .js file). First on the docket is establishing several global variables  that get used a lot within the rest of the code and make it easy to customize  important visible properties, especially widget art. Due to the art choices made for  this version, there are separate versions for items that appear as first, middle, and  end items for different nesting states.   <SCRIPT LANGUAGE= JavaScript > // global variables // art files and sizes for widget styles and spacers // (all images must have same height/width) var collapsedWidget =  oplus.gif  var collapsedWidgetStart =  oplusStart.gif  var collapsedWidgetEnd =  oplusEnd.gif  var expandedWidget =  ominus.gif  var expandedWidgetStart =  ominusStart.gif  var expandedWidgetEnd =  ominusEnd.gif  var nodeWidget =  onode.gif  var nodeWidgetEnd =  onodeEnd.gif  var emptySpace =  oempty.gif  var chainSpace =  ochain.gif  var widgetWidth =  20  var widgetHeight =  16  var currState =    var displayTarget =  Frame2    The init() function, invoked by the onLoad event handler, starts the content  creation in motion. The basic sequence is to first make sure that the browser is  capable of recognizing an XML data island. If the validation is okay, then a reference  to the BODY portion of the outline data is retrieved so that many other functions  are able to dive into the outliner hierarchy. Notice that elements of the XML data  island are disguised from view of the document object s normal scope. Access must  be made by way of the XML object, which then exposes its elements. The reference  to the OPML BODY element is passed to the makeHTML()function, which returns    <br />From our experience, we are can tell you that you can find a reliable and cheap webhost service at <a href="http://www.bluewebsitehosting.net">Java Web Hosting</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/1347chapter-52-application-outline-style-table-of-contents-also-my-web-site/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Java web server - 1346 Part V . Putting JavaScript to Work</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/java-web-server-1346-part-v-putting-javascript-to-work/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/java-web-server-1346-part-v-putting-javascript-to-work/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 12:19:01 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/java-web-server-1346-part-v-putting-javascript-to-work/</guid>
		<description><![CDATA[1346 Part V . Putting JavaScript to Work   The XML and HTML code   Because our focus is so tight on the outliner content, you can start the explo   ration of the outliner code from the HTML BODY element downward, where the out   line data is embedded in [...]]]></description>
			<content:encoded><![CDATA[<p>1346 Part V . Putting JavaScript to Work   The XML and HTML code   Because our focus is so tight on the outliner content, you can start the explo   ration of the outliner code from the HTML BODY element downward, where the out   line data is embedded in an IE5+/Windows XML element.   <BODY onLoad= init( outlineXML ) > <XML ID= outlineXML > <opml version= 1.0 >   <head>    <dateCreated>Thu, 16 Nov 2000 02:40:00 GMT</dateCreated>  <dateModified>Fri, 22 Dec 2000 19:35:00 GMT</dateModified>  <ownerName>Danny Goodman</ownerName>  <ownerEmail>dannyg@dannyg.com</ownerEmail>  <expansionState></expansionState>  <vertScrollState>1</vertScrollState>  <windowTop></windowTop>  <windowLeft></windowLeft>  <windowBottom></windowBottom>  <windowRight></windowRight>   </head>   <body>   <outline text= Peas >  <outline text= Boiled  uri= foods.htm#boiled />  <outline text= Canned  uri= foods.htm#canned >   <outline text= Alaska  uri= foods.htm#alaska />  <outline text= Low-Sodium  uri= foods.htm#losodium />   </outline>  </outline>  <outline text= Pickles >   <outline text= Cucumber  uri= foods.htm#cucumber >  <outline text= Dill  uri= foods.htm#dill />  <outline text= Fresh  uri= foods.htm#fresh />  <outline text= Sour  uri= foods.htm#sour />   </outline> </outline>   </body>   </opml>   </XML>   <DIV ID= content ></DIV> </BODY> </HTML>   Everything inside the XML element is textbook OPML version 1.0 form. Notice   that the OPML syntax reuses element names that are found in all HTML files (for   example, head, title, body). The XML island behavior isolates these tags from the   browser s HTML rendering engine, so the browser won t confuse the two  docu   ments.  The only other HTML delivered in the document is an empty DIV element,   which is used as the container for the outline HTML that the scripts generate as a   result of the onLoadevent handler s invocation of the init()function.    <br />Check <a href="http://domain.bluewebsitehosting.net">Tomcat Web Hosting</a> services for best quality webspace to host your web application.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/java-web-server-1346-part-v-putting-javascript-to-work/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>1345Chapter 52 .Application: Outline-Style Table of Contents Figure  (Web server info)</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/1345chapter-52-application-outline-style-table-of-contents-figure-web-server-info/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/1345chapter-52-application-outline-style-table-of-contents-figure-web-server-info/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 00:28:31 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/1345chapter-52-application-outline-style-table-of-contents-figure-web-server-info/</guid>
		<description><![CDATA[1345Chapter 52 .Application: Outline-Style Table of Contents  Figure 52-2: OPML-based outliner style  If you want to associate more information about an entry, simply add an  attribute. For example, if an entry is to behave as a link, you can convey that information  with an attribute whose name you determine. When it [...]]]></description>
			<content:encoded><![CDATA[<p>1345Chapter 52 .Application: Outline-Style Table of Contents  Figure 52-2: OPML-based outliner style  If you want to associate more information about an entry, simply add an  attribute. For example, if an entry is to behave as a link, you can convey that information  with an attribute whose name you determine. When it comes time for your  scripts to render the content in HTML, the scripts access the attribute values and  generate the associated HTML for the attributes (you see an example of this in the  code).   The true beauty of the OPML structure (and XML in general) is that the  parent child relationships are automatically implied by the element containment.  Unlike the JavaScript custom object in the first example, the author does not have  to specify how many levels deep an entry is, or whether it has any child nodes: The  XML containment hierarchy describes all of that information. Suddenly, all of the  W3C DOM gobbledygook about nodes, child nodes, and attributes become your  friend, as your scripts convert the element hierarchy into a renderable hierarchy of  your design.    <br />In case you need quality webspace to host and run your web applications, try our <a href="http://j2ee.wikiwebsitehosting.com">personal web hosting</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/1345chapter-52-application-outline-style-table-of-contents-figure-web-server-info/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>1344 Part V . Putting JavaScript to  (Web host music) Work</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/1344-part-v-putting-javascript-to-web-host-music-work/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/1344-part-v-putting-javascript-to-web-host-music-work/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 14:20:55 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/1344-part-v-putting-javascript-to-web-host-music-work/</guid>
		<description><![CDATA[1344 Part V . Putting JavaScript to Work   written by software, not humans (although humans input the data via a user- friendly front-end provided by the software). Even so, the format of an OPML outline  is extremely readable by humans, and, with little more trouble than writing  basic HTML tags manually, [...]]]></description>
			<content:encoded><![CDATA[<p>1344 Part V . Putting JavaScript to Work   written by software, not humans (although humans input the data via a user- friendly front-end provided by the software). Even so, the format of an OPML outline  is extremely readable by humans, and, with little more trouble than writing  basic HTML tags manually, you can represent an outline in this format yourself.   A plain OPML file, saved as an .xml file, can be viewed through the native XML  parsers of IE5+ and NN6. These parsers automatically render XML tags in the same  hierarchical fashion as OPML encourages outlines to be structured. But such rendering  is under strict control of the browser, unless you also get involved with XML  style sheets (the XSL and XSLT standards), at which point, browser implementation  incompatibilities can make the going tough.   I liked the OPML data format when I first saw it, and I think it s a convenient way  to convey an outline s data to the client, at which point JavaScript and the  browser s DOM can take over to provide interesting visuals for the content and  interaction with the content. Thus was born the last example of this chapter, in  which the outliner s data is delivered not in the form of scripted arrays or hard- wired HTML DIV elements. Instead, the data arrives in its native XML (OPML) format  inside an IE5+/Windows XML data island. Rendering of the native XML is  suppressed, and scripts take over to do the rest.   OPML outliner prep   The appearance of widgets and text for the new outliner has changed to more  closely emulate the kinds of outline presentations that you see in some Windows  programs (see Figure 52-2). For demonstration purposes, the same frameset structure  and outline content from earlier examples are used for the OPML version so  that you can more easily see the differences in implementations and grasp new concepts  presented here. For example, the comparison of how the outline data is delivered  in the form of JavaScript objects (the first example) and OPML is enlightening.   As you recall, a custom object constructor function generated one JavaScript  object for each outline entry. The properties of the object are completely under  your control, so that you can add properties (such as the target of an entry s link),  whose values influence the way the entry is rendered and the way it behaves.  OPML has a similar extensibility feature. Each outline entry is nothing more than a  tag. An entry that does not have any nested child nodes can use the XML shortcut  of combining a start and end tag inside one set of angle brackets:   <tagName attribute= value  ... />   And any entry that has nested nodes contains the nested nodes between its start  and end tags, as shown here with the actual tag names used in OPML (indentation  is optional, but increases readability):   <outline text= text >   <outline text= text />   <outline text= text />  </outline    <br />Searching for affordable and reliable webhost to host and run your web applications? Go to our <a href="http://www.solidwebhosting.net">java web server</a> services and you will be pleased.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/1344-part-v-putting-javascript-to-web-host-music-work/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Simple web server - 1343Chapter 52 .Application: Outline-Style Table of Contents onMouseOut= status=  ;return</title>
		<link>http://mysql5.solidwebhosting.net/mysql5/simple-web-server-1343chapter-52-application-outline-style-table-of-contents-onmouseout-status-return/</link>
		<comments>http://mysql5.solidwebhosting.net/mysql5/simple-web-server-1343chapter-52-application-outline-style-table-of-contents-onmouseout-status-return/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 02:23:11 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>MySQL5</category>
		<guid isPermaLink="false">http://mysql5.solidwebhosting.net/mysql5/simple-web-server-1343chapter-52-application-outline-style-table-of-contents-onmouseout-status-return/</guid>
		<description><![CDATA[1343Chapter 52 .Application: Outline-Style Table of Contents  onMouseOut= status=  ;return true >  &#160;Fresh          &#160;Sour                  The CSS version (for the identical outline content) is a slightly smaller [...]]]></description>
			<content:encoded><![CDATA[<p>1343Chapter 52 .Application: Outline-Style Table of Contents  onMouseOut= status=  ;return true >  <IMG SRC= end.gif  HEIGHT=12 WIDTH=12  BORDER=0></A>&nbsp;<A HREF= foods.htm#fresh   TARGET=Frame2>Fresh</A><BR>   </DIV>   <DIV CLASS=indent2 ID= a9 >  <A HREF= javascript:void(0)   onMouseOver= status= No further items ;return true   onMouseOut= status=  ;return true >  <IMG SRC= end.gif  HEIGHT=12 WIDTH=12  BORDER=0></A>&nbsp;<A HREF= foods.htm#sour   TARGET=Frame2>Sour</A><BR>   </DIV>   </DIV>   </DIV>   </BODY>   </HTML>   The CSS version (for the identical outline content) is a slightly smaller file size   than the older, compatible one, but not so big a difference as to influence your   choice. Browser compatibility should be your number one criterion. Ease of modifi   cation for changing content and improved user experience for browsers following   the CSS branch are tied in second.   A Futuristic (XML) Outline   As XML and its associated technologies head toward a solid standardized foot   ing, the latest browsers available as this edition is being written provide mixed sup   port for some of the key features of an ideal environment. As those issues are   sorting themselves out, getting to know portions of XML through the IE5+/Windows   XML data island features is possible. While it s not normally okay to embed XML in   an HTML document (that is, the two designations specify unique document types),   IE5+/Windows provides an <XML>tag, in which you can insert XML tags. Scripts can   access the elements inside the XML data island, referencing those elements as child   nodes of the XML element. See Chapter 33 for the reference material on the IE XML   element.   Birth of an XML specification   Collapsible outlines provide convenient ways to organize hierarchical informa   tion all around us. You d be hard-pressed to find a more active proponent of the   outline than Dave Winer, CEO of UserLand Software, Inc.   (http://www.userland.com). Dave is a veteran software developer, as well as   author and outspoken Web publisher. His www.scripting.comWeb site is a popu   lar destination if you want to find out the latest Internet and computing technology    buzz.    As an outgrowth of development for his company s Web tools, Dave looked to   the XML structure to assist in representing outline content in a shareable, easily   parseable format. The result is a specification called Outline Processor Markup   Language, or OPML for short. You can read all about the formal specification at   http://www.opml.org/spec. Like virtually all XML, OPML is intended to be    <br />From our experience, we can recommend <a href="http://php5.bluewebsitehosting.net">PHP5 Web Hosting</a> services, if you need affordable webhost to host and run your web application.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://mysql5.solidwebhosting.net/mysql5/simple-web-server-1343chapter-52-application-outline-style-table-of-contents-onmouseout-status-return/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
