Browse Source

php - make iDevice single item menus one click

master
kanoi 9 years ago
parent
commit
4a66fa3a6f
  1. 2
      pool/inc.php
  2. 2
      pool/page.php

2
pool/inc.php

@ -106,9 +106,11 @@ input.tiny {width:0px;height:0px;margin:0px;padding:0px;outline:none;border:0px;
#n42 a {color:#fff;text-decoration:none;padding:6px;display:block;}
#n42 td {min-width:100px;float:left;vertical-align:top;padding:0px 2px;}
#n42 td.navboxr {float:right;}
#n42 td.nav0 {position:relative;}
#n42 td.nav {position:relative;}
#n42 td.ts {border-width:1px;border-color:#0022ee;border-style:solid none none none;}
#n42 div.sub {left:0px;z-index:42;position:absolute;visibility:hidden;}
#n42 td.nav0:hover {background:#0099ee;}
#n42 td.nav:hover {background:#0099ee;}
#n42 td.nav:hover div.sub {background:#0077ee;visibility:visible;}
h1 {margin-top:20px;float:middle;font-size:20px;}

2
pool/page.php

@ -490,7 +490,7 @@ function pgmenu($menus)
$first = false;
if ($submenu == $menu)
{
$ret .= "<tr><td class=nav onclick=''>".makeLink($item)."$menu</a>";
$ret .= "<tr><td class=nav0>".makeLink($item)."$menu</a>";
$ret .= '<div class=sub><table cellpadding=0 cellspacing=0 border=0 width=100%>';
continue;
}

Loading…
Cancel
Save