shakim
09-07-2006, 06:53 PM
I am using Dojo's Toolkit 0.3.
I am new to javascripting and webdev in general. This is the sample code I
am using. How do I make the image open up a url?
<div dojoType="FisheyeList"
itemWidth="40" itemHeight="40"
itemMaxWidth="150" itemMaxHeight="150"
orientation="horizontal"
effectUnits="2"
itemPadding="10"
attachEdge="center"
labelEdge="bottom"
>
<div dojoType="FisheyeListItem"
id="item1"
onclick="alert('click on' + this.caption + '(from widget id ' +
this.widgetId + ')!');"
caption="Item 1"
iconsrc="images/fisheye_1.png">
</div>
<div dojoType="FisheyeListItem"
caption="Item 2"
iconsrc="images/fisheye_2.png">
</div>
I am new to javascripting and webdev in general. This is the sample code I
am using. How do I make the image open up a url?
<div dojoType="FisheyeList"
itemWidth="40" itemHeight="40"
itemMaxWidth="150" itemMaxHeight="150"
orientation="horizontal"
effectUnits="2"
itemPadding="10"
attachEdge="center"
labelEdge="bottom"
>
<div dojoType="FisheyeListItem"
id="item1"
onclick="alert('click on' + this.caption + '(from widget id ' +
this.widgetId + ')!');"
caption="Item 1"
iconsrc="images/fisheye_1.png">
</div>
<div dojoType="FisheyeListItem"
caption="Item 2"
iconsrc="images/fisheye_2.png">
</div>