Rank: Advanced Member Groups: Member
Joined: 8/4/2007 Posts: 42
|
This may get convoluted.
What I want to acheive is using a treeview in one pane of a frameset where the Navigate URL is set to display in another pane in the frameset. This works fine by setting the Target to the name of the frame. What I want to add is the ability to say Shift-Click on the tree view and if the Shift key is down, change the Target to _blank so that the page opens outside of the frameset in a new window. A plain link could do this but isn't as pretty as your treeview. :-)
I'd also love to do a Ctrl-Click and have it load in a Tab in a tabbed browser but I don't think javascript understands tabs yet.
Any ideas?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi Arnold,
The TreeView won't do that. It is possible to implement by handling ClientSideOnItemClick and then use JavaScript to check the ctrl/shift key state by yourself. However it can get rather complicated to support all browsers. Generally speaking it doesn't seem to be a good idea to implement this because browser already gave special meaning to ctrl/shift keys and different browser implements them differently. Some even changes between versions.
Thanks
|