HanG321 Blog
Be Shine, Be Smile, Be Wild

DWA: IE7 fixes for Domino 6.5.5

May 29, 2007|Domino, DWA, IE|電腦編程

http://www-1.ibm.com/support/docview.wss?rs=463&context=SSKTMJ&context=SSKTWP&dc=D400&uid=swg24014829&loc=en_US&cs=utf-8&lang=en This document contains instructions for obtaining a fix to address Daylight Saving Time 2007 changes and IE7 issues with Domino Web Access (DWA) 6.5.5. DJAG6TZMNT: IE7 closes with reuse child windows and ‘open pop-ups in new tab’ setting VSEN6MH3YD: IE7…resizing columns in DWA views yield JavaScript error LLGO6UW3E3: IE7 only: DWA warning pops up when send an “Accept with Comment” LCDL6UWB7J: IE7 only: DWA warning pops up when invitee send an “accept with comments” for meeting type Technorati : DWA, Domino 6.5, IE7

Read more »

Email

May 29, 2007|生活記事

呵呵 ~~ Candy 問我係咪有股份 ~~ 連豬皮都問我係咪有份develop ~ Answer: negative 🙂 暫時開住2 個group先, 遲d 先再加 ~~ 不過….原來我多數係有fd 既msn / icq, 但唔一定有佢地既email …… 我既 MSN 係 , 不過記住話我知你係邊個, 唔係既話我一定會ignore 你 ~~ p.s. 我會唔會check hotmail 既…..using Gmail

Read more »

javascript: rotate image with jQuery library

May 28, 2007|Javascript, jQuery|電腦編程

JavaScript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
jQuery.fn.rotate = function(angle,whence) {
    var p = this.get(0);
 
    // we store the angle inside the image tag for persistence
    if (!whence) {
        p.angle = ((p.angle==undefined?0:p.angle) + angle) % 360;
    } else {
        p.angle = angle;
    }
 
    if (p.angle >= 0) {
        var rotation = Math.PI * p.angle / 180;
    } else {
        var rotation = Math.PI * (360+p.angle) / 180;
    }
    var costheta = Math.cos(rotation);
    var sintheta = Math.sin(rotation);
 
    if (document.all && !window.opera) {
        var canvas = document.createElement('img');
 
        canvas.src = p.src;
        canvas.height = p.height;
        canvas.width = p.width;
 
        canvas.style.filter = "progid:DXImageTransform.Microsoft.Matrix(M11="+costheta+",M12="+(-sintheta)+",M21="+sintheta+",M22="+costheta+",SizingMethod='auto expand')";
    } else {
        var canvas = document.createElement('canvas');
        if (!p.oImage) {
            canvas.oImage = new Image();
// assigning following parameters to fix jquery-rotate.1-1 bug on FF2
            canvas.oImage = p;
            canvas.oImage.src = p.src;
            canvas.oImage.width = p.width;
            canvas.oImage.height = p.height;
//end of modified
        } else {
            canvas.oImage = p.oImage;
        }
 
        canvas.style.width = canvas.width = Math.abs(costheta*canvas.oImage.width) + Math.abs(sintheta*canvas.oImage.height);
        canvas.style.height = canvas.height = Math.abs(costheta*canvas.oImage.height) + Math.abs(sintheta*canvas.oImage.width);
 
        var context = canvas.getContext('2d');
        context.save();
        if (rotation <= Math.PI/2) {
            context.translate(sintheta*canvas.oImage.height,0);
        } else if (rotation <= Math.PI) {
            context.translate(canvas.width,-costheta*canvas.oImage.height);
        } else if (rotation <= 1.5*Math.PI) {
            context.translate(-costheta*canvas.oImage.width,canvas.height);
        } else {
            context.translate(0,-sintheta*canvas.oImage.width);
        }
        context.rotate(rotation);
        context.drawImage(canvas.oImage, 0, 0, canvas.oImage.width, canvas.oImage.height);
        context.restore();
    }
    canvas.id = p.id;
    canvas.angle = p.angle;
    p.parentNode.replaceChild(canvas, p);
}
 
jQuery.fn.rotateRight = function(angle) {
    this.rotate(angle==undefined?90:angle);
}
 
jQuery.fn.rotateLeft = function(angle) {
    this.rotate(angle==undefined?-90:-angle);
}

  Technorati : jquery, rotate

Read more »
...102030...59606162...90...

搜尋 Search

Copyright © 2004-2021 hang321.net. All Rights Reserved