lacunacoil.it - Graphic hover-based scroll buttons do not work

RESOLVED INVALID

Status

RESOLVED INVALID
16 years ago
4 years ago

People

(Reporter: todd, Unassigned)

Tracking

Details

(Whiteboard: [bug248549notfixed], URL)

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

This site has graphical scroll buttons that scroll the text when mouse hovers on
them, does not work. Just go to BIO, NEWS, CONTACT, etc. This while site seems
to use these up and down graphics, which when u put the mouse over them, the
text scrolls. It works fine in IE but will do nothing in mozilla, making reading
the entire text impossible.

Reproducible: Always

Steps to Reproduce:
1. Go to site
2. Pick BIO for example
3. Try to scroll text, will not do anything

Actual Results:  
Cannot scroll text

Expected Results:  
Make this feature usable.

Using Pinball theme, other than this, nothing different than Mozilla as
downloaded. Installed Java and flash.
Page assumes either document.layers or document.all, which Mozilla does not
have.  --> TE

(The site is in english but comments in the JS code are in italian,
 so assigning to TE/Italian)

This is the function that needs to be fixed (could be more though):


function tmt_scrollLayerBy(bersaglio, dx, dy, vel) {
    if (document.layers) {
        turi = document.layers[bersaglio];
        var cl = turi.clip.left;
        var ct = turi.clip.top;
        var cr = turi.clip.right;
        var cb = turi.clip.bottom;
        var l = turi.left;
        var t = turi.top;
        turi.clip.left = cl + dx;
        turi.clip.top = ct + dy;
        turi.clip.right = cr + dx;
        turi.clip.bottom = cb + dy;
        turi.top = t - dy;
        turi.left = l - dx;
    } else {
        if (document.all) {
            turi = eval("document.all." + bersaglio + ".style");
            if (turi.clip) {
                var clipv = turi.clip.split("rect(")[1].split(")")[0].split("px");
                var ct = Number(clipv[0]);
                var cr = Number(clipv[1]);
                var cb = Number(clipv[2]);
                var cl = Number(clipv[3]);
                var l = turi.pixelLeft;
                var t = turi.pixelTop;
            }
            ncl = cl + dx;
            nct = ct + dy;
            ncr = cr + dx;
            ncb = cb + dy;
            turi.pixelTop = t - dy;
            turi.pixelLeft = l - dx;
            eval("turi.clip = 'rect(' + nct + ' ' +  ncr + ' ' + ncb + ' ' + ncl
+')'");
        }
    }
    tmt_scrollalo = setTimeout("tmt_scrollLayerBy('" + bersaglio + "'," + dx +
"," + dy + "," + vel + ")", vel);
}
Assignee: general → italian
Status: UNCONFIRMED → NEW
Component: Browser-General → Italian
Ever confirmed: true
OS: Windows 2000 → All
Product: Browser → Tech Evangelism
QA Contact: general → italian
Version: Trunk → unspecified

Updated

15 years ago
Summary: Graphic hover-based scroll buttons do not work → lacunacoil.it - Graphic hover-based scroll buttons do not work
404
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.