The following is code that makes the two rectangles in figure 1 interactive:

Set up data
x.links = as.data.frame(matrix(rep(NA, 6), nrow=2))
x.links[,1] = "code.html/codeFigure1.html, code.html/initializeObject.html"
x.links[,2] = "code.html/rectangle.interactive.html, code.html/interactiveFigure1.html"
x.links[,3] = "code.html/completeCodeFigure1.html, code.html/completeCode.html"
names(x.links) = c("code", "interactive", "completeCode")

Add to object
Splot = makeImap(Splot, figure=1, xy.type="rect",
                               x.pos=c(3,1), y.pos=c(25,5),x.right.pos=c(4,2), y.bottom.pos=c(20,0),
                               x.labels = as.data.frame(list(Xlabel.1=c("rect.1","rect.2"),
                                                                           Xlabel.2.coordinates=c("3,20-3,25-4,25-4,20","1,0-1,5-2,5-2,0"),
                                                                           asLinks=c("im a link", "im a link"))),
                               y.labels = list(tooltip.size=c("8","8"), tooltip.fontcolor=c("cyan","cyan"), tooltip.background=c("black","black")),
                               asLinks = "http://www.buffalo.edu", fname.root="sendPlotEx", spot.radius=10, x.links=x.links,
                               font.size=8, font.color="cyan", bg.color="black")