Molim vas ako ko moze da mi objasni :S
samo kucaj ovo i radice
<SELECT>
<OPTION> Zeljeni tekst </OPTION>
<OPTION> Zeljeni tekst </OPTION>
<OPTION> Zeljeni tekst </OPTION>
<OPTION> Zeljeni tekst </OPTION>
<OPTION> Zeljeni tekst </OPTION>
<OPTION> Zeljeni tekst </OPTION>
<OPTION> Zeljeni tekst </OPTION>
</SELECT>
Mislis ispod onog home? itd?
google -.-
dada....
<html>
<head>
<title> padajuci meni </title>
</head>
<body>
<select>
<option> Nesto tamo </option>
<option> Nesto tamo </option>
<option> Nesto tamo </option>
</select>
</body>
</html>
na to sam mislio.....
Quote from: boster on May 12, 2009, 06:29:43 PM
Quote from: markosvaba on May 12, 2009, 05:39:28 PM
Mislis ispod onog home? itd?
pa sad nznm gde tebi treba, gde hoces da ti stoji.......
uglavnom, kod je:
<select>
<option> Nesto tamo </option>
<option> Nesto tamo </option>
<option> Nesto tamo </option>
</select>
na tebi je gde ces ga stavljati
Ma nemoze to tako lako :S,mora u style.css boje itd...
pa iskucaj ovo u notepad pa sacuvaj kao html
Quote<html>
<head>
<title> padajuci meni </title>
</head>
<body>
<select>
<option> Nesto tamo1 </option>
<option> Nesto tamo2 </option>
<option> Nesto tamo3 </option>
</select>
</body>
</html>
i dobices padajuci meni.....
Pretpostavljam da čovek ne misli na HTML već na Drop down menu javascript.
GUGL (http://www.google.rs/search?hl=sr&q=Drop+down+menu+javascript&btnG=%D0%9F%D0%BE%D1%82%D1%80%D0%B0%D0%B6%D0%B8&meta=&aq=f&oq=)
Prvi put cujem da postoji takav kod :) mislim baki da si se zeznuo.. jer svaki taj "Nesto tamo" mora imat i link..jer cemu meni..ako nemozes doci gdje zelis..tako da...taj kod ti bas i ne valja..
Quote from: [̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶ on May 12, 2009, 06:56:53 PM
Prvi put cujem da postoji takav kod :) mislim baki da si se zeznuo.. jer svaki taj "Nesto tamo" mora imat i link..jer cemu meni..ako nemozes doci gdje zelis..tako da...taj kod ti bas i ne valja..
a sto bi to vodilo negde.....
padajuci meni mu sluzi, recimo, da izabere drzavu, zanimanje, itd.....
Ma treba mi za SMF :S,ovo kao sto ovaj forum ima...
Pa da..ali padajuci meni je sirok pojam..moze biti za vise stvari..sta recimo ako imas padajuci meni..pa ti pise ovako..
sad kako inace imas...
Home | Forum | Search | Profile | itd da ne nabrajam... padajuci meni bi se mogao i stavit na Profile..pa kad dodjes sa misem na Profile jos ti se pojavi par izbora...
Home | Forum | Search | Profile |
My Messages
Edit profile...
Tako da...ne znam..meni se cini da njemu bas to treba..jer ovo drugo bas i nema nekog smisla..a i ovo sto si ti rekao.. Lokacija itd to sve treba imat neki link :d sve ti je na forumu linkano.. :)
Quote from: boster on May 12, 2009, 07:11:10 PM
Ma treba mi za SMF :S,ovo kao sto ovaj forum ima...
aaaa......mislis kao ovo u cosku, sto prebacuje na druge forume (engleski, italijanski....itd)?
QuotePa da..ali padajuci meni je sirok pojam..moze biti za vise stvari..sta recimo ako imas padajuci meni..pa ti pise ovako..
sad kako inace imas...
Home | Forum | Search | Profile | itd da ne nabrajam... padajuci meni bi se mogao i stavit na Profile..pa kad dodjes sa misem na Profile jos ti se pojavi par izbora...
Home | Forum | Search | Profile |
My Messages
Edit profile...
Tako da...ne znam..meni se cini da njemu bas to treba..jer ovo drugo bas i nema nekog smisla..a i ovo sto si ti rekao.. Lokacija itd to sve treba imat neki link :d sve ti je na forumu linkano.. :)
pa dobro, nek ubaci link, princip je isti
<option><a href="link">nesto tamo</a></option>
Baki nemas pojma zaspamo si mi temu.......bjez odavde...........treba mi ovo kao sto jurek kaze....
Pa, dao sam ti link za Gugl pretragu sa gomilom JavaScript padajućim menijima.
Što ne čitaš odgovore...
koristi pretragu i nacices.......
http://custom.simplemachines.org/mods/index.php?mod=1508
moze i ovo
<option> Nesto tamo1 </option>
<option> Nesto tamo2 </option>
<option> Nesto tamo3 </option>
Ali ovo nesto tamo1 ces da linkiras htmlom... <a href="link">nesto tamo1</a>
A mozes i damenjas font, boju i velicinu... Naravno html komandanma...
Quote from: baki92 on May 12, 2009, 07:24:40 PM
koristi pretragu i nacices.......
http://custom.simplemachines.org/mods/index.php?mod=1508
Al vidi koja verzija :d 2.0 Beta 4..pa ko to koristi?
Imas rucno instaliranje za 2.0 RC1
Meni je 1.1.8......pa ako neko zna molim da mi pomogne
Quote from: boster on May 13, 2009, 06:01:32 AM
Meni je 1.1.8......pa ako neko zna molim da mi pomogne
uradi najlakse kako ti je receno... Malo htmla i to je to...
A zasta ti treba padajuci meni?
SMF
Quote from: boster on May 13, 2009, 06:25:49 AM
SMF
A ja mislio treba da ti da ga okacis na zicu... Da se deca iz komsiluka igraju...
Za koje funkcije ti treba?
skini ovaj mod sto sam ti ja dao....raspakuj ga i tu imas fajl "install".....otvori ga preko Word Pad-a i tu ce da ti pise sta i gde dodajes......
prvo procitaj ovo
http://rscaffe.com/forum/index.php/topic,14.0.html
za 1.1.x.
index.template.php (nadjite)
</head>
<body>';
Zameniti sa:
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/ddlevelsfiles/ddlevelsmenu-base.css" />
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/ddlevelsfiles/ddlevelsmenu-topbar.css" />
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/ddlevelsfiles/ddlevelsmenu-sidebar.css" />
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/ddlevelsfiles/ddlevelsmenu.js"></script>';
/***********************************************
* All Levels Navigational Menu- (c) Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
echo '
</head>
<body>';
Naci:
</table>
</div>';
// Show the menu here, according to the menu sub template.
template_menu();
Zameniti sa:
</table>';
// Show the menu here, according to the menu sub template.
template_menu();
echo '</div>';
Naci:
// Show the start of the tab section.
echo '
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' , $first , '"> </td>';
// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
</td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
</td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// The end of tab section.
echo '
<td class="maintab_' , $last , '"> </td>
</tr>
</table>';
zameniti sa:
echo '
<div id="ddtopmenubar" class="mattblackmenu">
<ul>';
// Show the [home] button.
echo '<li', $current_action == 'home' ? ' class="current_page"' : '', '><a href="', $scripturl, '">' , $txt[103] , '</a></li>';
// Show the [help] button.
echo '<li', $current_action == 'help' ? ' class="current_page"' : '', '> <a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';
// How about the [search] button?
if ($context['allow_search'])
echo '<li', $current_action == 'search' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '<li', $current_action == 'admin' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<li', $current_action == 'profile' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=profile" rel="ddsubmenu1">' , $txt[79] , '</a></li>';
// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<li', $current_action == 'pm' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=pm" rel="ddsubmenu2">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>';
// The [calendar]!
if ($context['allow_calendar'])
echo '<li', $current_action == 'calendar' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';
// the [member] list button
if ($context['allow_memberlist'])
echo '<li', $current_action == 'mlist' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=mlist" rel="ddsubmenu3">' , $txt[331] , '</a></li>';
// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo '<li', $current_action == 'login' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>';
// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo '<li', $current_action == 'register' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>';
// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo '<li', $current_action == 'logout' ? ' class="current_page"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>';
echo '
</ul>
</div>
<script type="text/javascript">
ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
</script>
<!--HTML for the Drop Down Menus associated with Top Menu Bar-->
<!--They should be inserted OUTSIDE any element other than the BODY tag itself-->
<!--A good location would be the end of the page (right above "</BODY>")-->';
echo '
<!--Top Drop Down Menu 1 HTML-->
<ul id="ddsubmenu1" class="ddsubmenustyle">
<li><a href="', $scripturl, '?action=profile">' , $txt['hcm_summary'] , '</a></li>
<li><a href="', $scripturl, '?action=profile;sa=account">' , $txt['hcm_account'] , '</a></li>
<li><a href="', $scripturl, '?action=profile;sa=forumProfile">' , $txt['hcm_forumProfile'] , '</a></li>
</ul>';
echo '
<!--Top Drop Down Menu 2 HTML-->
<ul id="ddsubmenu2" class="ddsubmenustyle">
<li><a href="', $scripturl, '?action=pm">' , $txt['hcm_readmessages'] , '</a></li>
<li><a href="', $scripturl, '?action=pm;sa=send">' , $txt['hcm_sendmessage'] , '</a></li>
</ul>';
echo '
<!--Top Drop Down Menu 3 HTML-->
<ul id="ddsubmenu3" class="ddsubmenustyle">
<li><a href="', $scripturl, '?action=mlist">' , $txt['hcm_viewmembers'] , '</a></li>
<li><a href="', $scripturl, '?action=mlist;sa=search">' , $txt['hcm_searchmembers'] , '</a></li>
</ul>';
Modifications.english.php
nadjite
?>
Dodajte pre:
$txt['hcm_summary'] = 'Summary';
$txt['hcm_account'] = 'Account Settings';
$txt['hcm_forumProfile'] = 'Forum Profile';
$txt['hcm_readmessages'] = 'Read Your Messages';
$txt['hcm_sendmessage'] = 'Send A Message';
$txt['hcm_viewmembers'] = 'View The Memberlist';
$txt['hcm_searchmembers'] = 'Search For Members';
Uploadujte prikacene fajlove u folder vase teme:
Primer: www.sitename/forum/Themes/default/ddlevelsfiles
Otvorite ddlevelsmenu.js sa notepadom:
downarrowpointer: ["http://www.sitename.com/forum/Themes/default/images/sort_down.gif", 12,12], //path to "down arrow" image that gets added to main menu items (last 2 parameters should be width/height of img)
rightarrowpointer: ["http://www.sitename.com/forum/Themes/default/images/selected.gif", 12,12], //path to "right arrow" image that gets added to LI elements within drop down menu containing additional menus
Promenite www.sitename.com sa domenom vaseg sajta
I jos jedan tutorijal kako napraviti Padajuci Meni (ovo je drugi nacin)
http://www.simplemachines.org/community/index.php?topic=253756.0