Hello,
I have problem in opening the new window in javascript in javascript using window.open(url, windowname, etc..), the url is broken.
when I click on thumbnail image, I have to show the larger version of image,
my image path goes like this...
a href ="javascript:myPopup("//shor/project/webapp/images/beach.jpg", "somename")>
so... my images are to be fetched from folder, when I am passing them to javascript function
the url when printed in javascript function is not as original one but is coming out as
/shorprojectwebappimagesbeach.jpg, path is broken, thus in new window it is telling could not find resource.
how do I get original path in javascript.. if it is not possible with javascript, how do I do in
java, I wanted to use javascript instead of directly opening image from
because in the new window I dont want to have menu bar, tool bar, directories etc, is it possible to do that in java itself ie opening a new window without having menu bar, tool bar etc. By the way I have set of images that needs to be fetched from folder, so my logic is in for loop , not just one image.
thanks in advance for any help,
Sujatha.