تغییر جهت باز شدن زیر منو

مباحث مربوط به ماژول های جوملا

Moderator: joomlalearn

Locked
syaqoubi
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Sun Jun 24, 2007 10:44 am

تغییر جهت باز شدن زیر منو

Post by syaqoubi » Sat Aug 04, 2007 5:25 am

salam
man az trans menu baraye menu astefade kardam mikhastam bebinam kasi mitoone man ro rahnamayie kone ke che tori mitoonam jahate baz shodane sub menu ro bejaye inke az chap be rast bashad  rast be chap konam?????????

User avatar
alavi nik
Joomla! Explorer
Joomla! Explorer
Posts: 344
Joined: Wed Sep 20, 2006 7:48 pm
Location: Tehran,Iran
Contact:

Re: تغییر جهت باز شدن زیر منو

Post by alavi nik » Sun Aug 05, 2007 1:27 pm

syaqoubi wrote: salam
man az trans menu baraye menu astefade kardam mikhastam bebinam kasi mitoone man ro rahnamayie kone ke che tori mitoonam jahate baz shodane sub menu ro bejaye inke az chap be rast bashad  rast be chap konam?????????
css رم ميشه اينجا بزاريد؟
Joomfa Team(Joomla farsi) ==> http://joomfa.org

syaqoubi
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Sun Jun 24, 2007 10:44 am

Re: تغییر جهت باز شدن زیر منو

Post by syaqoubi » Mon Aug 06, 2007 5:11 am

salam manoon misham behem begid che codi ro bayad to css ezafe konam

inam css
ebarat (direction=rtl , align=right ro baraye hame ezafe kardam vali rabti nadasht bayad yek class baraye submenu tolid beshe ke man nemidoonam bayad chi kar konam)


/* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */
.transMenu {
position:absolute;
overflow:hidden;
left:-1000px;
top:-1000px;
background-color: none;
font-size: 10px;
margin: 0px;
                direction=rtl;

}

/* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */
.transMenu .content {

    position:absolute;
    direction:rtl;
}

/* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */

.transMenu .items {

position:relative;
left:0px; top:0px;
direction:rtl;
z-index:2;

}

.transMenu.top .items {
  border-top:none;
  direction:rtl;
}

/* each TR.item is one menu item */
.transMenu .item {
    color:#336;
    background-color: #239CED;
    font-size:11px;
    font-family:tahoma;
    text-decoration:none;
/* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
    border:none;
    cursor:pointer;
    cursor:hand;
    direction:rtl;
}

User avatar
alavi nik
Joomla! Explorer
Joomla! Explorer
Posts: 344
Joined: Wed Sep 20, 2006 7:48 pm
Location: Tehran,Iran
Contact:

Re: تغییر جهت باز شدن زیر منو

Post by alavi nik » Mon Aug 06, 2007 5:55 am

شما اين سي اس اس رو از كجا گرفتيد؟
فكر كنم ناقص باشه
ولي تك تك بهشون float: right;  رو اضافه كنيد

نتيجه رو اعلام نماييد
Joomfa Team(Joomla farsi) ==> http://joomfa.org

syaqoubi
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Sun Jun 24, 2007 10:44 am

Re: تغییر جهت باز شدن زیر منو

Post by syaqoubi » Mon Aug 06, 2007 11:07 am

salam
in file css dakhele file zip khode modul bood be nazare man ham naghese shoma file css kamelesh ro darid?
dar zemn taghiri ke goftid rodadam hich etefaghi nayoftad.
mamnoon misham komakam konid.

User avatar
alavi nik
Joomla! Explorer
Joomla! Explorer
Posts: 344
Joined: Wed Sep 20, 2006 7:48 pm
Location: Tehran,Iran
Contact:

Re: تغییر جهت باز شدن زیر منو

Post by alavi nik » Mon Aug 06, 2007 11:33 am

syaqoubi wrote: salam
in file css dakhele file zip khode modul bood be nazare man ham naghese shoma file css kamelesh ro darid?
dar zemn taghiri ke goftid rodadam hich etefaghi nayoftad.
mamnoon misham komakam konid.

سلام گلم

Code: Select all

/*------------------------------------------------------------------------
# JA Xenia 1.0 - Jan, 2007
# ------------------------------------------------------------------------
# Copyright (C) 2004-2006 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites:  http://www.joomlart.com -  http://www.joomlancers.com
-------------------------------------------------------------------------*/

/* TransMenu
-------------------------------------------------
Originally developed by Aaron Boodman
http://www.youngpup.net/
--------------------------------------------------
NOTE: TransMenu background and some
configurations are located in the ja-transmenu.js.
-------------------------------------------------*/


/* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */
.transMenu {
	position: absolute;
	overflow: hidden;
	left: -1000px;
	top: -1000px;
}

/* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */
.transMenu .content {
	position: absolute;
}

/* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */
.transMenu .items {
	position: relative;
	left: 0px;
	top: 0px;
	z-index: 2;
}

.transMenu.top .items {
}

/* this DIV is the semi-transparent white background of each menu. the -moz-opacity is a proprietary way to get transparency in mozilla, the filter is for IE/windows 5.0+. */
/* we set the background color in script because ie mac does not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by */
.transMenu .background {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 1;
	-moz-opacity: .9;
	filter: alpha(opacity=90);
}

/* same concept as .background, but this is the sliver of shadow on the right of the menu. It's left, height, and background are set by script. In IE5/mac, it uses a PNG */
.transMenu .shadowRight {
	width: 2px;
	position: absolute;
	z-index: 3;
	top: 3px;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}

/* same concept as .background, but this is the sliver of shadow on the bottom of the menu. It's top, width, and background are set by script. In IE5/mac, it uses a PNG */
.transMenu .shadowBottom {
	position: absolute;
	z-index: 1;
	left: 3px;
	height: 2px;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}

/* each TR.item is one menu item */
.transMenu .item {
	color: #484848;
   text-decoration: none;
	text-transform: none;
	/* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
	border: none;
	cursor: pointer;
	font-size: 11px;
}

/* this is the class that is used when the mouse is over an item. script sets the row to this class when required. */
.transMenu .item.hover {
	color: #FFFFFF;
	background: #F85703;
}

/* this is either the dingbat that indicates there is a submenu, or a spacer gif in it's place. We give it extra margin to create some space between the text and the dingbat */
.transMenu .item img {
	margin-left: 10px;
}

/* ----------------------------------------------------------------
- Added classes by Khanh - 050629
- Style and mark-up improved by Hieu Nguyen & Ha Le Viet - 060718
-------------------------------------------------------------------*/
.transMenu .item#active {
	background: #484848;
	color: #FFFFFF;
	/* -moz-opacity: .6;
	filter: alpha(opacity=60); */
}

.transMenu .item#active:hover {
	color: #FFFFFF;
	background: #484848;
}

#ja-mainnav div.transmenu-inner {
	float: left;
	width: 100%;
}

/* For first level menu.*/
#ja-transmenu {
	margin: 0;
	padding: 0;
	float: left;
}

#ja-transmenu li {
	margin: 0;
	padding: 0;
	background: none;
	display: inline;
}

#ja-transmenu li a { /* common styles for 1st level menu */
	margin: 0;
	padding: 8px 20px 7px;
	float: left;
	display: block;
	background: url(../images/mainnav-sep.gif) no-repeat top right;
	font-weight: bold;
	text-decoration: none;
}

#ja-transmenu li a span { /* common styles for 1st level menu */
	color: #484848;
}

#ja-transmenu li a:hover { /* common styles for 1st level menu */
	background: url(../images/mainnav-sep.gif) no-repeat top right #FFFFFF;
}

a.havechild-mainlevel-trans {
	background: url(img/arrow-off.gif) center right no-repeat;
}

a.havechild-mainlevel-active-trans,
a.havechild-mainlevel-active-trans:hover,
a.havechild-mainlevel-active-trans:active,
a.havechild-mainlevel-active-trans:focus {
	background: url(../images/mainnav-active-bg.gif) no-repeat bottom right #FFFFFF!important;
}

a.jahover {
	background: url(../images/mainnav-sep.gif) no-repeat top right #FFFFFF!important;
}

a.jahover-active {
	background: url(../images/mainnav-sep.gif) no-repeat top right #FFFFFF!important;
}

a.mainlevel-trans {
}

a.mainlevel-trans:hover,
a.mainlevel-trans:active,
a.mainlevel-trans:focus {
	background: url(../images/mainnav-sep.gif) no-repeat top right #FFFFFF;
}

a.mainlevel-active-trans,
a.mainlevel-active-trans:hover,
a.mainlevel-active-trans:active,
a.mainlevel-active-trans:focus {
	background: url(../images/mainnav-active-bg.gif) no-repeat bottom right #FFFFFF!important;
}
float: right رو براي #ja-transmenu li a  قرار بديد

منظتر جوابتون هست
م
Joomfa Team(Joomla farsi) ==> http://joomfa.org

syaqoubi
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Sun Jun 24, 2007 10:44 am

Re: تغییر جهت باز شدن زیر منو

Post by syaqoubi » Tue Aug 07, 2007 6:54 am

salam
mamnoonam az inke javabam ro midid.
man in css ro gozashtam vali aslan menu ha dorost baz nemishan.menu ha balaye safhe hastand vali submenu ha  paieene safhe baz mishan ke hich rabti nadare.
bayad chi kar konam?

kheili kheili kheili mamnoonam. :-[

syaqoubi
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Sun Jun 24, 2007 10:44 am

Re: تغییر جهت باز شدن زیر منو

Post by syaqoubi » Sun Aug 12, 2007 5:37 am

salam chera javabe man ro nemidid????? ???
khahesh mikonam man natoonestam in moshkel ro bartaraf konam
jaye baz shodane sun menu ha ro nemitoonam taghir bedam
chi kar konam?

User avatar
alavi nik
Joomla! Explorer
Joomla! Explorer
Posts: 344
Joined: Wed Sep 20, 2006 7:48 pm
Location: Tehran,Iran
Contact:

Re: تغییر جهت باز شدن زیر منو

Post by alavi nik » Sun Aug 12, 2007 6:54 am

سلام دوست من
عذر ميخوام
فراموش كردم
ميخواين من كل منو رو بدم بهتون؟
ماژول نيست
بصورت دستي بايد انجام بديد

اين كد رو هم به سي اس اس اضافه كنيد

#transmenu li a { /* common styles for 1st level menu */
margin: 0;
padding: 8px 20px 7px;
float: right;
display: block;
background: url(../images/mainnav-sep.gif) no-repeat top right;
font-weight: bold;
text-decoration: none;
}

#transmenu li a span { /* common styles for 1st level menu */
color: #484848;
}

#transmenu li a:hover { /* common styles for 1st level menu */
background: url(../images/mainnav-sep.gif) no-repeat top right #FFFFFF;
}


شما اين سي اس اس رو از كجا دانلود كرديد دوست من؟
Joomfa Team(Joomla farsi) ==> http://joomfa.org

syaqoubi
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Sun Jun 24, 2007 10:44 am

Re: تغییر جهت باز شدن زیر منو

Post by syaqoubi » Sun Aug 12, 2007 7:56 am

salam mamnoon ke javab dadid.
man in cod ro ham ezafe kardam (albatte  dakhele code ghabli ke dade boodid bood)
farghi nakard
submenu ha samte chap baz mishavad be jaye rast.(ghablan ba submenu level 2 moshkel dashtam ke chap baz mishod alan kolle submenu ha level 1 samte digeie baz mishavand masalan mouse roye menu mire kheili doortar submenu baz mishe)
agar module nasbi nist pas chetoriye?
man trans menu ro az site joomla gereftam ke yek css naghes tosh dasht be jaye oon, css shoma ro ezafe kardam jaye baz shodane submenu ha avaz shode .

agar baratoon emkan dare mano rahnamayi konid agar mitoonid yek module jadide bi dardesar be man morefi konid mamnoon misham ya inke kolle menu ro be man bedid .
kheili kheili mamnoon.

syaqoubi
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Sun Jun 24, 2007 10:44 am

Re: تغییر جهت باز شدن زیر منو

Post by syaqoubi » Mon Aug 13, 2007 6:05 am

salam pas chera hich kas javabam ro nemide khahesh mikonam yeki komak kone man vaghean karam gire in mozoe .
mamnoon misham kasi komak kone.

aliporaa
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Jan 16, 2009 10:37 am

Re: تغییر جهت باز شدن زیر منو

Post by aliporaa » Fri Jan 16, 2009 11:02 am

دوست عزیز شما می توانید از dynamic menu استفاده نمایید
به راحتی با ماژول مشکل شما حل می شود

----------------------------------------------------------------------
http://www.birjandportal.ir
بزرگترین جامعه مجازی برای بیرجندی های سراسر دنیا


Locked

Return to “ماژولها”