Triky
12-26-2007, 10:00 PM
[Monkey's Works] - Ghost Images
by Triky - Web City (http://www.web-city.it/)
Hi there, guys and gals! I've foud this script: Gradual HighLight Image Script (http://www.dynamicdrive.com/dynamicindex4/highlightgrad.htm). I've asked myself: "How do I use it all over my forum?". I've used a Replacement Variables!
Preview:
https://vborg.vbsupport.ru/external/2008/01/12.gif LightImagesScript[Preview].jpg (https://vborg.vbsupport.ru/attachment.php?attachmentid=73847&stc=1&d=1198751637) (37.2 KB)
https://vborg.vbsupport.ru/external/2008/01/12.gif LightImagesScript[Preview](home).jpg (https://vborg.vbsupport.ru/attachment.php?attachmentid=73848&stc=1&d=1198751637) (41.0 KB)
Preview (with ImageShack):
LightImagesScript[Preview].gif (http://img265.imageshack.us/img265/3229/lightimagesscriptprevievs9.gif)
LightImagesScript[Preview](home).gif (http://img265.imageshack.us/img265/3103/lightimagesscriptpreviezc5.gif)
Modification:
Go to your headinclude template
(AdminCp -> Styles & Templates -> Edit Templates -> headinclude)
Seacrh for:
<!-- / CSS Stylesheet -->
Below, add:
<script type="text/javascript">
/***********************************************
* Gradual Highlight image script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var baseopacity=30
function slowhigh(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",50)
}
function slowlow(which2){
cleartimer()
instantset(baseopacity)
}
function instantset(degree){
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}
function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}
function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.sty le.MozOpacity)+0.1, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
</script>
Save & Close.
Now go to your style options:
(vBAdminCp -> Styles & Templates -> Styles Manager -> Your style Name --> All style Options -> Go!)
In Additional CSS Definitions (second box), add:.gradualshine{
filter:alpha(opacity=30);
-moz-opacity:0.3;
}
Save & Close.
Now, go to add a new Replacement Variable:
(vBAdminCp -> Styles & Templates -> Styles Manager -> Your style Name --> Replacement Variables -> Add -> Go!):
Search for text: <img
Replace with text: <img class="gradualshine" onMouseover="slowhigh(this)" onMouseout="slowlow(this)"
Save!
You're done! I hope you like it.
<!-- ------------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->
Modifications
Thread simple Navbar below QuickReply (https://vborg.vbsupport.ru/showthread.php?t=142589) | Text Editor Toolbar Background (https://vborg.vbsupport.ru/showthread.php?t=142641) | User Profile Web Page (https://vborg.vbsupport.ru/showthread.php?t=143207) | Announcements new Table (https://vborg.vbsupport.ru/showthread.php?t=142057) | Registration Button (https://vborg.vbsupport.ru/showthread.php?t=143407) | enCoded Navbar v1 (https://vborg.vbsupport.ru/showthread.php?t=146914) | Play your Game when in Mainteinance (https://vborg.vbsupport.ru/showthread.php?t=147244) | Hey, guest! You should be a registered member! (https://vborg.vbsupport.ru/showthread.php?t=163264) | Navbar enCoded Navigator / Personal Member Navigator in ForumHome (https://vborg.vbsupport.ru/showthread.php?t=164198) | vPro Navigation Header: Professional Header (https://vborg.vbsupport.ru/showthread.php?t=164379) | White Blank Beautiful Postbit_Legacy Style (https://vborg.vbsupport.ru/showthread.php?t=165767)
Styles
Black Web City Style (https://vborg.vbsupport.ru/showthread.php?t=134703)
<!-- / ----------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->
by Triky - Web City (http://www.web-city.it/)
Hi there, guys and gals! I've foud this script: Gradual HighLight Image Script (http://www.dynamicdrive.com/dynamicindex4/highlightgrad.htm). I've asked myself: "How do I use it all over my forum?". I've used a Replacement Variables!
Preview:
https://vborg.vbsupport.ru/external/2008/01/12.gif LightImagesScript[Preview].jpg (https://vborg.vbsupport.ru/attachment.php?attachmentid=73847&stc=1&d=1198751637) (37.2 KB)
https://vborg.vbsupport.ru/external/2008/01/12.gif LightImagesScript[Preview](home).jpg (https://vborg.vbsupport.ru/attachment.php?attachmentid=73848&stc=1&d=1198751637) (41.0 KB)
Preview (with ImageShack):
LightImagesScript[Preview].gif (http://img265.imageshack.us/img265/3229/lightimagesscriptprevievs9.gif)
LightImagesScript[Preview](home).gif (http://img265.imageshack.us/img265/3103/lightimagesscriptpreviezc5.gif)
Modification:
Go to your headinclude template
(AdminCp -> Styles & Templates -> Edit Templates -> headinclude)
Seacrh for:
<!-- / CSS Stylesheet -->
Below, add:
<script type="text/javascript">
/***********************************************
* Gradual Highlight image script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var baseopacity=30
function slowhigh(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",50)
}
function slowlow(which2){
cleartimer()
instantset(baseopacity)
}
function instantset(degree){
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}
function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}
function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.sty le.MozOpacity)+0.1, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
</script>
Save & Close.
Now go to your style options:
(vBAdminCp -> Styles & Templates -> Styles Manager -> Your style Name --> All style Options -> Go!)
In Additional CSS Definitions (second box), add:.gradualshine{
filter:alpha(opacity=30);
-moz-opacity:0.3;
}
Save & Close.
Now, go to add a new Replacement Variable:
(vBAdminCp -> Styles & Templates -> Styles Manager -> Your style Name --> Replacement Variables -> Add -> Go!):
Search for text: <img
Replace with text: <img class="gradualshine" onMouseover="slowhigh(this)" onMouseout="slowlow(this)"
Save!
You're done! I hope you like it.
<!-- ------------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->
Modifications
Thread simple Navbar below QuickReply (https://vborg.vbsupport.ru/showthread.php?t=142589) | Text Editor Toolbar Background (https://vborg.vbsupport.ru/showthread.php?t=142641) | User Profile Web Page (https://vborg.vbsupport.ru/showthread.php?t=143207) | Announcements new Table (https://vborg.vbsupport.ru/showthread.php?t=142057) | Registration Button (https://vborg.vbsupport.ru/showthread.php?t=143407) | enCoded Navbar v1 (https://vborg.vbsupport.ru/showthread.php?t=146914) | Play your Game when in Mainteinance (https://vborg.vbsupport.ru/showthread.php?t=147244) | Hey, guest! You should be a registered member! (https://vborg.vbsupport.ru/showthread.php?t=163264) | Navbar enCoded Navigator / Personal Member Navigator in ForumHome (https://vborg.vbsupport.ru/showthread.php?t=164198) | vPro Navigation Header: Professional Header (https://vborg.vbsupport.ru/showthread.php?t=164379) | White Blank Beautiful Postbit_Legacy Style (https://vborg.vbsupport.ru/showthread.php?t=165767)
Styles
Black Web City Style (https://vborg.vbsupport.ru/showthread.php?t=134703)
<!-- / ----------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->