Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
How to get Java to fade in from white, not black
Old 02-28-2010, 11:52 AM How to get Java to fade in from white, not black
Average Talker

Posts: 21
Name: Paul
Trades: 0
I have a simple fading gallery with five images. Before the first image fades in, the java shows a black block - no image there, so black. How can I make this white, rather than black?
keelbolt is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-28-2010, 12:01 PM Re: How to get Java to fade in from white, not black
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
start from a colour code of #ffffff instead of #000000
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-28-2010, 12:33 PM Re: How to get Java to fade in from white, not black
Average Talker

Posts: 21
Name: Paul
Trades: 0
Thanks, Chris. Thing is, I'm not used to Java. I know that #ffffff is the html and css colour code for white, but not sure how to define this as the starting colour for Java. Looked in the script file, and there isn't a starting colour defined, so can't just change it....
keelbolt is offline
Reply With Quote
View Public Profile
 
Old 02-28-2010, 01:34 PM Re: How to get Java to fade in from white, not black
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Javascript. Java is a different thing entirely.

It's probably a variable (or CSS) and as a numeric variable will be 0 when instantiated ...
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-28-2010, 05:28 PM Re: How to get Java to fade in from white, not black
Average Talker

Posts: 21
Name: Paul
Trades: 0
Hi Chris.
Thanks. You were right about the CSS. This is the line that needed changing from black to white:
.css({position:'absolute', left:0, top:0, width:'100%', height:'100%', background:'white'}). It was in the javascript script, not the CSS, which was confusing me.
keelbolt is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to get Java to fade in from white, not black
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.73696 seconds with 12 queries