evalScripts is set to true by default using the rails helpers
On 1/10/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote:
> On Tuesday 10 January 2006 09:27, Dave Thomas wrote:
> > On Jan 10, 2006, at 10:43 AM, Andrew Kaspick wrote:
> > > Can you not add the code in your display_cart view?
> > >
> > > J
On Tuesday 10 January 2006 09:27, Dave Thomas wrote:
> On Jan 10, 2006, at 10:43 AM, Andrew Kaspick wrote:
> > Can you not add the code in your display_cart view?
> >
> > Just put something like <%= visual_effect :highlight,
> > 'cart_item_'[EMAIL PROTECTED] %> in the display_cart template (maybe
>
Can you paste some of the generated html?
On 1/10/06, Dave Thomas <[EMAIL PROTECTED]> wrote:
>
> On Jan 10, 2006, at 10:43 AM, Andrew Kaspick wrote:
>
> > Can you not add the code in your display_cart view?
> >
> > Just put something like <%= visual_effect :highlight,
> > 'cart_item_'[EMAIL PROTEC
On Jan 10, 2006, at 10:43 AM, Andrew Kaspick wrote:
Can you not add the code in your display_cart view?
Just put something like <%= visual_effect :highlight,
'cart_item_'[EMAIL PROTECTED] %> in the display_cart template (maybe
add some logic to only perform the effect if it's a xhr request) an
Can you not add the code in your display_cart view?
Just put something like <%= visual_effect :highlight,
'cart_item_'[EMAIL PROTECTED] %> in the display_cart template (maybe
add some logic to only perform the effect if it's a xhr request) and
since rendering of that view is essentially going to h
Mike and I demo an Ajaxified version of the Depot application in the
Rails Studio. Part of the demo is a cart in the sidebar which updates
when you add a product to it. As well as updating the div, it also
highlights the most recently added link item. Right now, we do it with:
fu