I've been working on an html export and using CSS to display the results. There's one small snag that has crept up and I'm hoping someone here can shed some light. i/expressions/face-icon-small-smile.gif
Since I'm using unordered lists, I have to leave the
[*] open in order to start a new list if there are any child elements. This works just fine as long as every top level task has child elements, but it all breaks down if there isn't any. Take a look at the code and you'll see what I mean.
I was wondering if there was any way to do a conditional export?
What I wish I had was the ability to say "IF there are child elements then don't close the list" "Else, close the list" Is there any way to do this? Hopefully I've made myself clear, but this can get confusing in a hurry.
Thanks in advance.
Page 1 of 1
Export With If, Else?
#2
Posted 02 December 2005 - 07:38 PM
There are no conditional statements but...
[BRANCH_BEGIN] [BRANCH_END] are used for items that have children.
[LEAF_BEGIN] [LEAF_END] are used for items that do not have children.
[BRANCH_BEGIN] [BRANCH_END] are used for items that have children.
[LEAF_BEGIN] [LEAF_END] are used for items that do not have children.
#3
Posted 06 December 2005 - 02:08 AM
George,
Thank you, that helped me figure out one of my issues. i/expressions/face-icon-small-smile.gif
Thank you, that helped me figure out one of my issues. i/expressions/face-icon-small-smile.gif
Share this topic:
Page 1 of 1

Help











