about mouse interactions..
Hi... This is probably not much about zope, but I want to do make a web page that does mouse drag query that query the zodb for information. For example... I have a picture and I want my mouse to be able to point a single point or drag a selection box and what ever is selected will make a new web page and with table about its information. Would anyone give me some pointers about how I could accomplish this? what docs or books I should read? --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping
You seem to be mixing together client-side activity ('mouse selection') and server-side activity ('query the zodb'?). You will need to separate these two activities: use javascript for the client side and build a normal form-based request which is then submitted to a zope method (dtml/script/external method) which processes the fields from the form request and returns some object(s)? from the zodb. hth Jonathan ----- Original Message ----- From: Allen Huang To: Zope Sent: Tuesday, December 13, 2005 9:32 AM Subject: [Zope] about mouse interactions.. Hi... This is probably not much about zope, but I want to do make a web page that does mouse drag query that query the zodb for information. For example... I have a picture and I want my mouse to be able to point a single point or drag a selection box and what ever is selected will make a new web page and with table about its information. Would anyone give me some pointers about how I could accomplish this? what docs or books I should read? ------------------------------------------------------------------------------ Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping ------------------------------------------------------------------------------ _______________________________________________ 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 )
For Instant access to JavaScript resources, I've used the pay Safari online book service at O'Reilly, they have up-to-date Javascript titles, and maybe some AJAX (Asynchronous JavaScript and XML) titles as well. The specific functionality that you mentioned is very difficult, drag selection, drag and drop, and target behavior. Multiplied by the number of supported browsers.... Heavy duty client-side AJAX or Flash, I would think.... and an awful lot of bleeding edge browser coaxing. And when that's done, then have it talk to Zope. Either way, you won't get those answers here. Find a Advanced Javascript or AJAX list for best results. Good Luck, Jon Cyr Ref: http://safari.ora.com Jonathan wrote:
You seem to be mixing together client-side activity ('mouse selection') and server-side activity ('query the zodb'?). You will need to separate these two activities: use javascript for the client side and build a normal form-based request which is then submitted to a zope method (dtml/script/external method) which processes the fields from the form request and returns some object(s)? from the zodb.
hth
Jonathan
----- Original Message ----- *From:* Allen Huang <mailto:swapp0@yahoo.com> *To:* Zope <mailto:zope@zope.org> *Sent:* Tuesday, December 13, 2005 9:32 AM *Subject:* [Zope] about mouse interactions..
Hi... This is probably not much about zope, but I want to do make a web page that does mouse drag query that query the zodb for information.
For example... I have a picture and I want my mouse to be able to point a single point or drag a selection box and what ever is selected will make a new web page and with table about its information.
Would anyone give me some pointers about how I could accomplish this? what docs or books I should read?
------------------------------------------------------------------------ Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping <http://us.rd.yahoo.com/mail_us/footer/shopping/*http://shopping.yahoo.com/;_ylc=X3oDMTE2bzVzaHJtBF9TAzk1OTQ5NjM2BHNlYwNtYWlsdGFnBHNsawNob2xpZGF5LTA1%20>
------------------------------------------------------------------------ _______________________________________________ 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 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 )
-- Jonathan Cyr http://www.cyr.info http://www.weddingweblog.com cyrj@cyr.info
participants (3)
-
Allen Huang -
Jonathan -
Jonathan Cyr