Loading content via AJAX into Tabs

11 views
Skip to first unread message

schone

unread,
Nov 4, 2010, 9:16:58 AM11/4/10
to Elastic CSS Framework
Hi

I'm trying to implement Elasticss on this layout http://www.prashantraju.com/pat/
- it follow this workflow:

1. Add tab
2. AJAX loads Elasticss layout into tab content
3. Elastic.refresh();

I can get this working fine without any issues however I fall into a
trap when I move between tabs, each time I select a new tab it .show()
the selected tab and .hide() the unselected tab - the whole layout
breaks including the tab button area.

I have added Elastic.refresh(); after the new tab is .show() but it
doesn't help.

Is there another method I should be using?

Thanks,
Prashant

fernando trasvina

unread,
Nov 4, 2010, 11:13:51 AM11/4/10
to elastic-cs...@googlegroups.com
no that is the way and you should be able to accomplish it with elastic.refresh()

> --
> You received this message because you are subscribed to the Google Groups "Elastic CSS Framework" group.
> To post to this group, send email to elastic-cs...@googlegroups.com.
> To unsubscribe from this group, send email to elastic-css-fram...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/elastic-css-framework?hl=en.
>

Reply all
Reply to author
Forward
0 new messages