Re: [Zope] open image in a fitted new window
Thanks Jonathan, I can understand your point. So I will google for a way (example/tutorial) of how integrating javascript in a zpt. Cheers, Alan On 22/03/07, Jonathan <[EMAIL PROTECTED]> wrote: - Original Message - From: "Alan" <[EMAIL PROTECTED]> To: "Maciej Wisniowski" <[EMAIL PROTECTED]> Cc: Sent: Thursday, March 22, 2007 9:01 AM Subject: Re: [Zope] open image in a fitted new window > The answer to your question is Yes if there's no other way of clicking > on a link and open an image in a fitted new window of my browser that > zope can cope without using javascript. > > But putting in other words what I really would like to know: does zope > have its own way of clicking on a link and open an image in a fitted > new window without buttons, address field etc.? Zope only performs server-side actions. What you are describing are actions that occur on the client-side (ie. on the user's pc/browser), therefore you must use client-side tools (ie. javascript). Jonathan -- Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28<< ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] open image in a fitted new window
- Original Message - From: "Alan" <[EMAIL PROTECTED]> To: "Maciej Wisniowski" <[EMAIL PROTECTED]> Cc: Sent: Thursday, March 22, 2007 9:01 AM Subject: Re: [Zope] open image in a fitted new window The answer to your question is Yes if there's no other way of clicking on a link and open an image in a fitted new window of my browser that zope can cope without using javascript. But putting in other words what I really would like to know: does zope have its own way of clicking on a link and open an image in a fitted new window without buttons, address field etc.? Zope only performs server-side actions. What you are describing are actions that occur on the client-side (ie. on the user's pc/browser), therefore you must use client-side tools (ie. javascript). Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] open image in a fitted new window
The answer to your question is Yes if there's no other way of clicking on a link and open an image in a fitted new window of my browser that zope can cope without using javascript. But putting in other words what I really would like to know: does zope have its own way of clicking on a link and open an image in a fitted new window without buttons, address field etc.? Cheers, Alan On 22/03/07, Maciej Wisniowski <[EMAIL PROTECTED]> wrote: > I was wondering how to once clicking on a image (thumbnail) I would > get the full-size image in a fitted new window, without buttons, > address field etc. I can realise how to do it with javascript but I > don't know, if it's the only way, how to integrate javascript in a > zpt. A example/tutorial would be very welcome so. What you're asking for? How to insert javascript code into html page? -- Maciej Wisniowski -- Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28<< ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] open image in a fitted new window
> I was wondering how to once clicking on a image (thumbnail) I would > get the full-size image in a fitted new window, without buttons, > address field etc. I can realise how to do it with javascript but I > don't know, if it's the only way, how to integrate javascript in a > zpt. A example/tutorial would be very welcome so. What you're asking for? How to insert javascript code into html page? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] open image in a fitted new window
Dears, I was wondering how to once clicking on a image (thumbnail) I would get the full-size image in a fitted new window, without buttons, address field etc. I can realise how to do it with javascript but I don't know, if it's the only way, how to integrate javascript in a zpt. A example/tutorial would be very welcome so. If it can be done without javascript, just with zope tools, that would be very appreciated. Many thanks in advance. Cheers, Alan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )