Module: nagvis
Branch: master
Commit: 8f3180ccfc0e1e29543e850ea5e40368a205e513
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=8f3180ccfc0e1e29543e850ea5e40368a205e513

Author: Lars Michelsen <[email protected]>
Date:   Wed Aug  4 12:26:13 2010 +0200

Removed unused css tag

---

 share/frontend/nagvis-js/js/NagVisObject.js   |    3 ---
 share/frontend/nagvis-js/js/NagVisRotation.js |    1 -
 share/userfiles/templates/default.hover.css   |    5 +++--
 share/userfiles/templates/default.hover.html  |    1 -
 4 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/share/frontend/nagvis-js/js/NagVisObject.js 
b/share/frontend/nagvis-js/js/NagVisObject.js
index 9a9baa9..89bb67a 100644
--- a/share/frontend/nagvis-js/js/NagVisObject.js
+++ b/share/frontend/nagvis-js/js/NagVisObject.js
@@ -278,10 +278,7 @@ var NagVisObject = Base.extend({
                        }
                        
                        hoverMenu.setAttribute('class', 'hover');
-                       hoverMenu.setAttribute('className', 'hover');
                        hoverMenu.style.display = 'none';
-                       hoverMenu.style.position = 'absolute';
-                       hoverMenu.style.overflow = 'visible';
                        
                        // Append template code to hover menu div
                        hoverMenu.innerHTML = sTemplateCode;
diff --git a/share/frontend/nagvis-js/js/NagVisRotation.js 
b/share/frontend/nagvis-js/js/NagVisRotation.js
index 82024b6..d5fceda 100644
--- a/share/frontend/nagvis-js/js/NagVisRotation.js
+++ b/share/frontend/nagvis-js/js/NagVisRotation.js
@@ -91,7 +91,6 @@ var NagVisRotation = NagVisStatelessObject.extend({
                        oTd.onmouseout = function() {
                                this.style.cursor = 'auto';
                                this.style.backgroundColor = '';
-                               return nd();
                        };
                        
                        
oTd.appendChild(document.createTextNode(this.conf.steps[i].name));
diff --git a/share/userfiles/templates/default.hover.css 
b/share/userfiles/templates/default.hover.css
index 6d99578..caf41c9 100644
--- a/share/userfiles/templates/default.hover.css
+++ b/share/userfiles/templates/default.hover.css
@@ -25,8 +25,9 @@
  * @author     Lars Michelsen <[email protected]>
  */
 
-div.hover {position: absolute;overflow: visible;margin:0;padding:0;font-size: 
10px;background-color:#f5f5f5;z-index: 1000;}
-table.hover_table {border-collapse:collapse;width:auto}
+/*overflow:visible;background-color:#f5f5f5;*/
+div.hover 
{position:absolute;margin:0;padding:0;font-size:10px;color:#314455;z-index:1000}
+table.hover_table {border-collapse:collapse;width:auto;margin:0;padding:0}
 table.hover_table td, table.hover_table th {border:1px #a4a4a4 
solid;padding:2px;font-size:9px;color:#314455}
 table.hover_table th {text-align:center;background-color:#eee}
 table.hover_table spacer {height:3px;background-color:#eee}
diff --git a/share/userfiles/templates/default.hover.html 
b/share/userfiles/templates/default.hover.html
index 0857c49..ae3e1b0 100644
--- a/share/userfiles/templates/default.hover.html
+++ b/share/userfiles/templates/default.hover.html
@@ -1,4 +1,3 @@
-<link rel="stylesheet" type="text/css" 
href="[html_templates]default.hover.css" />
 <table class="hover_table">
        <tr><th colspan="2">[lang_obj_type] ([lang_last_status_refresh]: 
[last_status_refresh])</th></tr>
        <tr><td 
class="label"><label>[lang_name]</label></td><td>[obj_name]</td></tr>


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to