SlideShare a Scribd company logo
1 of 3
GradientFilter
.NET Framework 3.0
Displays a color gradient betweenthe object's backgroundandcontent.
Syntax
HTML
<ELEMENT STYLE=
"filter:progid:DXImageTransform.Microsoft.Gradient(sProperties)"... >
Internet Explorer5.5or
later
Scripting
object .style.filter =
"progid:DXImageTransform.Microsoft.Gradient(sProperties)"
Internet Explorer5.5or
later
Possible Values
sProperties Stringthat specifies one ormore properties exposedby the filter.
Members Table
The followingtable lists the members exposedby the Gradientobject.
Attributes/Properties
Attribute Property Description
enabled Enabled Sets or retrieves a value that indicates whetherthe filteris enabled.
EndColor Sets or retrieves thefinal opaque color for a gradient surface.
EndColorStr Sets or retrieves thefinal colorfora gradient surface.
GradientType Sets or retrieves theorientationof the gradient.
StartColor Sets or retrieves theinitial opaque colorfora gradient surface.
startColorStr StartColorStr Sets or retrieves theinitial color for a gradient surface.
Remarks
When revealedby a transition, any text that covers a Gradient proceduralsurface is initially exposedas transparent.Afterthe
transition hasfinished, the textis updatedto the applicable color.
The object that thefilteris appliedto must have layout beforethefilter effectwill display. You can give the object layout by
settingtheheightor width property,setting the position property to absolute, setting the writingMode property to tb-rl,or
settingthecontentEditableproperty to true.
You can assign multiplefiltersor transitions to an objectby declaringeach in the filter property of the object.The
following div declaration assigns twofiltersanda Wheel transition to a div element.
<DIV STYLE="width:100%;filter:
progid:DXImageTransform.Microsoft.MotionBlur(strength=13,direction=310)
progid:DXImageTransform.Microsoft.Blur(pixelradius=2)
progid:DXImageTransform.Microsoft.Wheel(duration=3);">
Blurry text with smudge of gray.</div>
When multiple filters are appliedto an object,each filteris processedin sourceorder,with theexception of procedural
surfaces,which arecomputedfirst. To emphasizea filter's effect,placeit lastin source orderor on the object's parent. Always
place transitions last in sourceorder.
<SCRIPT>
<!-- Toggle the Enabled property to toggle the gradient. -->
function fnToggle(oObj) {
if (oDiv.filters(0).enabled){
oDiv.filters(0).enabled='false';
oObj.innerText='Add Gradient';}
else {
oDiv.filters(0).enabled='true';
oObj.innerText='Make Normal';}
}
</SCRIPT>
<font size="+5">
<DIV ID="oDiv" STYLE="height:120px; color:green; filter:
progid:DXImageTransform.Microsoft.gradient(enabled='false',
startColorstr=#550000FF, endColorstr=#55FFFF00)" >
A simple gradient
</DIV>
</font>
<P>
<BUTTON onclick="fnToggle(this)">Add Gradient</BUTTON><BR/>
Color your background with 7 gradients ...
Here is how you can put different colors in each screen corner + in the center + from top to bottom
Just make sure your document has <HTML><BODY> start and end elements and insert these functions:
//- set_background_corner(color, opacity, corner) -> set color in a corner (0 to 1 = top to bottom) (= 2 to 5) or in center (= 6); opacity is number
from 1 to 100
// Set background colors
function set_background_corner(color, opacity, corner) {
if (corner >= 0 && corner <= 6) {
if (!color) { insert_bg_styles(undefined, 'bg_styles_' + corner); }
else insert_bg_styles('background-color: ' + color + '; FILTER: Alpha(style='+ (corner==6?2:1) + ',opacity=' + opacity +
',finishOpacity=0' +
(corner==0?',startX=50,finishX=50,startY=0,finishY=77); z-index: -998;' : // top
(corner==1?',startX=50,finishX=50,startY=100,finishY=23); z-index: -999;' : // bottom
(corner==2?',startX=0,finishX=23,startY=0,finishY=47); z-index: -995;' : // upper left
(corner==3?',startX=100,finishX=77,startY=0,finishY=47); z-index: -994;' : // upper right
(corner==4?',startX=100,finishX=77,startY=100,finishY=53); z-index: -997;' :
(corner==5?',startX=0,finishX=23,startY=100,finishY=53); z-index: -996;' :
'); z-index: -993;')))))), 'bg_styles_' + corner); // center
}
}
// Set background colors
function insert_bg_styles(styles, id) {
var divObj = document.getElementById(id);
if (styles) {
styles += ' position: absolute; top: 0px; left:0px; width: 100%; height:100%;';
// Replace colors
if (!divObj) {
var newDivObj = document.createElement("DIV");
newDivObj.id = id;
newDivObj.style.cssText = styles;
document.body.appendChild(newDivObj);
}
else divObj.style.cssText = styles;
}
// Remove element
else if (divObj) divObj.parentNode.removeChild(divObj);
}
// AND finally here is some example of use:
set_background_corner('mistyrose', 100, 2);
set_background_corner('white', 100, 6);
set_background_corner('gold', 90, 3);
set_background_corner('moccasin', 100, 0);
set_background_corner('powderblue', 100, 1);
set_background_corner('palegreen', 100, 4);
set_background_corner('lavender', 100, 5);
Gradient effect for ie 7

More Related Content

What's hot

Monoids, monoids, monoids
Monoids, monoids, monoidsMonoids, monoids, monoids
Monoids, monoids, monoidsLuka Jacobowitz
 
Scalaz 8: A Whole New Game
Scalaz 8: A Whole New GameScalaz 8: A Whole New Game
Scalaz 8: A Whole New GameJohn De Goes
 
One Monad to Rule Them All
One Monad to Rule Them AllOne Monad to Rule Them All
One Monad to Rule Them AllJohn De Goes
 
Java Graphics
Java GraphicsJava Graphics
Java GraphicsShraddha
 
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony CodeGroovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Codestasimus
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comclaric130
 
Swift 함수 커링 사용하기
Swift 함수 커링 사용하기Swift 함수 커링 사용하기
Swift 함수 커링 사용하기진성 오
 
Introduction to Monads in Scala (1)
Introduction to Monads in Scala (1)Introduction to Monads in Scala (1)
Introduction to Monads in Scala (1)stasimus
 
Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)진성 오
 
Monoids, Monoids, Monoids - ScalaLove 2020
Monoids, Monoids, Monoids - ScalaLove 2020Monoids, Monoids, Monoids - ScalaLove 2020
Monoids, Monoids, Monoids - ScalaLove 2020Luka Jacobowitz
 
Traversals for all ocasions
Traversals for all ocasionsTraversals for all ocasions
Traversals for all ocasionsLuka Jacobowitz
 
First-Class Patterns
First-Class PatternsFirst-Class Patterns
First-Class PatternsJohn De Goes
 
Macros code Copy paste visible data after filtering
Macros code Copy paste visible data after filteringMacros code Copy paste visible data after filtering
Macros code Copy paste visible data after filteringPramodkumar Jha
 
Why The Free Monad isn't Free
Why The Free Monad isn't FreeWhy The Free Monad isn't Free
Why The Free Monad isn't FreeKelley Robinson
 
ZIO: Powerful and Principled Functional Programming in Scala
ZIO: Powerful and Principled Functional Programming in ScalaZIO: Powerful and Principled Functional Programming in Scala
ZIO: Powerful and Principled Functional Programming in ScalaWiem Zine Elabidine
 
The java language cheat sheet
The java language cheat sheetThe java language cheat sheet
The java language cheat sheetanand_study
 

What's hot (20)

Monoids, monoids, monoids
Monoids, monoids, monoidsMonoids, monoids, monoids
Monoids, monoids, monoids
 
Scalaz 8: A Whole New Game
Scalaz 8: A Whole New GameScalaz 8: A Whole New Game
Scalaz 8: A Whole New Game
 
One Monad to Rule Them All
One Monad to Rule Them AllOne Monad to Rule Them All
One Monad to Rule Them All
 
Java Graphics
Java GraphicsJava Graphics
Java Graphics
 
Scala best practices
Scala best practicesScala best practices
Scala best practices
 
OOP v3
OOP v3OOP v3
OOP v3
 
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony CodeGroovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Code
 
R-Shiny Cheat sheet
R-Shiny Cheat sheetR-Shiny Cheat sheet
R-Shiny Cheat sheet
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.com
 
Swift 함수 커링 사용하기
Swift 함수 커링 사용하기Swift 함수 커링 사용하기
Swift 함수 커링 사용하기
 
Introduction to Monads in Scala (1)
Introduction to Monads in Scala (1)Introduction to Monads in Scala (1)
Introduction to Monads in Scala (1)
 
2014-11-01 01 Денис Нелюбин. О сортах кофе
2014-11-01 01 Денис Нелюбин. О сортах кофе2014-11-01 01 Денис Нелюбин. О сортах кофе
2014-11-01 01 Денис Нелюбин. О сортах кофе
 
Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)
 
Monoids, Monoids, Monoids - ScalaLove 2020
Monoids, Monoids, Monoids - ScalaLove 2020Monoids, Monoids, Monoids - ScalaLove 2020
Monoids, Monoids, Monoids - ScalaLove 2020
 
Traversals for all ocasions
Traversals for all ocasionsTraversals for all ocasions
Traversals for all ocasions
 
First-Class Patterns
First-Class PatternsFirst-Class Patterns
First-Class Patterns
 
Macros code Copy paste visible data after filtering
Macros code Copy paste visible data after filteringMacros code Copy paste visible data after filtering
Macros code Copy paste visible data after filtering
 
Why The Free Monad isn't Free
Why The Free Monad isn't FreeWhy The Free Monad isn't Free
Why The Free Monad isn't Free
 
ZIO: Powerful and Principled Functional Programming in Scala
ZIO: Powerful and Principled Functional Programming in ScalaZIO: Powerful and Principled Functional Programming in Scala
ZIO: Powerful and Principled Functional Programming in Scala
 
The java language cheat sheet
The java language cheat sheetThe java language cheat sheet
The java language cheat sheet
 

Viewers also liked

Viewers also liked (10)

Papelería Comercial
Papelería ComercialPapelería Comercial
Papelería Comercial
 
2do periodo
2do periodo2do periodo
2do periodo
 
Vongamicusbrief
VongamicusbriefVongamicusbrief
Vongamicusbrief
 
про рос мову
про рос мовупро рос мову
про рос мову
 
Las matemáticas y el desequilibrio que hay en la sociedad
Las matemáticas y el desequilibrio que hay en la sociedadLas matemáticas y el desequilibrio que hay en la sociedad
Las matemáticas y el desequilibrio que hay en la sociedad
 
Buen uso de internet
Buen uso de internetBuen uso de internet
Buen uso de internet
 
2do periodo
2do periodo2do periodo
2do periodo
 
El arandano sarahi
El arandano sarahiEl arandano sarahi
El arandano sarahi
 
Gestion del conocimiento
Gestion del conocimientoGestion del conocimiento
Gestion del conocimiento
 
Curriculum Vitae Marie Giani_Dec 2016
Curriculum Vitae Marie Giani_Dec 2016Curriculum Vitae Marie Giani_Dec 2016
Curriculum Vitae Marie Giani_Dec 2016
 

Similar to Gradient effect for ie 7

bbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docx
bbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docxbbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docx
bbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docxikirkton
 
Rage Against the Framework
Rage Against the FrameworkRage Against the Framework
Rage Against the FrameworkDavid Ortinau
 
Learn D3.js in 90 minutes
Learn D3.js in 90 minutesLearn D3.js in 90 minutes
Learn D3.js in 90 minutesJos Dirksen
 
SVCC 2013 D3.js Presentation (10/05/2013)
SVCC 2013 D3.js Presentation (10/05/2013)SVCC 2013 D3.js Presentation (10/05/2013)
SVCC 2013 D3.js Presentation (10/05/2013)Oswald Campesato
 
Hidden Docs in Angular
Hidden Docs in AngularHidden Docs in Angular
Hidden Docs in AngularYadong Xie
 
The Ring programming language version 1.5.3 book - Part 58 of 184
The Ring programming language version 1.5.3 book - Part 58 of 184The Ring programming language version 1.5.3 book - Part 58 of 184
The Ring programming language version 1.5.3 book - Part 58 of 184Mahmoud Samir Fayed
 
The Ring programming language version 1.5.3 book - Part 48 of 184
The Ring programming language version 1.5.3 book - Part 48 of 184The Ring programming language version 1.5.3 book - Part 48 of 184
The Ring programming language version 1.5.3 book - Part 48 of 184Mahmoud Samir Fayed
 
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-Tsuyoshi Yamamoto
 
How to Mess Up Your Angular UI Components
How to Mess Up Your Angular UI ComponentsHow to Mess Up Your Angular UI Components
How to Mess Up Your Angular UI Componentscagataycivici
 
The Ring programming language version 1.5.3 book - Part 27 of 184
The Ring programming language version 1.5.3 book - Part 27 of 184The Ring programming language version 1.5.3 book - Part 27 of 184
The Ring programming language version 1.5.3 book - Part 27 of 184Mahmoud Samir Fayed
 
Working With JQuery Part1
Working With JQuery Part1Working With JQuery Part1
Working With JQuery Part1saydin_soft
 
The Ring programming language version 1.5.2 book - Part 44 of 181
The Ring programming language version 1.5.2 book - Part 44 of 181The Ring programming language version 1.5.2 book - Part 44 of 181
The Ring programming language version 1.5.2 book - Part 44 of 181Mahmoud Samir Fayed
 
Code is not text! How graph technologies can help us to understand our code b...
Code is not text! How graph technologies can help us to understand our code b...Code is not text! How graph technologies can help us to understand our code b...
Code is not text! How graph technologies can help us to understand our code b...Andreas Dewes
 

Similar to Gradient effect for ie 7 (20)

bbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docx
bbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docxbbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docx
bbyopenApp_Code.DS_StorebbyopenApp_CodeVBCodeGoogleMaps.docx
 
Rage Against the Framework
Rage Against the FrameworkRage Against the Framework
Rage Against the Framework
 
Learn D3.js in 90 minutes
Learn D3.js in 90 minutesLearn D3.js in 90 minutes
Learn D3.js in 90 minutes
 
Svcc 2013-d3
Svcc 2013-d3Svcc 2013-d3
Svcc 2013-d3
 
SVCC 2013 D3.js Presentation (10/05/2013)
SVCC 2013 D3.js Presentation (10/05/2013)SVCC 2013 D3.js Presentation (10/05/2013)
SVCC 2013 D3.js Presentation (10/05/2013)
 
Refactoring
RefactoringRefactoring
Refactoring
 
Hidden Docs in Angular
Hidden Docs in AngularHidden Docs in Angular
Hidden Docs in Angular
 
Graphics in C++
Graphics in C++Graphics in C++
Graphics in C++
 
The Ring programming language version 1.5.3 book - Part 58 of 184
The Ring programming language version 1.5.3 book - Part 58 of 184The Ring programming language version 1.5.3 book - Part 58 of 184
The Ring programming language version 1.5.3 book - Part 58 of 184
 
The Ring programming language version 1.5.3 book - Part 48 of 184
The Ring programming language version 1.5.3 book - Part 48 of 184The Ring programming language version 1.5.3 book - Part 48 of 184
The Ring programming language version 1.5.3 book - Part 48 of 184
 
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
 
How to Mess Up Your Angular UI Components
How to Mess Up Your Angular UI ComponentsHow to Mess Up Your Angular UI Components
How to Mess Up Your Angular UI Components
 
Java Script
Java ScriptJava Script
Java Script
 
The Ring programming language version 1.5.3 book - Part 27 of 184
The Ring programming language version 1.5.3 book - Part 27 of 184The Ring programming language version 1.5.3 book - Part 27 of 184
The Ring programming language version 1.5.3 book - Part 27 of 184
 
Html css
Html cssHtml css
Html css
 
Applet life cycle
Applet life cycleApplet life cycle
Applet life cycle
 
SOLID Ruby, SOLID Rails
SOLID Ruby, SOLID RailsSOLID Ruby, SOLID Rails
SOLID Ruby, SOLID Rails
 
Working With JQuery Part1
Working With JQuery Part1Working With JQuery Part1
Working With JQuery Part1
 
The Ring programming language version 1.5.2 book - Part 44 of 181
The Ring programming language version 1.5.2 book - Part 44 of 181The Ring programming language version 1.5.2 book - Part 44 of 181
The Ring programming language version 1.5.2 book - Part 44 of 181
 
Code is not text! How graph technologies can help us to understand our code b...
Code is not text! How graph technologies can help us to understand our code b...Code is not text! How graph technologies can help us to understand our code b...
Code is not text! How graph technologies can help us to understand our code b...
 

Recently uploaded

Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`dajasot375
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full NightCall Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girlsssuser7cb4ff
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一lvtagr7
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpmainac1
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...
Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...
Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...narwatsonia7
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一Fi sss
 
shot list for my tv series two steps back
shot list for my tv series two steps backshot list for my tv series two steps back
shot list for my tv series two steps back17lcow074
 
Introduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptxIntroduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptxnewslab143
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024CristobalHeraud
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVAAnastasiya Kudinova
 
NATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailNATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailDesigntroIntroducing
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Douxkojalkojal131
 

Recently uploaded (20)

Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full NightCall Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girls
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUp
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
 
Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...
Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...
Housewife Call Girls NRI Layout - Call 7001305949 Rs-3500 with A/C Room Cash ...
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
 
shot list for my tv series two steps back
shot list for my tv series two steps backshot list for my tv series two steps back
shot list for my tv series two steps back
 
Introduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptxIntroduction-to-Canva-and-Graphic-Design-Basics.pptx
Introduction-to-Canva-and-Graphic-Design-Basics.pptx
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
 
NATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailNATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detail
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
 

Gradient effect for ie 7

  • 1. GradientFilter .NET Framework 3.0 Displays a color gradient betweenthe object's backgroundandcontent. Syntax HTML <ELEMENT STYLE= "filter:progid:DXImageTransform.Microsoft.Gradient(sProperties)"... > Internet Explorer5.5or later Scripting object .style.filter = "progid:DXImageTransform.Microsoft.Gradient(sProperties)" Internet Explorer5.5or later Possible Values sProperties Stringthat specifies one ormore properties exposedby the filter. Members Table The followingtable lists the members exposedby the Gradientobject. Attributes/Properties Attribute Property Description enabled Enabled Sets or retrieves a value that indicates whetherthe filteris enabled. EndColor Sets or retrieves thefinal opaque color for a gradient surface. EndColorStr Sets or retrieves thefinal colorfora gradient surface. GradientType Sets or retrieves theorientationof the gradient. StartColor Sets or retrieves theinitial opaque colorfora gradient surface. startColorStr StartColorStr Sets or retrieves theinitial color for a gradient surface. Remarks When revealedby a transition, any text that covers a Gradient proceduralsurface is initially exposedas transparent.Afterthe transition hasfinished, the textis updatedto the applicable color. The object that thefilteris appliedto must have layout beforethefilter effectwill display. You can give the object layout by settingtheheightor width property,setting the position property to absolute, setting the writingMode property to tb-rl,or settingthecontentEditableproperty to true. You can assign multiplefiltersor transitions to an objectby declaringeach in the filter property of the object.The following div declaration assigns twofiltersanda Wheel transition to a div element. <DIV STYLE="width:100%;filter: progid:DXImageTransform.Microsoft.MotionBlur(strength=13,direction=310) progid:DXImageTransform.Microsoft.Blur(pixelradius=2) progid:DXImageTransform.Microsoft.Wheel(duration=3);"> Blurry text with smudge of gray.</div> When multiple filters are appliedto an object,each filteris processedin sourceorder,with theexception of procedural surfaces,which arecomputedfirst. To emphasizea filter's effect,placeit lastin source orderor on the object's parent. Always place transitions last in sourceorder.
  • 2. <SCRIPT> <!-- Toggle the Enabled property to toggle the gradient. --> function fnToggle(oObj) { if (oDiv.filters(0).enabled){ oDiv.filters(0).enabled='false'; oObj.innerText='Add Gradient';} else { oDiv.filters(0).enabled='true'; oObj.innerText='Make Normal';} } </SCRIPT> <font size="+5"> <DIV ID="oDiv" STYLE="height:120px; color:green; filter: progid:DXImageTransform.Microsoft.gradient(enabled='false', startColorstr=#550000FF, endColorstr=#55FFFF00)" > A simple gradient </DIV> </font> <P> <BUTTON onclick="fnToggle(this)">Add Gradient</BUTTON><BR/> Color your background with 7 gradients ... Here is how you can put different colors in each screen corner + in the center + from top to bottom Just make sure your document has <HTML><BODY> start and end elements and insert these functions: //- set_background_corner(color, opacity, corner) -> set color in a corner (0 to 1 = top to bottom) (= 2 to 5) or in center (= 6); opacity is number from 1 to 100 // Set background colors function set_background_corner(color, opacity, corner) { if (corner >= 0 && corner <= 6) { if (!color) { insert_bg_styles(undefined, 'bg_styles_' + corner); } else insert_bg_styles('background-color: ' + color + '; FILTER: Alpha(style='+ (corner==6?2:1) + ',opacity=' + opacity + ',finishOpacity=0' + (corner==0?',startX=50,finishX=50,startY=0,finishY=77); z-index: -998;' : // top (corner==1?',startX=50,finishX=50,startY=100,finishY=23); z-index: -999;' : // bottom (corner==2?',startX=0,finishX=23,startY=0,finishY=47); z-index: -995;' : // upper left (corner==3?',startX=100,finishX=77,startY=0,finishY=47); z-index: -994;' : // upper right (corner==4?',startX=100,finishX=77,startY=100,finishY=53); z-index: -997;' : (corner==5?',startX=0,finishX=23,startY=100,finishY=53); z-index: -996;' : '); z-index: -993;')))))), 'bg_styles_' + corner); // center } } // Set background colors function insert_bg_styles(styles, id) { var divObj = document.getElementById(id); if (styles) { styles += ' position: absolute; top: 0px; left:0px; width: 100%; height:100%;'; // Replace colors if (!divObj) { var newDivObj = document.createElement("DIV"); newDivObj.id = id; newDivObj.style.cssText = styles; document.body.appendChild(newDivObj); } else divObj.style.cssText = styles; } // Remove element else if (divObj) divObj.parentNode.removeChild(divObj); } // AND finally here is some example of use: set_background_corner('mistyrose', 100, 2); set_background_corner('white', 100, 6); set_background_corner('gold', 90, 3); set_background_corner('moccasin', 100, 0); set_background_corner('powderblue', 100, 1); set_background_corner('palegreen', 100, 4); set_background_corner('lavender', 100, 5);