Hi Dobly,
Quote:Now I could use XSLT to write out a dropdown list with my values in it. But how on earth would I get an 'On click' event attached dynamically to each?
I would write out the complete dropdown using xslt, attach an event handler to the onChange event of the dropdown (Here's just
an example of what I mean).
Quote:I'm thinking I'll need a usercontrol for this. What do you think?
And if so, has anyone there got some example code that reads the umbraco xml file and extracts the navigation (or anything else for that matter)
You could use that one too as well. Have a look at the umbraco API
here. It's NOT a good idea to read the umbraco xml yourself!
Hope that helps.
Regards,
/Dirk
level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at
netaddicts.be - working on an integrated forum4umbraco