Jump to content

Replicate Languages block


Recommended Posts

Hello everybody, i need replicate the Languages block, with other array content, without images, but i dont get it. The CCS style is the same, and the .tpl changed:

 

<div id="languages_block_top">
    <div id="countries">
        <ul id="first-languages" class="countries_ul">
        {foreach from=$Countries item=language name="languages"}
            <li class="selected_language">
                <p class="selected_language"> {$language} </p>
            </li>
        {/foreach}
        </ul>
    </div>
</div>


<script type="text/javascript">
$(document).ready(function () {
    $("#countries").mouseover(function(){
        $(this).addClass("countries_hover");
        $(".countries_ul").addClass("countries_ul_hover");
    });
    $("#countries").mouseout(function(){
        $(this).removeClass("countries_hover");
        $(".countries_ul").removeClass("countries_ul_hover");
    });


});
</script>

But, doesnt appear anything in Front Office. Can anybody help me? Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...