- Thanks for the reply. Lots of reading to do now...!!
The tabs on a TabView are not generally meant to serve as links to external pages in the usual way, although you can hack them to do this; see e.g.
http://www.nabble. com/TabView: -Having-a- Tab-that- redirects- to-another- page-td23665461. html
Have you considered having the tabs pull data from an external source?
http://developer. yahoo.com/ yui/examples/ tabview/datasrc. html
For a book on Ajax you might look at "Professional Ajax" by Nicholas Zakas et al.
>just getting started with Ajax and YUI, and have been exploring the site. The help and examples are generally great, but I have some problems translating from simple examples into production code.
> Hi, I am
>with quite a standard layout - a set of tabs across the top to allow navigation to each set of pages. The pages within each tab will be quite complex.
> I am designing a site
>examples, but they all have links internal to the current page. My site is large enough to require multiple pages so I was expecting to do somethng like:
> Can I use YUI TabView for this?
> I have played with the
> <div id="demo" class="yui-navset" >
> <li class="selected" ><ahref="#tab1" ><em>First Tab</em></a> </li>
> <li><ahref="anotherFile. html"><em> Second Tab</em></a> </li>
> ....the like to anotherFile. html does work within the tabView.
>for nav within a single page?
> My questions are:
> 1) Should this work, or is tabView just meant
> 2) If not tabView, then can I do thiseasily with YUI? I would like to do this without visible page loads on every navigation event.
> 3) Can anyone recommend any books about architectinglarge applications using YUI or Ajax in general - i.e. not just how to use each feature in isolation.