That worked like a charm...jscheuer1 dude u really rock..
I tried using some more creativity and used the DIV function of the DHTMl Window widget..But the images arent been displayed...
I used this code..
Code:
function popuplinkfunc(imgsrc){
if (popupsetting[0]==1){
'<div id="somediv" style="display:none">
<p style="height: 400px">This is some content within a DIV, shown inside this window instead</p>
<img src="'+imgsrc.href+'">
</div>'
dhtmlwindow.open('divbox', 'div', 'somediv', '#4: DIV Window Title', 'width=450px,height=300px,left=200px,top=150px,resize=1,scrolling=1');
return false
}
else
return true
}
is it correct????
Bookmarks