• ARCHIVES 
  • » credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

Pages: 12

credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out when out. just paste this on your js extension :thumbsdown: [spoiler]/*********************************************** * Gradual Element Fader- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts * This notice must stay intact for legal use ***********************************************/ var gradualFader={} gradualFader.baseopacity=[b]0.10[/b] gradualFader.increment=0.2 document.write('<style type="text/css">\n') document.write('.commonbox{filter:progid:DXImageTransform.Microsoft.alpha(opacity=' +gradualFader.baseopacity*100+'); -moz-opacity:'+gradualFader.baseopacity+'; opacity:'+gradualFader.baseopacity+';}\n') document.write('</style>') gradualFader.setopacity=function(obj, value){ var targetobject=obj if (targetobject && targetobject.filters && targetobject.filters[0]){ if (typeof targetobject.filters[0].opacity=="number") targetobject.filters[0].opacity=value*100 else targetobject.style.filter="alpha(opacity="+value*100+")" } else if (targetobject && typeof targetobject.style.MozOpacity!="undefined") targetobject.style.MozOpacity=value else if (targetobject && typeof targetobject.style.opacity!="undefined") targetobject.style.opacity=value targetobject.currentopacity=value } gradualFader.fadeupdown=function(obj, direction){ var targetobject=obj var fadeamount=(direction=="fadeup")? this.increment : -this.increment if (targetobject && (direction=="fadeup" && targetobject.currentopacity<1 || direction=="fadedown" && targetobject.currentopacity>this.baseopacity)){ this.setopacity(obj, targetobject.currentopacity+fadeamount) window["opacityfader"+obj._fadeorder]=setTimeout(function(){gradualFader.fadeupdown(obj, direction)}, 50) } } gradualFader.clearTimer=function(obj){ if (typeof window["opacityfader"+obj._fadeorder]!="undefined") clearTimeout(window["opacityfader"+obj._fadeorder]) } gradualFader.isContained=function(m, e){ var e=window.event || e var c=e.relatedTarget || ((e.type=="mouseover")? e.fromElement : e.toElement) while (c && c!=m)try {c=c.parentNode} catch(e){c=m} if (c==m) return true else return false } gradualFader.fadeinterface=function(obj, e, direction){ if (!this.isContained(obj, e)){ gradualFader.clearTimer(obj) gradualFader.fadeupdown(obj, direction) } } gradualFader.collectElementbyClass=function(classname){ var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)", "i") var pieces=[] var alltags=document.all? document.all : document.getElementsByTagName("*") for (var i=0; i<alltags.length; i++){ if (typeof alltags[i].className=="string" && alltags[i].className.search(classnameRE)!=-1) pieces[pieces.length]=alltags[i] } return pieces } gradualFader.init=function(){ var targetobjects=this.collectElementbyClass("commonbox") for (var i=0; i<targetobjects.length; i++){ targetobjects[i]._fadeorder=i this.setopacity(targetobjects[i], this.baseopacity) targetobjects[i].onmouseover=function(e){gradualFader.fadeinterface(this, e, "fadeup")} targetobjects[i].onmouseout=function(e){gradualFader.fadeinterface(this, e, "fadedown")} } } gradualFader.init()[/spoiler] just edit the bold part with the value of opacity you like =) for tracker & add boxes, just insert this at the bottom of your Onload Handler =) [quote]gradualFader.init()[/quote] so it will look like this :thumbsdown: [quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function onProfileLoad() { other codes inside onloadhandler.................... other codes inside onloadhandler.................... other codes inside onloadhandler.................... other codes inside onloadhandler.................... [b]gradualFader.init()[/b] }<--end of the onloadhandler[/i][/quote] [url=http://profiles.friendster.com/62346457]Freeview[/url]

Last edited by simpleMe (2008-11-23 07:35:16)

i i LeA i i
» FTalkAgent
FTalk Level: zero
2099
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

1st to comment! another nice trick!:eh: cheers to that!:D but it wont work on mine..=|

Last edited by i i LeA i i (2008-07-03 06:10:41)

unmaskedluke
» FTalkGeek
FTalk Level: zero
1180
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

whoa. isn't it the same as this? :arrow: http://theftalk.com/t30142-The-Blurry-Effect-%28gradual-fader-for-all-your-add-ons%29.html

Last edited by unmaskedluke (2008-07-03 06:18:56)

simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=unmaskedluke]whoa. isn't it the same as this? :arrow: http://theftalk.com/t30142-The-Bl … ns%29.html[/quote] lol :D [b]blurrycloud[/b] trick is only for add-ons =) just check the tutorial if its the same :paranoid: this trick is for all boxes =)
Hoshigaki
» FTalkAgent
FTalk Level: zero
2328
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[i][b]The Preview is so Cool!! +repu for you[/b][/i]
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=Hoshigaki]The Preview is so Cool!! +repu for you[/quote] thanks bro =):thumbsup:
unmaskedluke
» FTalkGeek
FTalk Level: zero
1180
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

^oh i see i see.. u make it works for all d boxes. good job ma fwen. :thumbsup: :D another trick from u. keep it going mate.. =)
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=unmaskedluke]^oh i see i see.. u make it works for all d boxes. good job ma fwen. :thumbsup: :D another trick from u. keep it going mate.. =)[/quote] thanks dude =)
naruxhina
» n00b
FTalk Level: zero
20
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[b]WOW NYC.! HOPE DZ WORKS.. I WANT TO TRY IT..!! SOOOO COOL..!![/b]
switpotato
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

hmmm .. tax moving up... so proud of u.. lol.. go go... like every new break thru u make... for i dunno how i can make ordinary script be applicable to fs lol... :crybaby:
BwizetT
» FTalkGeek
FTalk Level: zero
1015
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[b]Another Cool one from you Bro..[/b] :thumbsup: =) :thumbsup:
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=switpotato]hmmm .. tax moving up... so proud of u.. lol.. go go... like every new break thru u make...[/quote] thanks swit :kiss: :rose: [quote=BwizetT]Another Cool one from you Bro.. :thumbsup: =) :thumbsup:[/quote] thanks bro =):thumbsup: @ [b]naruxhina[/b] thanks also for your comment =)

Last edited by simpleMe (2008-07-03 21:25:48)

kuntilanak
» FTalkElite
FTalk Level: zero
4412
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[align=center][scroll][color=blue][b]Kuntilanak Said To You[/b][/color][/scroll][/align] [align=center][color=blue][b]Nice trick brother... thanks for share [/b][/color][/align]
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=kuntilanak]thanks for share[/quote] ur welcum bro :thumbsup:
dekha_21
» FTalkManiac
FTalk Level: zero
793
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

how if we only want one box/element to se this effect? is it can?
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=dekha_21]how if we only want one box/element to se this effect? is it can?[/quote] here =) [spoiler]/*********************************************** * Gradual Element Fader- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts * This notice must stay intact for legal use ***********************************************/ var gradualFader={} gradualFader.baseopacity=0.10 gradualFader.increment=0.2 document.write('<style type="text/css">\n') document.write('[b].commonbox[/b]{filter:progid:DXImageTransform.Microsoft.alpha(opacity=' +gradualFader.baseopacity*100+'); -moz-opacity:'+gradualFader.baseopacity+'; opacity:'+gradualFader.baseopacity+';}\n') document.write('</style>') gradualFader.setopacity=function(obj, value){ var targetobject=obj if (targetobject && targetobject.filters && targetobject.filters[0]){ if (typeof targetobject.filters[0].opacity=="number") targetobject.filters[0].opacity=value*100 else targetobject.style.filter="alpha(opacity="+value*100+")" } else if (targetobject && typeof targetobject.style.MozOpacity!="undefined") targetobject.style.MozOpacity=value else if (targetobject && typeof targetobject.style.opacity!="undefined") targetobject.style.opacity=value targetobject.currentopacity=value } gradualFader.fadeupdown=function(obj, direction){ var targetobject=obj var fadeamount=(direction=="fadeup")? this.increment : -this.increment if (targetobject && (direction=="fadeup" && targetobject.currentopacity<1 || direction=="fadedown" && targetobject.currentopacity>this.baseopacity)){ this.setopacity(obj, targetobject.currentopacity+fadeamount) window["opacityfader"+obj._fadeorder]=setTimeout(function(){gradualFader.fadeupdown(obj, direction)}, 50) } } gradualFader.clearTimer=function(obj){ if (typeof window["opacityfader"+obj._fadeorder]!="undefined") clearTimeout(window["opacityfader"+obj._fadeorder]) } gradualFader.isContained=function(m, e){ var e=window.event || e var c=e.relatedTarget || ((e.type=="mouseover")? e.fromElement : e.toElement) while (c && c!=m)try {c=c.parentNode} catch(e){c=m} if (c==m) return true else return false } gradualFader.fadeinterface=function(obj, e, direction){ if (!this.isContained(obj, e)){ gradualFader.clearTimer(obj) gradualFader.fadeupdown(obj, direction) } } gradualFader.collectElementbyClass=function(classname){ var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)", "i") var pieces=[] var alltags=document.all? document.all : document.getElementsByTagName("*") for (var i=0; i<alltags.length; i++){ if (typeof alltags.className=="string" && alltags[i].className.search(classnameRE)!=-1) pieces[pieces.length]=alltags[i] } return pieces } gradualFader.init=function(){ var targetobjects=this.collectElementbyClass("[b]commonbox[/b]") for (var i=0; i<targetobjects.length; i++){ targetobjects[i]._fadeorder=i this.setopacity(targetobjects[i], this.baseopacity) targetobjects[i].onmouseover=function(e){gradualFader.fadeinterface(this, e, "fadeup")} targetobjects[i].onmouseout=function(e){gradualFader.fadeinterface(this, e, "fadedown")} } } gradualFader.init()[/spoiler] just edit the bold parts =)
dekha_21
» FTalkManiac
FTalk Level: zero
793
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

what example should i paste n bold parts?
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=dekha_21]what example should i paste n bold parts?[/quote] the master boxes (div_classes) =) for eg. if you want the effects only in your [b]more about me[/b] section :D heres the eg. :thumbsdown: [spoiler]/*********************************************** * Gradual Element Fader- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts * This notice must stay intact for legal use ***********************************************/ var gradualFader={} gradualFader.baseopacity=0.10 gradualFader.increment=0.2 document.write('<style type="text/css">\n') document.write('[b].moreabout[/b]{filter:progid:DXImageTransform.Microsoft.alpha(opacity=' +gradualFader.baseopacity*100+'); -moz-opacity:'+gradualFader.baseopacity+'; opacity:'+gradualFader.baseopacity+';}\n') document.write('</style>') gradualFader.setopacity=function(obj, value){ var targetobject=obj if (targetobject && targetobject.filters && targetobject.filters[0]){ if (typeof targetobject.filters[0].opacity=="number") targetobject.filters[0].opacity=value*100 else targetobject.style.filter="alpha(opacity="+value*100+")" } else if (targetobject && typeof targetobject.style.MozOpacity!="undefined") targetobject.style.MozOpacity=value else if (targetobject && typeof targetobject.style.opacity!="undefined") targetobject.style.opacity=value targetobject.currentopacity=value } gradualFader.fadeupdown=function(obj, direction){ var targetobject=obj var fadeamount=(direction=="fadeup")? this.increment : -this.increment if (targetobject && (direction=="fadeup" && targetobject.currentopacity<1 || direction=="fadedown" && targetobject.currentopacity>this.baseopacity)){ this.setopacity(obj, targetobject.currentopacity+fadeamount) window["opacityfader"+obj._fadeorder]=setTimeout(function(){gradualFader.fadeupdown(obj, direction)}, 50) } } gradualFader.clearTimer=function(obj){ if (typeof window["opacityfader"+obj._fadeorder]!="undefined") clearTimeout(window["opacityfader"+obj._fadeorder]) } gradualFader.isContained=function(m, e){ var e=window.event || e var c=e.relatedTarget || ((e.type=="mouseover")? e.fromElement : e.toElement) while (c && c!=m)try {c=c.parentNode} catch(e){c=m} if (c==m) return true else return false } gradualFader.fadeinterface=function(obj, e, direction){ if (!this.isContained(obj, e)){ gradualFader.clearTimer(obj) gradualFader.fadeupdown(obj, direction) } } gradualFader.collectElementbyClass=function(classname){ var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)", "i") var pieces=[] var alltags=document.all? document.all : document.getElementsByTagName("*") for (var i=0; i<alltags.length; i++){ if (typeof alltags.className=="string" && alltags[i].className.search(classnameRE)!=-1) pieces[pieces.length]=alltags[i] } return pieces } gradualFader.init=function(){ var targetobjects=this.collectElementbyClass("[b]moreabout[/b]") for (var i=0; i<targetobjects.length; i++){ targetobjects[i]._fadeorder=i this.setopacity(targetobjects[i], this.baseopacity) targetobjects[i].onmouseover=function(e){gradualFader.fadeinterface(this, e, "fadeup")} targetobjects[i].onmouseout=function(e){gradualFader.fadeinterface(this, e, "fadedown")} } } gradualFader.init()[/spoiler]

Last edited by simpleMe (2008-07-04 18:53:03)

adin234
» n00b
FTalk Level: zero
19
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

[quote=adin234]it doesnt fade in..[/quote] :arrow: follow my instructions :exclaim:
  • ARCHIVES 
  • » credits :arrow: [b]Dynamic Drive[/b] =) This is a generic fader script that can be applied to element(s) on the page to make them gradually fade into view when the mouse rolls over them, and fade out

Pages: 12

Board footer

© 2024 F Talk

Current time is 05:12

[ 10 queries - 0.022 second ]
Privacy Policy