Tabbed content with javascript disabled.

Member since: 2009
 

Hi,

I'd like to use the JQuery UI solution for tabbed content:

http://jqueryui.com/demos/tabs/

I am setting this up by:

- Setting up a pagetype that implements the tab control.
- Assigning that pagetype to the parent page.
- I then create sub-pages as children under that tab page that my tab pagetype picks up and implements as tabs.
- These sub pages are a new page type that only contains the main body and heading properties.

This works with javascript switched on, but with it switched off, you visit the plain old HTML that the page fetches.

Ideally I would like the tabbed page like the one in the example linked to above, even with Javascript switched off.

Do you guys know if there's a way to do this? I'm hitting a brick wall!

Thanks very much,

Karl. 

#30974 Jun 26, 2009 15:39
  • Member since: 2009
     

    I've fixed this to an extent by doing the following:

    Creating a handler (with help!) that returns XML representing a PageData object when fed the PageLink ID.
    Fetching that XML using JQuery and traversing it to find the properties needed for a specific pageType, and then populating the placeholders, just like EPiServer does, only on the clientside.

    Thanks for reading anyway! 

    #31052 Jul 01, 2009 12:00