SunRise Tema duyuru

Başlatan bugra0127, 07 Haz 2020, 15:55

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

bugra0127

Duyuru paylaştığım da hareketli olarak görünüyor fakat ben renkli sabit ortalanmış şekilde görünmesini istiyorum yahut bu sitedeki gibi olabilir ama üstüne tıklayınca linke yönlendirmesini de istiyorum ayrıca Lütfen yardım eder misiniz bana

Elcros

Ana sayfadaki haberler kısmını diyorsanız tema dosyalarında aç: BoardIndex.template.php

Bul
// Random News For Phones&Tablets.
if ($settings['show_newsfader'] && !empty($context['fader_news_lines']) && !empty($settings['news_boardindex_only']))
{
echo'
<div class="news_marquee" style="margin-bottom: 2em;">
<i class="fas fa-info"></i>
<div class="newslines"><div class="marquee">';

foreach ($context['news_lines'] as $news) {
echo'', $news, '           <i class="fas fa-circle"></i>           ';
}

echo'</div></div>
</div>
<script>jq(\'.marquee\').marquee({
//speed in milliseconds of the marquee
duration: ', empty($settings['newsmarquee_time']) ? '14000' : $settings['newsmarquee_time'], ',  pauseOnHover: true
});</script>';
}

Değiştir
if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))
{


echo '
<div id="newsfader">
<div class="cat_bar">
<h3 class="catbg">
<img id="newsupshrink" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="display: none;" />
', $txt['news'], '

</h3>
</div>
<ul class="reset" id="smfFadeScroller"', empty($options['collapse_news_fader']) ? '' : ' style="display: none;"', '>';

foreach ($context['news_lines'] as $news)
echo '
<li>', $news, '</li>';

echo '
</ul>
</div>

<script type="text/javascript" src="', $settings['theme_url'], '/scripts/fader.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[

// Create a news fader object.
var oNewsFader = new smf_NewsFader({
sSelf: \'oNewsFader\',
sFaderControlId: \'smfFadeScroller\',
sItemTemplate: ', JavaScriptEscape('<strong>%1$s</strong>'), ',
iFadeDelay: ', empty($settings['newsfader_time']) ? 5000 : $settings['newsfader_time'], '
});

// Create the news fader toggle.
var smfNewsFadeToggle = new smc_Toggle({
bToggleEnabled: true,
bCurrentlyCollapsed: ', empty($options['collapse_news_fader']) ? 'false' : 'true', ',
aSwappableContainers: [
\'smfFadeScroller\'
],
aSwapImages: [
{
sId: \'newsupshrink\',
srcExpanded: smf_images_url + \'/collapse.gif\',
altExpanded: ', JavaScriptEscape($txt['upshrink_description']), ',
srcCollapsed: smf_images_url + \'/expand.gif\',
altCollapsed: ', JavaScriptEscape($txt['upshrink_description']), '
}
],
oThemeOptions: {
bUseThemeSettings: ', $context['user']['is_guest'] ? 'false' : 'true', ',
sOptionName: \'collapse_news_fader\',
sSessionVar: ', JavaScriptEscape($context['session_var']), ',
sSessionId: ', JavaScriptEscape($context['session_id']), '
},
oCookieOptions: {
bUseCookie: ', $context['user']['is_guest'] ? 'true' : 'false', ',
sCookieName: \'newsupshrink\'
}
});
// ]]></script>';
}
ElcrosGraphic

bugra0127

Alıntı yapılan: Elcros - 07 Haz 2020, 16:08Ana sayfadaki haberler kısmını diyorsanız tema dosyalarında aç: BoardIndex.template.php

Bul
// Random News For Phones&Tablets.
if ($settings['show_newsfader'] && !empty($context['fader_news_lines']) && !empty($settings['news_boardindex_only']))
{
echo'
<div class="news_marquee" style="margin-bottom: 2em;">
<i class="fas fa-info"></i>
<div class="newslines"><div class="marquee">';

foreach ($context['news_lines'] as $news) {
echo'', $news, '           <i class="fas fa-circle"></i>           ';
}

echo'</div></div>
</div>
<script>jq(\'.marquee\').marquee({
//speed in milliseconds of the marquee
duration: ', empty($settings['newsmarquee_time']) ? '14000' : $settings['newsmarquee_time'], ',  pauseOnHover: true
});</script>';
}

Değiştir
if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))
{


echo '
<div id="newsfader">
<div class="cat_bar">
<h3 class="catbg">
<img id="newsupshrink" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="display: none;" />
', $txt['news'], '

</h3>
</div>
<ul class="reset" id="smfFadeScroller"', empty($options['collapse_news_fader']) ? '' : ' style="display: none;"', '>';

foreach ($context['news_lines'] as $news)
echo '
<li>', $news, '</li>';

echo '
</ul>
</div>

<script type="text/javascript" src="', $settings['theme_url'], '/scripts/fader.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[

// Create a news fader object.
var oNewsFader = new smf_NewsFader({
sSelf: \'oNewsFader\',
sFaderControlId: \'smfFadeScroller\',
sItemTemplate: ', JavaScriptEscape('<strong>%1$s</strong>'), ',
iFadeDelay: ', empty($settings['newsfader_time']) ? 5000 : $settings['newsfader_time'], '
});

// Create the news fader toggle.
var smfNewsFadeToggle = new smc_Toggle({
bToggleEnabled: true,
bCurrentlyCollapsed: ', empty($options['collapse_news_fader']) ? 'false' : 'true', ',
aSwappableContainers: [
\'smfFadeScroller\'
],
aSwapImages: [
{
sId: \'newsupshrink\',
srcExpanded: smf_images_url + \'/collapse.gif\',
altExpanded: ', JavaScriptEscape($txt['upshrink_description']), ',
srcCollapsed: smf_images_url + \'/expand.gif\',
altCollapsed: ', JavaScriptEscape($txt['upshrink_description']), '
}
],
oThemeOptions: {
bUseThemeSettings: ', $context['user']['is_guest'] ? 'false' : 'true', ',
sOptionName: \'collapse_news_fader\',
sSessionVar: ', JavaScriptEscape($context['session_var']), ',
sSessionId: ', JavaScriptEscape($context['session_id']), '
},
oCookieOptions: {
bUseCookie: ', $context['user']['is_guest'] ? 'true' : 'false', ',
sCookieName: \'newsupshrink\'
}
});
// ]]></script>';
}
Çook teşekkürler oldu