hover effect for tabs
This commit is contained in:
parent
676846cd57
commit
a842714b50
|
@ -3,7 +3,7 @@
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2003 - 2010 Roland Gruber
|
Copyright (C) 2003 - 2011 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -1603,7 +1603,7 @@ class accountContainer {
|
||||||
echo "<button style=\"" . $buttonStyle . "\" name=\"form_main_".$this->order[$i]."\"";
|
echo "<button style=\"" . $buttonStyle . "\" name=\"form_main_".$this->order[$i]."\"";
|
||||||
echo " tabindex=$x";
|
echo " tabindex=$x";
|
||||||
if ($buttonStatus == 'disabled') echo " disabled";
|
if ($buttonStatus == 'disabled') echo " disabled";
|
||||||
echo ">";
|
echo ' onmouseover="jQuery(this).addClass(\'tabs-hover\');" onmouseout="jQuery(this).removeClass(\'tabs-hover\');">';
|
||||||
if ($buttonImage != null) {
|
if ($buttonImage != null) {
|
||||||
echo "<img class=\"align-middle\" style=\"padding: 3px;\" alt=\"\" src=\"../../graphics/$buttonImage\"> ";
|
echo "<img class=\"align-middle\" style=\"padding: 3px;\" alt=\"\" src=\"../../graphics/$buttonImage\"> ";
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ $Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2003 Leonhard Walchshaeusl
|
Copyright (C) 2003 Leonhard Walchshaeusl
|
||||||
Copyright (C) 2005 - 2010 Roland Gruber
|
Copyright (C) 2005 - 2011 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -226,7 +226,6 @@ tr.account {
|
||||||
}
|
}
|
||||||
|
|
||||||
#lamVerticalTabs .ui-widget-header {
|
#lamVerticalTabs .ui-widget-header {
|
||||||
/* background: #CCCCCC;*/
|
|
||||||
background: #CCCCCC url(images/ui-bg_highlight-soft_75_cccccc_1x150-vertical.png) repeat-y;
|
background: #CCCCCC url(images/ui-bg_highlight-soft_75_cccccc_1x150-vertical.png) repeat-y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -238,6 +237,10 @@ tr.account {
|
||||||
|
|
||||||
/* --- end of workaround for vertical tabs --- */
|
/* --- end of workaround for vertical tabs --- */
|
||||||
|
|
||||||
|
.tabs-hover {
|
||||||
|
background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;
|
||||||
|
}
|
||||||
|
|
||||||
/* title bar */
|
/* title bar */
|
||||||
.titleBar {
|
.titleBar {
|
||||||
background: #AAAAAA url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) repeat-x scroll 50% 50%;
|
background: #AAAAAA url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) repeat-x scroll 50% 50%;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2003 - 2010 Roland Gruber
|
Copyright (C) 2003 - 2011 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -92,7 +92,7 @@ foreach ($toSort as $key => $value) {
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="<?php echo $headerPrefix; ?>../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="<?php echo $headerPrefix; ?>../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=30>
|
<td align="right" height=30>
|
||||||
<ul id="foo" class="dropmenu">
|
<ul id="dropmenu" class="dropmenu">
|
||||||
<li><a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png"> <?php echo _("Logout") ?></a></li>
|
<li><a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png"> <?php echo _("Logout") ?></a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $headerPrefix; ?>tools.php"><img alt="tools" src="<?php echo $headerPrefix; ?>../graphics/tools.png"> <?php echo _("Tools") ?> </a>
|
<a href="<?php echo $headerPrefix; ?>tools.php"><img alt="tools" src="<?php echo $headerPrefix; ?>../graphics/tools.png"> <?php echo _("Tools") ?> </a>
|
||||||
|
@ -136,15 +136,13 @@ foreach ($toSort as $key => $value) {
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
$('#foo').dropmenu(
|
jQuery('#dropmenu').dropmenu({
|
||||||
{
|
|
||||||
effect : 'slide',
|
effect : 'slide',
|
||||||
nbsp : true,
|
nbsp : true,
|
||||||
timeout : 350,
|
timeout : 350,
|
||||||
speed : 'fast'
|
speed : 'fast'
|
||||||
}
|
});
|
||||||
);
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -154,7 +152,8 @@ $(document).ready(function() {
|
||||||
<?php
|
<?php
|
||||||
$linkList = array();
|
$linkList = array();
|
||||||
for ($i = 0; $i < sizeof($types); $i++) {
|
for ($i = 0; $i < sizeof($types); $i++) {
|
||||||
$link = '<a href="' . $headerPrefix . 'lists/list.php?type=' . $types[$i] . '">' .
|
$link = '<a href="' . $headerPrefix . 'lists/list.php?type=' . $types[$i] .
|
||||||
|
'" onmouseover="jQuery(this).addClass(\'tabs-hover\');" onmouseout="jQuery(this).removeClass(\'tabs-hover\');">' .
|
||||||
'<img alt="' . $types[$i] . '" src="' . $headerPrefix . '../graphics/' . $types[$i] . '.png"> ' .
|
'<img alt="' . $types[$i] . '" src="' . $headerPrefix . '../graphics/' . $types[$i] . '.png"> ' .
|
||||||
getTypeAlias($types[$i]) . '</a>';
|
getTypeAlias($types[$i]) . '</a>';
|
||||||
echo '<li id="tab_' . $types[$i] . '" class="ui-state-default ui-corner-top">';
|
echo '<li id="tab_' . $types[$i] . '" class="ui-state-default ui-corner-top">';
|
||||||
|
|
Loading…
Reference in New Issue