[ic] Re: TAG understanding problem

Gert van der Spoel ic at 3edge.com
Wed Feb 22 04:20:10 EST 2006


Georg Brugger writes: 

> Dear all, 
> 
> currently I am trying to get familiar with interchange by playing around
> with a copy of the foundation shop. The example (testshop) works pretty
> fine. 
> 
> One problem I have: I want to click on a small picture in the selected
> product list  in order to get a big one in a new window. I did: 
> 
> 1) Inserted a statement in the results-buylist to show the small picture
> (smallpic). In case you click the small picture the big one (bigpic) should
> show up in an extra window: 
> 
> <a href=javascript:void()> <img src="items/[item-field smallpic]" border=0
> onClick="window.open('[area BgrossJS [item-code]]'
> ,'Artikelbilder','scrollbars=auto, resizable=yes, scrollbars=yes
> status=no,width=400,height=500'); return false;" > </a> 
> 
> 2) Calling with the browser I can see the following code: 
> 
> <a href=javascript:void()> <img
> src="/testshop/images/items/a_009auferstehung_kl.jpg" border=0
> onClick="window.open('http://linuxserver/cgi-bin/testshop/BgrossJS.html?mv_a
> rg=A%2d009' ,'Artikelbilder','scrollbars=auto, resizable=yes, scrollbars=yes
> status=no,width=400,height=500'); return false;" > </a> 
> 
> 
> 3) This is the content of the BgrossJS.html file 
> 
> <html>
> <head><title> </title>
> </head>
> <body> 
> 
>  <IMG SRC="items/[item-field bigpic]" BORDER=0>
 


Perhaps try:
<IMG SRC="items/[cgi mv_arg]" BORDER=0> 


Working example:
http://www.allcarmodels.com/acm/CMCM-051.html 

Click on any image and it should popup a bigger version with images. 

 

> 
> </body>
> </html> 
> 
> 
> Result:  The result of the click is always an empty new window. I expected
> the Bigpic in the new window. 
> 
> 
> Question: Can someone tell me what is wrong. I assume I have some wrong
> understanding with the [item-field ....] ?? 
> 
> 
> Thank you in advance for your help 
> 
> 
> Georg 
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
 



More information about the interchange-users mailing list