Friday, September 03, 2010   
  Search   
 

Office 2010 - Launch Event

Register  Login  
Forums  
     Minimize  

MeraWindows Forums - Get your Computer Problems Fixed

This is a site run by the community - for the community. At the site, we share and contribute our computer learnings with each other. We discuss about Windows, Office, Mobile, Gaming and other computer related topics. At our forums you can post your queries and our very helpful community members will respond quickly to your queries. We organize lots of competitions from time to time and award prizes to the winners.
You will need to register at the site before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  
 
Computer Forums for Windows UsersComputer Forums for Windows UsersMicrosoft Offic...Microsoft Offic...Microsoft WordMicrosoft WordCreate a collapsible list in Microsoft WordCreate a collapsible list in Microsoft Word
Previous Previous
 
Next Next
New Post
 12/1/2008 9:04 PM
 

 Years ago, I promised my cousin Bill (who doesn't have a TV show, by the way) that I would convert the family tree he had created into a Web page. It was pretty easy to find various JavaScripts that let you open menus and submenus, either by clicking or simply by hovering over them.

The only problem was the unwieldy HTML coding required to ensure that the lists opened and closed, as expected. What ended up working better for me was Microsoft Word's Outline view, which lets you use headings to show and hide information in a tree structure.

The O'Reilly family tree my cousin created has about 500 names and covers seven generations, which convert to Word's headings 1 through 7. To view the entries as collapsible and expandable lists in Word 2003 and 2007, click View > Outline. Any entry with a plus sign on the left has subentries; double-click the plus sign to view or hide the entries.

 

Microsoft Word 2007's Outline view

Use Word's headings and Outline view to place hierarchical information in a collapsible tree structure.

(Credit: Microsoft)

 

Then I took the list one step further by linking the names on the family tree to a mini "Web site" with basic biographies of family members. (For obvious privacy reasons, I'm keeping this entire family database off the public Web. The individual files reside in a single folder stored on local media, not a Web server.)

I used an HTML editor to create a page that duplicates the entries and links on the family tree in the Word file. Unfortunately, HTML supports only six levels of headings, so I manually italicized the seventh-level entries to distinguish them from the tiny sixth-generation names.

 

Microsoft Word's headings converted to HTML equivalents

Convert Microsoft Word's headings to their HTML equivalent--to an extent.

(Credit: Dennis O'Reilly)

 

You can Ctrl-click to follow the links in Microsoft Word and link back from the HTML file to the Word document. Still, I prefer to link from the HTML pages to the HTML version of the family tree, even though that version isn't formatted in collapsible lists. I guess I'm back to looking for the JavaScript or DHTML that will preserve the headings hierarchy while adding the show-hide capability of collapsible lists.

news.cnet.com/8301-13880_3-10109982-68.html


Previous Previous
 
Next Next
Computer Forums for Windows UsersComputer Forums for Windows UsersMicrosoft Offic...Microsoft Offic...Microsoft WordMicrosoft WordCreate a collapsible list in Microsoft WordCreate a collapsible list in Microsoft Word



 

   User Log In Minimize  


Register
Forgot Password ?

     
  
   Top Contributors Minimize  
Most Active Users for 1 Week
UserTotalPosts
soumya 48
samagg 35
ankur mittal 27
vasu.jain 27
abhishek_ghosh_inc 25
     
  
   Follow Us Minimize  

MeraWindows

Follow abhishekkant on Twitter

Windows Live Alerts

     
  
     Minimize