From c2a02ccd6ddf8c62f233d67b93e0a3b0be7aaee1 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Fri, 26 Oct 2007 03:47:29 +0000 Subject: [PATCH] increased zIndex as there seem to be sites with zIndex = 1.000.000 out there --- content/hints.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/hints.js b/content/hints.js index a9bda0f1..f8fef0ed 100644 --- a/content/hints.js +++ b/content/hints.js @@ -158,7 +158,7 @@ vimperator.Hints = function() //{{{ baseNodeAbsolute.style.fontWeight = "bold"; baseNodeAbsolute.style.lineHeight = "10px"; baseNodeAbsolute.style.padding = "0px 1px 0px 0px"; - baseNodeAbsolute.style.zIndex = "5000"; + baseNodeAbsolute.style.zIndex = "10000001"; baseNodeAbsolute.className = "vimperator-hint"; var res = vimperator.buffer.evaluateXPath(vimperator.options["hinttags"], doc, null, true); @@ -279,7 +279,7 @@ outer: imgspan.style.backgroundColor = "yellow"; imgspan.style.position = "absolute"; imgspan.style.opacity = 0.5; - imgspan.style.zIndex = "4999"; + imgspan.style.zIndex = "10000000"; imgspan.className = "vimperator-hint"; hints[i][3] = imgspan; doc.body.appendChild(imgspan);