On Oct 24, 2011, at 8:32 AM, annet wrote:

> The view of this function businesscard.html extends a layout.html
> view. The problem I am facing is that I would like to extend the
> business card's behaviour with a timetable.
> 
> I have no idea how to approach this, basically when the user first
> visits the business card the text and image and all the rest should be
> displayed, then, when the user clicks the timetable link the text and
> image bit should be replaced with the timetable and all the rest
> should remain the same.
> 
> What is the best way to proceed?

One approach would be to generate the html for both optional sections and 
disable the display of one of them with CSS. Use a button and a little jQuery 
to toggle the visibility of the sections, perhaps even with some nice visual 
effect.

Reply via email to