ToolBar Button

Hi,
I want to know how to open a

link for popup window by clicking a button on toolbar?
Ex:
In HTML we are doing like this,

<a href="#inline">Click here</a>
<div id="inline"> //Some code here </div>

How I can implement this using a onClick on a toolbar button?
I’m using this function.

toolbar.attachEvent("onClick", function(id){

///some code here

});

Hi
Here is a sample for you
anchor.rar (416 KB)