|
Posted by J.O. Aho on 01/18/07 06:23
luigi7up wrote:
> Aho, thanks for your reply.
> Of course I could have done it with moving div around with CSS position
> but I realy don't like that kind of solving this problem...
> I was thinking of some Javascript that would be called at the end of
> execution of the part that is making INSERT. That javascript would
> refresh cart status...
If you have the cart in it's own frame, thats no problem, as long as the use
has javascript enabled.
If you have only one page with everything in it, then I do suggest two methods
1. Use div and make the cart checkup last
2. Save all output to variables, when you done all that is to do, set
together the variables in a such manner that you get the final output.
There is an third option, but it will just make things more complicated for
you, use AJAX.
--
//Aho
[Back to original message]
|