projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f927a1
)
multiple topbanner big banner added
author
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Fri, 1 Aug 2008 07:45:40 +0000
(07:45 +0000)
committer
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Fri, 1 Aug 2008 07:45:40 +0000
(07:45 +0000)
web/commons.js
patch
|
blob
|
history
diff --git
a/web/commons.js
b/web/commons.js
index
3207c11
..
e305e99
100644
(file)
--- a/
web/commons.js
+++ b/
web/commons.js
@@
-140,10
+140,14
@@
function removeEvent(obj,type,fn)
function show_bigpict(obj, act, x, y)
{
- var big;
+ var big
, sfx
;
- // alert("offsetTop: "+obj.offsetTop+" offsetLeft: "+obj.offsetLeft+"obj.id: "+obj.id);
- big = $(obj.id+"_big");
+ if (arguments.length > 4)
+ sfx = arguments[4];
+ else
+ sfx = '';
+
+ big = $(obj.id+"_big"+sfx);
if (act == "over") {
big.style.left = obj.offsetLeft + x+"px";
big.style.top = obj.offsetTop + y+"px";