|
|
|
|
|
|
|
|
|
|
|
|
|
|
Expanding and collapsing response document rows with Domino and Internet Explorer (continued)
Save and close the view.
Create a form
Create a new form and name it "myform". Enter the following into the form and embed the view where indicated:
<style type="text/css">
#mytable {display: block;}
#myrow {display: block;}
</style>
<table id='mytable'>
EMBED THE VIEW 'myview' HERE
</table>
<noscript>
|
Right click on the embedded view and select "embedded view". Ensure that "display" is set to "Using HTML". Then select the entire contents of the form and select "Text" and "Pass thru HTML".
In the form properties, ensure that "Treat document contents as HTML" is off.
Save and close the form.
Testing our Lotus Domino example Lets now test the Lotus Domino example that we just created. Using Internet Explorer, type in the URL to the form that we have just created:
You should then see the following repeating for each document in the view/database:
this is a table row
this is a table row
this is a table row
this is a table row
|
Notice that all table rows are displayed because their CSS display property is set to "block". You can hide all table rows by changing the CSS display property from #myrow {display: block;} to #myrow {display: none;}.
Okay, so we've illustrated the technique in Domino, but it's not so interesting because it just shows or hides all rows in the table. It doesn't allow control over individual rows. In my next article, we'll get fancy, adding response documents to our view and preparing to selectively show or hide all the responses for any row. Stay tuned!
Easy, flexible article reprints ZATZ now offers a quick, easy, flexible and inexpensive way to use article reprints in your marketing and promotion efforts. You can now get article reprints for a one-time fee of only $200. For details, visit http://mediakit.zatz.com/reprints.
|
Andrew Stuart is a software designer, consultant and Lotus Domino programmer and has been working with computers for 16 years. Andrew is Managing Director of Touchdown Systems Design in Melbourne Australia at http://www.touchdown.com.au. He can be reached at astuart@mira.net.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done.
Native to Lotus Domino. The User Experience unseen for Lotus Domino.
Do more with less. Really.
See the possibilities Docova unleashes for Lotus Domino. |
-- Advertisement --
Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.
Register by April 10 to save $200. |
|
|
|
|
|
|
|
|
|
|