Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Navigacija
Parašė Lukšius· 2008 Rugp. 17 19:08:52
#1
Gal kas turi panele kur paspaudi ant teksto ir išlenda nuorodos?
Labai reikia
Parašė ramon· 2008 Rugp. 17 20:08:19
#2
Su js. gali padarit, show/hide content.
Parašė Lukšius· 2008 Rugp. 17 21:08:21
#3
Tai kad nemoku :s
Parašė ramon· 2008 Rugp. 17 21:08:39
#4
Nori pasakit kad nemoki nauduotis paieskos sistema? :|
Parašė Niger· 2008 Rugp. 17 21:08:14
#5
echo "<a href=\"javascript:show_hide(ShowHidelola)\"><img src='".THEME."images/bullet.gif'>pavizdys</a><br><div id='ShowHidelola'>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."contact.php'> - pavizdys1.</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."contact.php'> - pavizdys2</a><br>";
echo "</div>";
echo "<script>show_hide(ShowHidelola)</script>";
Parašė Lukšius· 2008 Rugp. 17 21:08:59
#6
Aišku moku naudotis, bet tokios navigacijos nemoku sukurt.
Parašė EGasZ· 2008 Rugp. 17 21:08:31
#7
Va imk :P
openside("Meniu")
?>
<style type="text/css">
.suckerdiv ul{
display:block;
list-style-type: none;
width: 161px;
padding: 0;
margin: 2px 0px 2px 0px;
text-decoration: none;
font: 10px verdana;
font-weight: bold;
color:#fff;
cursor: default;
}
.suckerdiv ul li{
position: relative;
background-image: url(http://www.cs-trn.xz.lt/images/navig.gif);
}
/*Sub level menu items */
.suckerdiv ul li ul{
position: absolute;
width: 161px; /*sub menu width*/
top: 0;
visibility: hidden;
}
/* Sub level menu links style */
.suckerdiv ul li a{
display: block;
overflow: auto; /*force hasLayout in IE7 */
display:block;
width: 150px;
padding: 5px;
margin: 2px 0px 2px 0px;
text-decoration: none;
background-image: url();
border: 1px solid #000;
font: 10px verdana;
font-weight: bold;
color:#fff;
cursor: default;
}
.suckerdiv ul li a:visited{
color:;
}
.suckerdiv ul li a:hover{
display:block;
width: 150px;
padding: 5px;
margin: 2px 0px 2px 0px;
text-decoration: none;
background-color: #000000;
border: 1px solid #000;
font: 10px verdana;
font-weight: bold;
color:#fff;
cursor: default;
}
.suckerdiv .subfolderstyle{
background: url(http://www.cs-trn.xz.lt/images/navig.gif) no-repeat center right;
}
/* Holly Hack for IE \*/
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
/* End */
</style>
<script type="text/javascript">
var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas
function buildsubmenus(){
for (var i=0; i<menuids.length; i++){
var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
for (var t=0; t<ultags.length; t++){
ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"
if (ultags[t].parentNode.parentNode.id==menuids[i]) //if this is a first level submenu
ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px" //dynamically position first level submenus to be width of main menu item
else //else if this is a sub level submenu (ul)
ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
ultags[t].parentNode.onmouseover=function(){
this.getElementsByTagName("ul")[0].style.display="block"
}
ultags[t].parentNode.onmouseout=function(){
this.getElementsByTagName("ul")[0].style.display="none"
}
}
for (var t=ultags.length-1; t>-1; t--){ //loop through all sub menus again, and use "display:none" to hide menus (to prevent possible page scrollbars
ultags[t].style.visibility="visible"
ultags[t].style.display="none"
}
}
}
if (window.addEventListener)
window.addEventListener("load", buildsubmenus, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus)
</script>
<div class="suckerdiv">
<ul id="suckertree1">
<li><a href=#><center>Cs-TRN.xz.lt</center></a>
<ul>
<li><a href='/news.php'>Pradžia</a></li>
<li><a href='/forum/index.php'>Forumas</a></li>
<li><a href='/downloads.php'>Siuntiniai</a></li>
<li><a href='/contacts.php'>Kontaktai</a></li>
<li><a href='/search.php'>Paieška</a></li>
<li><a href='/infusions/irc_chat/irc_chat.php'>IRC Čatas</a></li>
<li><a href='/articles.php'>Straipsniai</a></li>
</ul>
</li>
<li><a href=#><center>MultiMedija</center></a>
<ul>
<li><a href="/photogallery.php">Foto galerija</a>
<li><a href="/viewpage.php?page_id=2">Gera-Muzika</a></li>
<li><a href="/viewpage.php?page_id=3">CStrike-Video</a></li>
</ul>
<li><a href="#"><center>Pateikimai</center></a>
<ul>
<li><a href="/submit.php?stype=n">Pateikti naujieną</a></li>
<li><a href="/submit.php?stype=a">Pateikti straipsnį</a></li>
<li><a href="/submit.php?stype=p">Pateikti foto</a></li>
</ul>
</li>
<li><a href="viewpage.php?page_id=5"><center>Reklama</center></a>
</li>
<li><a href="viewpage.php?page_id=6"><center>UserBarai</center></a></li>
</ul>
</div>
<?
closeside();
Nu cia pagal save persidarysi :P
Redagavo EGasZ· 2008 Rugp. 18 10:08:04
Parašė Lukšius· 2008 Rugp. 17 21:08:51
#8
Galėtai smailus išjunkti. Ačiū ;)
Parašė EGasZ· 2008 Rugp. 17 21:08:31
#9
TAi ar mokesi persidaryti? :D nes jai nemokesi tai ne tau sitam saite sedeti xDDD
Parašė Lukšius· 2008 Rugp. 17 21:08:03
#10
Taigi sakau išjunk smailus, o tada žiūrėsiu ar mokėsiu persidaryt.
Edit: Žiūrėjau :[ čia DHTML panelė :@
Redagavo Lukšius· 2008 Rugp. 17 22:08:04