ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : استفاده از ماژول نکات حرفه ای و بهم ریختگی قالب



yasan
09-04-2009, 10:48 PM
سلام دوستا
من از یک قالب اختصاصی استفاده می کنم به یک ایراد خوردم و اون اینه که با توجه به اینکه بلندی این ماژول که برای اسکرول هست رو روی 15 تنظیم کردم اما وقتی تو قالب میذارم اندازه بسیار بلند میشه و یه فضای پرتی آخرش ایجاد میشه

فکر کنم استایلش ایراد داره

اینم کد استایل

body {
margin: 0px;
}
tr, p, div {
font-family:Tahoma, Helvetica, sans-serif;
font-size : 11px;
color : #333333;
}
hr {
background : #999999;
height : 1px;
width : 100%;
}

.left
{
border-right:1px solid #F1F1F1;
}

.right
{
border-left:1px solid #F1F1F1;

}

.main
{
padding-bottom: 9px;
padding-left: 9px;
}

.mainpage
{
background-color:#FFFFFF;
}

/*different setting for newsflash*/
.newsflash td {
color: #000000;
text-align: justify;
vertical-align: middle;
}


/*pathaway setting*/
.pathway {
font-family: Tahoma, Helvetica, Arial, sans-serif;
font-size: 10px;
padding-bottom:15px;
}

a.pathway:link, a.pathway:visited {
color: #669900;
font-weight : normal;
}

a.pathway:hover {
color: #000000;
font-weight : normal;
text-decoration : none;
}

/*for title or site name*/
.title {
font-family: Tahoma;
font-size: 20px;
font-weight: bold;
color : #FFFFFF;
margin-left: 10px;
}

/*for the tag-line*/
.subtitle {
font-family: Tahoma;
font-size: 10px;
font-weight: bold;
color : #666666;
text-transform: uppercase;
letter-spacing: 2px;
margin-left: 20px;
}

#active_menu {
color: #669900;
font-weight:bold;
}

/* --Default Class Settings-- */

a.mainlevel:link, a.mainlevel:visited {
color: #669900;
font-weight: normal;
width: 95%;
text-indent: 0px;
text-decoration: none;
font-family: Tahoma, Helvetica, Arial, sans-serif;
margin-bottom: 1px;
font-size:11px;
padding-right: 4px;
text-decoration:none;
text-align:right;
direction:rtl;
float:right;
}
a.mainlevel:hover {
color: #333333;
text-decoration:none;
}

a.mainmenu:link, a.mainmenu:visited {
color: #669900;
font-family: Tahoma, Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 10px;
text-decoration:none;

}
a.mainmenu:hover {
color: #333333;
text-decoration:none;
}
.pollstableborder {
border: 1px solid;
padding: 1px;
}

a.sublevel:link, a.sublevel:visited {
padding-right: 5px;
vertical-align: middle;
font-size: 11px;
color: #669900;
text-align: right;
}


a.sublevel:hover {
color: #333333; text-decoration: none;
}

table.moduletable {
padding: 0px 0px 0px 0px;

width: 100%;
}

table.moduletable th {
font-size : 11px;
font-weight : normal;
color : #669900;
text-align : left;
width : 100%;
letter-spacing: 2px;
text-indent: 0px;
padding-bottom: 9px;
border-bottom: 1px solid #F1F1F1;
text-transform:uppercase;
}

table.moduletable li {
}

table.moduletable ul {
padding: 0px;
}
table.moduletable td {
font-size: 11px;
font-weight: normal;
}

.poll {
font-family : Tahoma, Helvetica, sans-serif;
font-size : 10px;
color : #666666;
line-height : 14px;
}

table.pollstableborder {

}

.sectiontableheader {
color : #FFFFFF;
font-weight : bold;
background-color:#669900;
}

.sectiontableentry1 {
}

.sectiontableentry2 {
}

.small {
font-family : Tahoma, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #999999;
text-decoration : none;
font-weight : normal;

}

.smalldark {
font-family : Tahoma, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
text-decoration : none;
font-weight : normal;
}


.contentpane {
}

.contentpaneopen {
border : 0px ridge #0099cc;
width: 100%;
padding: 1px;
}

.contentheading, .componentheading {
font-family : Tahoma, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : bold;
color:#669900;
text-align : right;
padding-bottom:5px;
padding-right:10px;
}

.createdate {
font-family : Tahoma, Helvetica, sans-serif;
font-size : 10px;
color : #999999;
text-align : left;
}


.button {
font-family : Tahoma, Arial, Helvetica, sans-serif;
font-style : normal;
font-size : 10px;
font-weight : bold;
background-color : #F0F0F0;
color : #669900;
border : 1px solid #669900;
}

.inputbox {
font-family : Tahoma, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #333333;
background-color : #FFFFFF;
border : 1px solid #F1F1F1;
}

a:link, a:visited {
color: #669900;
font-size:11px;
text-decoration: none;
}

a:hover {
color: #333333;
text-decoration: underline;
}

a.readon:link,a.readon:visited
{
color: #669900;
font-size:10px;
text-decoration: none;
}

a.readon:hover
{
text-decoration:underline;
}
/* For content item titles that are hyperlink instead of Read On */
a.contentpagetitle:link, a.contentpagetitle:visited {
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #669900;
text-align:left;
text-decoration: underline;
}

a.contentpagetitle:hover {
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:left;
color: #333333;
text-decoration: none;
font-weight: bold;
}

a.category:link, a.category:visited {
color: #669900;
font-weight : bold;
font-size: 11px;
font-weight: bold;
}

a.category:hover {
color : #333333;
}

.user9 {
height : 1px;
}


/* Styles for dhtml tabbed-pages */
.ontab {
border-left: outset 2px #ff9900;
border-right: outset 2px #808080;
border-top: outset 2px #ff9900;
border-bottom: solid 1px #d5d5d5;
text-align: center;
/* Cannot use hand as its not a W3C CSS validator */
/* cursor: hand;*/
font-weight: bold;
color: #FFFFFF;
}
.offtab {
background-color : #e5e5e5;
border-left: outset 2px #E0E0E0;
border-right: outset 2px #E0E0E0;
border-top: outset 2px #E0E0E0;
border-bottom: solid 1px #d5d5d5;
text-align: center;
/* Cannot use hand as its not a W3C CSS validator */
/* cursor: hand;*/
font-weight: normal;
}
.tabpadding {
}

.tabheading {
background-color: #FFFFFF;
text-align: left;
}

.pagetext {
visibility: hidden;
display: none;
position: relative;
top: 0;
}

/* for modifying {moscode} output. Don't set the colour! */
.moscode {
background-color: #f0f0f0;
}
.code {
background-color: #f0f0f0;
border: 1px solid #FFF;
}

/* Text passed with mosmsg url parameter */
.message {
font-family : Tahoma, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size : 10pt;
color : #ff6600;
text-align: center;
}

/* Javascript Back button */
.back_button {
text-align: center;
}

table.contenttoc {
color: #669900;
background-color: #FFFFFF;
border: 1px solid #333;
}

table.contenttoc td {
font-size: 8pt;
font-weight: normal;
text-align:left;
}
ul {
margin: 0;
padding: 0;
list-style: none;

}

li {
line-height: 15px;
padding-right: 10px;
padding-top: 0px;
background-image: url(../images/arrow.png) ;
background-repeat: no-repeat;
background-position: 0px 3px;
background-position:right
}

table.searchinto {
width: 100%;
}

table.searchintro td {
background-color: #669900;
color: #ffffff;
font-weight: bold;
}

form {
/* removes space below form elements */
margin: 0;
padding: 0;
}

firoozmandan
09-06-2009, 09:18 AM
سلام

لینک سایت به همراه اسکرین شات مشکل رو قرار بدید
یا علی

yasan
09-06-2009, 05:19 PM
این لینک سایت:

<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>

یه مشکل دیگه برخوردم

و اون اینه که من میخوام از این ماژول 2 یا 3 جا استفاده کنم اما وقتی کپی میکنم صفحه ایراد پیدا می کنه و این ارور رو میده


Fatal error: Cannot redeclare getnewsflash() (previously declared in /home/khorshid/public_html/fa/modules/mod_newsflashscroller_pro.php:350) in /home/khorshid/public_html/fa/modules/mod_newsflashscroller_pro.php on line 383

ممنون میشم راهنمائی بفرمایئد

firoozmandan
09-07-2009, 10:54 AM
سلام

در کدوم قسمت سایت از این ماژول استفاده کردید ؟

yasan
09-07-2009, 07:01 PM
خوب اونی که اول به کار گرفته ام همون قسمتی که الان هست یعنی قسمت سبز رنگ زیر هدر

و قسمت دوم هم گزارش آماری هست که الان برای اینکه صفحه بهم نریزه غیرفعال کرده ام

و در حالت فعال بودن این قسمت سایت به کلی بهم میریزه و هیچی چیزی نشون نمیده و همون اروری که بالا گفتم رو میده


ممنون میشم هم این مشکل افزایش پهنا رو بفرمائید که باید از کجا برطرف کنم و هم اینکه اصولاً میشه از این کامپونت در 2 جا و یا بیشتر استفاده کرد یا نه؟؟؟

اگه میشه راه حل بفرمائید

firoozmandan
09-09-2009, 07:15 AM
سلام



height=&quot;20&quot;


height این مازول 20 هست این مقدار رو کمتر کنید

و یا ارتفاع td خود رو بیشتر کنید

از کامپوننت در صورتی که نام اون رو تغییر بدید ( با تغییر در کد ) میتونید بیشتر از 1 بار استفاده کنید

یا علی
یا علی