0
<div class="right_tab_content_part1_s">
        <a href="javascript:void(0)" class="active" id="classtabnew1" onclick="showHideDivforTabbingBeforeaward(1)">View Provider</a>
        <a href="javascript:void(0)" class="" id="classtabnew2" onclick="showHideDivforTabbingBeforeaward(2)">View Message</a>
    </div>

    <div style="display:block;" id="divtabnewBeforeaward1"></div>

    <div style="display:none;" id="divtabnewBeforeaward2"><div id="scroll2_msg" class="flexcroll"></div></div>

   <script type="text/javascript">
    function showHideDivforTabbingBeforeaward(id)
    {
        for(j=1;j<3;j++)
        {
            if(id==j)
            {
                document.getElementById('divtabnewBeforeaward'+j).style.display = 'block';
                document.getElementById('classtabnew'+j).className = 'active';
            }
            else
            {
                document.getElementById('divtabnewBeforeaward'+j).style.display = 'none';
                document.getElementById('classtabnew'+j).className = '';
            }
        }
    }
</script>

fleXenv.initByClass ("a-class-name-of-your-choice");EnterまたはEnterを使用しても、Flexscrollが機能しませんfleXenv.fleXcrollMain (yourDivElement);

4

1 に答える 1

1

bodyタグを閉じる前にこれを使用してください:

<div id='flexcroll-init'></div> 
于 2012-07-26T12:45:25.363 に答える