1
sova
Help me
  • 2010/4/14 6:13

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Hi.
My HTML code is
<div id="xo-globalnav"><ul>
        <
li class="x2-label">&nbsp;li>



        <
li><a href="<{xoAppUrl index.php}>" accesskey="a"  title="Home">صفحه اصلیa>li>
        
    
<{if !
$xoops_isuser}>
            <{/if}>

           <
li><a accesskey=""  title="اخبار">اخبار و مقالاتa>
                
    <
ul>
                  <
li><a href="<{xoAppUrl modules/news}>" title="اخبار موسسه">اخبار موسسهa>
                  <
ul>
                  <
li><a href="<{xoAppUrl modules/news/archive.php}>" title="آرشیو اخبار">آرشیو اخبارa>li>
        <
li><a href="<{xoAppUrl modules/news/submit.php}>" title="ارسال خبر">ارسال خبرa>li>
        ul>
        li>
        <
li><a href="<{xoAppUrl modules/smartsection/}>" title="مقالات">مقالاتa>li>
        <
li><a href="<{xoAppUrl modules/smartsection/}>" title="ارسال مقاله">ارسال مقالهa>li>
      ul>li>


  ul>
div>



& My CSS code is
/*============= Style pour l'include globalnav.html ================*/
#xo-globalnav {
    /*color:                            #32529C;
    margin:                            0px;
    background-color:                #E2E2E2;
    padding:                            2px 25px 0;
    min-height:                        20px;
    font-size:                        1.1em;
    font-weight:                     bold;
    list-style-type:                none;*/
    
positionrelative;
    
displayblock;
    
background:url(img/navbg_02.gifrepeat-x;
    
width:100%;
    
height:42px;
    
border-bottom:2px solid #fff;
}

#xo-globalnav img{
padding0;
margin0;
}

#xo-globalnav .x2-label{
displaynone;
}

html #xo-globalnav { height: 10px; }


#xo-globalnav ul
{
    
margin:0px;
    
z-index10;
    
positionabsolute;
    list-
style-typenone;
    
text-aligncenter;
    
font-family:VerdanaArialHelveticasans-serif;
    
font-size11px;
    
font-weight:bold;
    
padding-top:-2px;
    
padding-bottom:20px;
    
display:block;
    
width:100%;
}

#xo-globalnav li {
displayblock;
positionrelative;
z-index5;
floatright;
}

#xo-globalnav li:hover {
z-index10000;
white-spacenormal;
}
#xo-globalnav li:hover ul {
visibilityvisible;
top0;
}


#xo-globalnav li li:hover ul {
top0px;
left: -80px;
}

#xo-globalnav li ul li:hover ul {
display:block;
top0px;
left: -80px;
}

#xo-globalnav:after, #xo-globalnav ul:after {
content".";
  
height0;
  
displayblock;
  
visibilityhidden;
  
overflowhidden;
  
clearboth;
}

#xo-globalnav ul ul {
padding30px 30px 30px 10px;
  
margin: -30px 0 0 -10px;
  }

#xo-globalnav ul a {
displayblock;
  
text-aligncenter;
  
white-spacenowrap;
  
height20px;
  
width180px;
  
overflowhidden;
  
line-height20px;
  
background-positionleft top;
  
background-repeatrepeat-x;
  
border-width0;
  
border-stylesolid;
}


#xo-globalnav ul li{
positionrelative;
displayinline;
floatright;
z-index:auto !important ;
height2em;
z-index1000;
widthauto;
}

#xo-globalnav ul li a{
text-decorationnone;
font-size12px;
font-weight:bold;
displayblock;
line-height2.1em;
padding-right8px;
    
padding-top:0px;
    
padding-bottom:15px;
padding-left0px;
text-decorationnone;
color:#fff;
width100%;
border:thin  #333 solid;
}

#xo-globalnav ul li a:hover
{
color:#EDEDED;
background:url(img/navhover_02.gifrepeat-x top;
font-size12px;
font-weight:bold;
text-decoration:none;
width100%;
height:18px;
}

#xo-globalnav ul li ul{
displaynone;
border-topnone;
border-rightnone;
background-colortransparent;
border-rightnone;
width130px;
margin0;
padding0;
}

#xo-globalnav ul li:hover a{

}

#xo-globalnav ul li:hover ul{
displayblock;
positionabsolute;
z-index999;
top2em;
margin-top0em;
right0;
}

#xo-globalnav table{
positionabsolute;
top2px;
right0;
border-collapsecollapse;
}

#xo-globalnav ul li a:hover ul{
displayblock;
positionabsolute;
z-index999;
top30px;
top2em;
right0;
margin-top0.1em;
}

#xo-globalnav ul li ul li{
background-color#546F80;
margin0;
left:19px;
padding0;
border-bottom:1px solid #000;
}


#xo-globalnav ul li:hover ul li{
displayblock;
width130px !important;
border-right1px solid #000;
top1.7em;
margin0;
padding0;
}

#xo-globalnav ul li a:hover ul li a{
displayblock;
height1px;
line-height1.3em;
padding10px;
bordernone;
font-weightnormal;
}

#xo-globalnav ul li:hover ul li a{
font-size.9em;
width120px !important;
text-align:right !important;
padding0 5px 0 5px;
margin0;

}
#xo-globalnav ul li:hover ul li a:hover{
color#fff;
background-color#77ACCD;
text-decorationnone;
width120px !important;
margin0;
padding0 5px 0 5px;
}
/*
#xo-globalnav a {
    color:                            #32529C;
    text-decoration:                none;
    background:                     inherit;
}
#xo-globalnav a:hover {
    color:                            #EAAD7B;
    text-decoration:                none;
    background:                     inherit;
}
*/


Please fix this code for me
Menu ---> Sub Menu ---> Sub Menu 2
for right to left

thanks

2
Mamba
Re: Help me
  • 2010/4/14 7:34

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Hi Sova,

the best will be to ask directly on XOOPS Iran:

http://irxoops.org/

our friend Voltan can probably help you.

3
sova
Re: Help me
  • 2010/4/14 14:32

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Thanks all,
I fixed the problem

Login

Who's Online

224 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits