Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Trembling Message
simipro
post Mar 6 2005, 07:43 AM
Post #1


Member [Level 2]
*****

Group: Members
Posts: 85
Joined: 8-October 04
From: Renton,Washington
Member No.: 1,516



<script type="text/javascript">
//Generate transition CSS (transition=0 to 23)
document.write('<STYLE TYPE="text/css">.imgTrans{ filter:revealTrans(duration=0.4,transition=12) }</STYLE>');

//Uncomment the next line for fading rollovers instead of dissolving:
//document.write('<STYLE TYPE="text/css">.imgTrans{ filter:blendTrans(duration=0.4) }</STYLE>');

var onImages=new Array();
function Rollover(imgName, imgSrc)
{
onImages[imgName] = new Image();
onImages[imgName].src = imgSrc;
}

function turnOn(imgName){
if(document.images[imgName].filters != null)
document.images[imgName].filters[0].apply();
document.images[imgName].offSrc = document.images[imgName].src;
document.images[imgName].src = onImages[imgName].src;
if(document.images[imgName].filters != null)
document.images[imgName].filters[0].play();
}

function turnOff(imgName){
if(document.images[imgName].filters != null)
document.images[imgName].filters[0].stop();
document.images[imgName].src = document.images[imgName].offSrc;
}

//Specify name of participating images, plus paths to their onMouseover replacements:
Rollover("home", "home_on.gif");
Rollover("about", "about_on.gif");
Rollover("scripts", "scripts_on.gif");

</script>
Go to the top of the page
 
+Quote Post
Casanova
post Mar 6 2005, 06:48 PM
Post #2


Super Member
*********

Group: Members
Posts: 240
Joined: 11-October 04
From: California
Member No.: 1,683



Instead of making a separeate post for every sample of code, why dont you put them together and post them in the tutorial sections? Otherwise it looks like spam to me.
Go to the top of the page
 
+Quote Post
Mike
post Mar 6 2005, 07:53 PM
Post #3


Owner of Sub-Zero
********

Group: Members
Posts: 159
Joined: 17-November 04
Member No.: 2,325



Ah, this topic was meant for you to post the script that would make a 'trembling message'? The title mislead me. :-/ I thought you received a trembling message from one of the users or was like harassed or something. Anyways..

*goes back to Lurking*

>_>
Go to the top of the page
 
+Quote Post
NeXDesigns
post Mar 6 2005, 10:01 PM
Post #4


Super Member
*********

Group: Members
Posts: 260
Joined: 12-August 04
From: Hurricane Alley, Florida
Member No.: 770



yeah same here, what does this script do exactly?
Go to the top of the page
 
+Quote Post
Roly
post Mar 6 2005, 10:43 PM
Post #5


Advanced Member
*******

Group: Members
Posts: 144
Joined: 24-July 04
From: Arizona
Member No.: 189



I don't think the script will work if you don't give us the images you are using in it too. Like home_on.gif.
Go to the top of the page
 
+Quote Post
guangdian
post Mar 7 2005, 06:11 AM
Post #6


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,183
Joined: 24-September 04
Member No.: 1,245



It really Trempling Message for me~~~~~~~~~~~~~~~~~sad.gif)
Go to the top of the page
 
+Quote Post
NeXDesigns
post Mar 7 2005, 12:20 PM
Post #7


Super Member
*********

Group: Members
Posts: 260
Joined: 12-August 04
From: Hurricane Alley, Florida
Member No.: 770



the images are changeable to what you need, unless they are part of the effect, then i dunno, i have no use for this script, but then i would have to have something to code it into, lol
Go to the top of the page
 
+Quote Post
Casanova
post Mar 7 2005, 11:32 PM
Post #8


Super Member
*********

Group: Members
Posts: 240
Joined: 11-October 04
From: California
Member No.: 1,683



Where can I see an example of what this script does? It looks like it simply displays a different image when the mouse hovers over it.
Go to the top of the page
 
+Quote Post
Florisjuh
post Mar 9 2005, 03:43 PM
Post #9


Proud to be hosted
*********

Group: Members
Posts: 993
Joined: 11-July 04
From: NL
Member No.: 75



You would expect moderators to follow the rules? :\ tongue.gif
Go to the top of the page
 
+Quote Post
ket