I'm implementing Niall Doherty's Coda Slider into the body of a webpage. The problem with this is the amount of content my client has gives the page a massive load time.
What I would like to do is to split the content off into seperate html files and upon clicking on the tab trigger, load the content, then animate the switch.
I honestly have no idea how to do this so I sadly can't provide any faux code in an effort to help illustrate my point. Any and all help will be very appreciated. I have searched around the Coda Forums for such a solution but all I've gotten is people claiming to have it and no intent to help.
Cheers.
The simplest way would be to store it in one html-file and retrieve it using load()
straight from the jquery docs:
If this is still to slow just split it up in multiple pages and just load one page at a time
I'm not entirely sure this the best way but you could do:
Add an id to div class="panel-wrapper" id="panel1"