PDA

View Full Version : Accordion panel and link in center



teddy11
9 Mar 2012, 8:41 AM
Hi,

Sorry to keep asking this question but I can not figure this out.
http://www.myethiopia.org/QuickLinks/main2.html
go to SVG Maps and click on Shapefiles.
Notice it opens in a new page. What I want is for the page to open in the center panel.
How can I do that?

mitchellsimoens
9 Mar 2012, 12:29 PM
You need to capture the click and stop it.


panel.mon(panel.body, {
scope : panel,
delegate : 'a',
click : function(e) {
e.stopEvent();

//do what you need
}
});

teddy11
15 Mar 2012, 7:59 AM
I appreciate the help but I simply can not make this work.
Does someone have any clue how to make this work?
I would be grateful for any working example.
thanks.