plainblack.com
Username Password
search
Bookmark and Share

    

Asset Rank Within YUI Tabview

User thosemoose
Date 10/29/2007 11:11 am
Views 737
Rating -8    Rate [
|
]
Previous · Next
User Message
thosemoose

Hi guys (and gals)

I'm having some trouble changing the rank of assets within the YUI tabview yui-content area. Let me explain.

An html snippet is being used to open the yui-navset and yui-content elements, and between those opening and closing  snippets are my content assets. Re-ranking those content assets in the asset tree rank does not seem to have the intended effect which would be to change the order the tabbed content.

I'm almost positive this is not a html, css or template problem, as when I view source my new tabs are rendered outside of the yui-content div.

Here's a screengrab of my asset tree structure: http://tinyurl.com/33jheh

Here's my condensed rendered results:


<div id="pl_tabs" class="yui-navset">
    <ul id="pl_tabs_ul" class="yui-nav">
        <li class="selected first"><a href="#plans" id="plans_tab"><em>Floor Plans</em></a></li>
        <li><a href="#features" id="features_tab"><em>Standard Features</em></a></li>
        <li><a href="#details" id="details_tab"><em>Details</em></a></li>
        <li><a href="#schools" id="schools_tab"><em>Schools</em></a></li>
        <li class="last"><a href="#photo_tour" id="photo_tour_tab"><em>Photo Tour</em></a></li>
    </ul>
  <div class="yui-content">

        <div id="plans">
            <div class="header">&nbsp;</div>
            <a name="id5CMdP6kGrCHdh5Uh0ElNvg" id="id5CMdP6kGrCHdh5Uh0ElNvg"></a>
            [CONTENT]
        </div> <!-- close floorplan div -->

        <div id="details">
            <a name="id-s7jUplwWHsyooEnI1Uofw" id="id-s7jUplwWHsyooEnI1Uofw"></a>
            <div id="amenities">
                <div class="header">Amenities</div>
            </div> <!-- close amenities div -->

            <div id="utilities">
                <a name="idGNpWhRvsaHH_nhemhU7afg" id="idGNpWhRvsaHH_nhemhU7afg"></a>
                <div class="header">Utilities</div>
                    [CONTENT]
            </div> <!-- close utility div -->
            <div style="clear:both;"></div>
        </div> <!-- close details -->

        <div id="schools">
            <a name="idW97BNqggRhm_TRj41ZGgCQ" id="idW97BNqggRhm_TRj41ZGgCQ"></a>
            [CONTENT]
        </div> <!-- close schools div -->

        </div><!-- end yui-content //-->
</div><!-- end pl_tabs //-->


**CONTENT THAT IS APPEARS ABOVE THE REMAINING YUI-CONTENT**
<div id="driving_directions">
    [CONTENT]
</div>


<div id="community_information">
    [CONTENT]
</div>


***CONTENT THAT SHOULD BE WITHIN YUI-CONTENT PER ASSET RANK****
<div id='features'>
    <a name="idcZuPL9N2mi3JTRWIX6cUlQ" id="idcZuPL9N2mi3JTRWIX6cUlQ"></a>
    <div class='header'>Standard Features</div>
    [CONTENT]
</div>

<div id="photo_tour" style="overflow: hidden;">
 <a name="idnJj0VFIbTzgCtnd3sgk7pw" id="idnJj0VFIbTzgCtnd3sgk7pw"></a>  
<div class="header">Photo Tour</div>
    [CONTENT]
</div> <!-- close photo_tour div -->





I thought perhaps this had something to do with the anchor used in asset templates - <a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>. So i made this sure this was added to each of the content assets, but to no avail. Any thoughts? Thanks

--Eric-- 

--- (Edited on 10/29/2007 11:11 am [GMT-0500] by thosemoose) ---

--- (Edited on 10/29/2007 11:24 am [GMT-0500] by thosemoose) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved