Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Navigacija

Parašė Marčius· 2008 Rugs. 27 07:09:49
#1

Gal žinote kaip reikia padaryti išsiskledančia navigacija.? nu yra mano pvz Portalas ir pries žodį + tai būtų +Portalas paspaudi ant + ir išmeta turini taip išsiskledžia, bet, kad galėčiau padaryti apie 10 žodžių.:s

Parašė Child· 2008 Rugs. 27 08:09:01
#2

Naudok dHTML meniu arba meniu medi;)

Parašė iNeT· 2008 Rugs. 27 09:09:23
#3

Galvoji jis kanors suprato ką tu čia pasakiai?

Parašė MAnjack· 2008 Rugs. 27 09:09:58
#4

http://phpfusion.lt/infusions/mo...mod_id=291

Parašė Marčius· 2008 Rugs. 27 09:09:46
#5

MAnjack parašė:
http://phpfusion.lt/infusions/mo...mod_id=291


Čia ant v7

Parašė Marčius· 2008 Rugs. 27 10:09:03
#6

Radau pavizdy mobpasaulis.xz.lt

Parašė Niger· 2008 Rugs. 27 11:09:56
#7

openside("Maniu");
echo "<style type='text/css'>
/* The following is CSS to tweak */
html{
height:100%;
}
body{
font-family: Verdana, Arial, Helvetica, sans-serif;
margin:0px;
padding:0px;
height:100%;
font-size:0.9em;
line-height:130%;
text-align:left;
}
#mainContainer{
width:160px;
margin: 0 auto;
border-left:0px solid #000;
border-right:0px solid #000;
height:100%;
text-align:left;
}
#leftColumn{
width:160px;
float:left;
padding-left:0px;
}
#mainContent{
width:590px;
padding-left:0px;
padding-right:0px;
float:left;
}
#topBar{
height:100px;
}
/* End of CSS */
/****************************************************************************************
* LAYOUT CSS FOR THE MENU
****************************************************************************************/
#dhtmlgoodies_listMenu a{ /* Main menu items */
color:#000000;
font-weight:bold;
list-style-type:none;
padding-left: 12px;
}
#dhtmlgoodies_listMenu ul li a{ /* Sub menu */
color: #FF0000;
font-weight:normal;
font-style:none;
}
#dhtmlgoodies_listMenu ul li ul li a{ /* Sub Sub menu */
color: #FF0000;
font-style:none;
font-weight:normal;
}
#dhtmlgoodies_listMenu .activeMenuLink{ /* Styling of active menu item */
}
/*
No bullets
*/
#dhtmlgoodies_listMenu li{
list-style-type:none;
}
/*
No margin and padding
*/
#dhtmlgoodies_listMenu, #dhtmlgoodies_listMenu ul{
margin:0px;
padding:0px;
}
/* Margin of sub menu items */
#dhtmlgoodies_listMenu ul{
display:none;
margin-left:7px;
color: #FF0000;
font-style:none;
}
</style>
<script type='text/javascript'>
/************************************************************************************************************
(C) www.dhtmlgoodies.com, October 2005
This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.
Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.
Thank you!
www.dhtmlgoodies.com
Alf Magne Kalleland
************************************************************************************************************/
var activeMenuItem = new Array();
function isUlInArray(inputObj,ulObj){
while(inputObj && inputObj.id!='dhtmlgoodies_listMenu'){
if(inputObj==ulObj)return true;
inputObj = inputObj.parentNode;
}
return false;
}
function showHideSub(e,inputObj)
{
if(!inputObj)inputObj=this;
var parentObj = inputObj.parentNode;
var ul = parentObj.getElementsByTagName('UL')[0];
if(activeMenuItem.length>0){
for(var no=0;no<activeMenuItem.length;no++){
if(!isUlInArray(ul,activeMenuItem[0]) && !isUlInArray(activeMenuItem[0],ul)){
activeMenuItem[no].style.display='none';
activeMenuItem.splice(no,1);
no--;
}
}
}
if(ul.offsetHeight == 0){
ul.style.display='block';
activeMenuItem.push(ul);
}else{
ul.style.display='none';
}
}
function showHidePath(inputObj)
{
var startTag = inputObj;
showHideSub(false,inputObj);
inputObj = inputObj.parentNode;
while(inputObj){
inputObj = inputObj.parentNode;
if(inputObj.tagName=='LI')showHideSub(false,inputObj.getElementsByTagName('A')[0]);
if(inputObj.id=='dhtmlgoodies_listMenu')inputObj=false;
}
}
function initMenu()
{
var obj = document.getElementById('dhtmlgoodies_listMenu');
var linkCounter=0;
var aTags = obj.getElementsByTagName('A');
var activeMenuItem = false;
var activeMenuLink = false;
var thisLocationArray = location.href.split(/\//);
var fileNameThis = thisLocationArray[thisLocationArray.length-1];
if(fileNameThis.indexOf('?')>0)fileNameThis = fileNameThis.substr(0,fileNameThis.indexOf('?'));
if(fileNameThis.indexOf('#')>0)fileNameThis = fileNameThis.substr(0,fileNameThis.indexOf('#'));
for(var no=0;no<aTags.length;no++){
var parent = aTags[no].parentNode;
var subs = parent.getElementsByTagName('UL');
if(subs.length>0){
aTags[no].onclick = showHideSub;
linkCounter++;
aTags[no].id = 'aLink' + linkCounter;
}
if(aTags[no].href.indexOf(fileNameThis)>=0 && aTags[no].href.charAt(aTags[no].href.length-1)!='#'){
if(aTags[no].parentNode.parentNode && aTags[no].parentNode.parentNode.id!='dhtmlgoodies_listMenu'){
var parentObj = aTags[no].parentNode.parentNode.parentNode;
var a = parentObj.getElementsByTagName('A')[0];
if(a.id && !activeMenuLink){
activeMenuLink = aTags[no];
activeMenuItem = a.id;
}
}
}
}
if(activeMenuLink){
activeMenuLink.className='activeMenuLink';
}
if(activeMenuItem){
if(document.getElementById(activeMenuItem))showHidePath(document.getElementById(activeMenuItem));
}
}
window.onload = initMenu;
</script>
<div id='mainContainer'>
<div id='leftColumn'>
<ul id='dhtmlgoodies_listMenu'>
<li><a href='#'>+ Pasirinkimas1</a>
<ul>
<li><a href='/viewpage.php?page_id=13'>- Linkas1</a></li>
<li><a href='/viewpage.php?page_id=15'>- Linkas2</a></li>
<li><a href='/viewpage.php?page_id=16'>- Linkas3</a></li>
<li><a href='/viewpage.php?page_id=26'>- Linkas4</a></li>
<li><a href='/viewpage.php?page_id=27'>- Linkas5</a></li>
</ul>
</li>
<li><a href='#'>+ Pasirinkimas2</a>
<ul>
<li><a href='/viewpage.php?page_id=13'>- Linkas6</a></li>
<li><a href='/viewpage.php?page_id=13'>- Linkas7</a></li>
<li><a href='/viewpage.php?page_id=13'>- Linkas8</a></li>
<li><a href='/viewpage.php?page_id=13'>- Linkas9</a></li>
<li><a href='/viewpage.php?page_id=13'>- Linkas10</a></li>>
</ul>
</li>
</ul>
</div>
</div>
";
closeside();




mokesi susitvarkysi o meniu tokia pati!