mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@322 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6e848cb30f
commit
e8392161fe
3 changed files with 72 additions and 51 deletions
|
|
@ -101,20 +101,23 @@ function stopRainbow()
|
|||
//=============================================================================
|
||||
function doRainbowAnchor()
|
||||
{
|
||||
if (act == 0) {
|
||||
var obj = event.srcElement;
|
||||
while (obj.tagName != 'A' && obj.tagName != 'BODY') {
|
||||
obj = obj.parentElement;
|
||||
if (obj.tagName == 'A' || obj.tagName == 'BODY')
|
||||
break;
|
||||
}
|
||||
try {
|
||||
if (act == 0) {
|
||||
var obj = event.srcElement;
|
||||
while (obj.tagName != 'A' && obj.tagName != 'BODY') {
|
||||
obj = obj.parentElement;
|
||||
if (obj.tagName == 'A' || obj.tagName == 'BODY')
|
||||
break;
|
||||
}
|
||||
|
||||
if (obj.tagName == 'A' && obj.href != '') {
|
||||
objActive = obj;
|
||||
act = 1;
|
||||
clrOrg = objActive.style.color;
|
||||
TimerID = setInterval("ChangeColor()",100);
|
||||
if (obj.tagName == 'A' && obj.href != '') {
|
||||
objActive = obj;
|
||||
act = 1;
|
||||
clrOrg = objActive.style.color;
|
||||
TimerID = setInterval("ChangeColor()",100);
|
||||
}
|
||||
}
|
||||
} catch(e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue