Re: [Zope] Re: live dtml updating?
David H wrote: Jonathan wrote: This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in the right direction. Jonathan - Original Message - From: "Rich Harley" <[EMAIL PROTECTED]> To: Sent: Sunday, December 11, 2005 5:31 PM Subject: [Zope] Re: live dtml updating? On Sunday 11 December 2005 22:30, you wrote: > Hi all > > Sorry if this is not a specific zope question but I'm confident someone > will be able to help me with the following. > > I have an input form on a webpage and below it a table which pulls out > of > a database. The column headers in the table relate to the input form in > that I want whatever the user types into the input box for the correct > column to be highlighted in bold. So say, for example I had two columns > A > and B I want column B to be highlighted bold when the user types 'b' > into > the input box at > the top. How can I do this? Rich -- www.horsey.tk Rich, Or you can try using CSS + (javascript and DOM object style attributes). Where you use javascript to give a document.someform.someInput.style the ID of an existing CSS style maybe "onBlur" Not sure if it will do it all but its a place to look as well. David Let me correct myself - use "onBlur" to trigger JS + CSS and object style manipulation - If interested or this sounds like what you want to do then go to: http://www.quirksmode.org/ And check out the JavaScript/DHTML section. Best, David re something like:
Re: [Zope] Re: live dtml updating?
Jonathan wrote: This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in the right direction. Jonathan - Original Message - From: "Rich Harley" <[EMAIL PROTECTED]> To: Sent: Sunday, December 11, 2005 5:31 PM Subject: [Zope] Re: live dtml updating? On Sunday 11 December 2005 22:30, you wrote: > Hi all > > Sorry if this is not a specific zope question but I'm confident someone > will be able to help me with the following. > > I have an input form on a webpage and below it a table which pulls out > of > a database. The column headers in the table relate to the input form in > that I want whatever the user types into the input box for the correct > column to be highlighted in bold. So say, for example I had two columns > A > and B I want column B to be highlighted bold when the user types 'b' > into > the input box at > the top. How can I do this? Rich -- www.horsey.tk Rich, Or you can try using CSS + (javascript and DOM object style attributes). Where you use javascript to give a document.someform.someInput.style the ID of an existing CSS style maybe "onBlur" Not sure if it will do it all but its a place to look as well. David ___ 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] Re: live dtml updating?
This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in the right direction. Jonathan - Original Message - From: "Rich Harley" <[EMAIL PROTECTED]> To: Sent: Sunday, December 11, 2005 5:31 PM Subject: [Zope] Re: live dtml updating? On Sunday 11 December 2005 22:30, you wrote: > Hi all > > Sorry if this is not a specific zope question but I'm confident someone > will be able to help me with the following. > > I have an input form on a webpage and below it a table which pulls out > of > a database. The column headers in the table relate to the input form in > that I want whatever the user types into the input box for the correct > column to be highlighted in bold. So say, for example I had two columns > A > and B I want column B to be highlighted bold when the user types 'b' > into > the input box at > the top. How can I do this? Rich -- www.horsey.tk ___ 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 )