/    Sign up×
Community /Pin to ProfileBookmark

Tree View animations

Hi, I’m attempting to implement a tree menu. I’ve had some success by hiding a node’s <div> tag and showing it when clicked, etc.

However, I am aiming to implement some animation for the tree control – when a branch is clicked, rather than ‘pop’ the child nodes into view, i’d like the rest of the tree to slide down.

I looked into clipping as potentially being a way to implement this and it certainly looks viable. However, browsers require that the position style be set to ‘absolute’ for clipping to have any effect. This means that any branches that are expanded are drawn over nodes further down the tree.

What I am asking for is some pointers to articles where this has been implemented already or some help with moving all the other nodes down the page as a branch is expanded.

If you are wondering what sort of animation I mean, check out:

[URL=http://www.componentart.com/demos/treeview/features/core_features/default.aspx]http://www.componentart.com/demos/treeview/features/core_features/default.aspx[/URL]

The animation implemented here is exactly the sort of thing I am after, but being a .NET control, the generated code and stored .js files are very much obfuscated.

Thanks in advance

Gary Hall

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@gurhallauthorAug 25.2004 — I'll try again. Does anyone have *anything* that might help?
×

Success!

Help @gurhall spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...