Old 07-04-2007, 12:05   #1 (permalink)
tschneider
Registered User
 
Join Date: Jan 2007
Posts: 37
fade in layer

Hi there,

Wondering if its possible to fade in a layer of text on this page. Where it says "Representation" I would like that text not to appear until the Flash has finished loading. Is that possible?

Tee Schneider Home
  Reply With Quote
Old 08-04-2007, 18:29   #2 (permalink)
d3mcfadden
Senior Member
 
d3mcfadden's Avatar
 
Join Date: Apr 2005
Location: -
Posts: 694
Send a message via AIM to d3mcfadden
you can have flash call a javascript toggle function on your page when it is done loading.
Code:
getURL("javascript: toggle('representation');");
that function will then show the representation div.
HTML Code:
<script type="text/javascript"> function toggle(obj) { obj = document.getElementById(obj); obj.style.display != 'none' ? obj.style.display='none': obj.style.display='block'; } </script>
make sure to init hide your representation div.
HTML Code:
<div id="representation" style="display: none;">
  Reply With Quote
Old 08-04-2007, 22:59   #3 (permalink)
tschneider
Registered User
 
Join Date: Jan 2007
Posts: 37
thx for this.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8