hi everyone,
I am working on iphone web design.I am having problem in this tabbed navigation issue.I am using 5 tabs,
home videos @@@ $$$ search
like this,i have used css for tabbed appearance.
In body tag,Using unordered list My implementation is like this
now,I have created 5 html pages home.html,videos.html,@@@.html,$$$.html,search.html.I am repeating this whole code in all five pages along with respective body part of the pages,for the appearence of tabbed navigation.My PM is saying its not the correct implementation of tabbed navigation.Code:<ul class="navigation"> <li class="navlist"><a href="home.html">home</a></li> <li class="navlist"><a href="videos.html">videos</a></li> <li class="navlist">@@@@</li> <li class="navlist">@@@@</li> <li class="navlist"><a href="search.html">search</a></li> </ul>
she is saying that,we don't have to redirect pages to another locations.we have to just reload the page dynamically.
we have to use code like this:
because of this there will not be any code duplication of Unodered List code for the display of tabbed navigation and tabs will load dynamically.Code:<ul class="navigation"> <li class="navlist"><a href="#home">home</a></li> <li "class="navlist"><a href="#videos">videos</a></li> <li "class="navlist"><a href="#@@@">@@@</a></li> <li "class="navlist"><a href="#$$$">$$$</a></li> <li class="navlist"><a href="#search">search</a></li> </ul> <div id="home"> ----------code for home page-------------- </div> <div id="videos"> ----------code for videos page-------------- </div> <div id="@@@"> ----------code for @@@ page-------------- </div> <div id="$$$"> ----------code for $$$ page-------------- </div> <div id="search" > <form name="SearchFrm" action="http://search.foodnetwork.com/food/recipe/search.do" method="get" target="_blank" id="searchFrm"> ----------code for search page-------------- </form> </div>
Now please suggest me
1.is it fine to use my procedure and is that can be called tabbed navigation?
2.if i have to follow my PM's procedure what i have to do?can i repeat 5 pages code in that single page in respective div's of home,videos,@@@,$$$,search.tahen what about the situation if my tabs having a complex and bulk code.
please suggest me,u can understand my situation by alll this explanation



Reply With Quote

Bookmarks