All: I have a req to call a new page (like a popup) from hyperlink on a datalist. the new window would not display the IE toolbars and the address bar and should except a the image name passed from the hyperlink. Background: I have a datalist. This datalist
is repeated horizontally 5 times. It dispays the thumbnail images like a photo Gallery. This Image has an hyperlink associated with the thumbnail . On Clicking the hyperlink I would like to pop up a window (IE or Netscape) with no toolbar and addressbar. It
should except the parameter passed from the hyperlink and Display the single image if possible it should size itself to the window. Appreciate if someone can help me call the javascript from aspx page (from the hyperlink in the datalist)
Charley: It did not work. I have to pass parameters to this window to be popped up and I could not get the right syntax for it. a href="javascript:popUp('disp.aspx?disp= Iamge URL is a public function and it too had similar probelms. Appreciate your help.
JamesHenry
Member
65 Points
13 Posts
Calling a new page from datalist with hyperink.
Aug 06, 2003 03:44 PM|LINK
bogz
Member
20 Points
4 Posts
Re: Calling a new page from datalist with hyperink.
Aug 06, 2003 05:55 PM|LINK
<script language="javascript"> function popUp(URL) { window.open(URL, '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=400'); } </script>Hope this helps! Charley.JamesHenry
Member
65 Points
13 Posts
Re: Calling a new page from datalist with hyperink.
Aug 07, 2003 11:50 AM|LINK