Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-07-2010, 02:13 PM   PM User | #1
Daniellez
Regular Coder

 
Join Date: Jan 2009
Posts: 153
Thanks: 47
Thanked 0 Times in 0 Posts
Daniellez is on a distinguished road
How is this site transitioning/fading their background?

I really like this but cannot figure out how it's done ...

http://www.roanokeairport.com

Can someone assist?
Daniellez is offline   Reply With Quote
Old 07-07-2010, 03:15 PM   PM User | #2
Keleth
Senior Coder

 
Join Date: Jun 2008
Location: New Jersey
Posts: 2,354
Thanks: 45
Thanked 247 Times in 244 Posts
Keleth is on a distinguished road
That was easy

Javascript. I just disabled it and the entire site failed
Keleth is offline   Reply With Quote
Old 07-07-2010, 09:28 PM   PM User | #3
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
They are putting a flash object in a div and set the div to position:fixed so it doesn't move. Same effect can be achieved with jquery and probably the jquery cycle plugin. This is their code.

Code:
<div id="divFlashBg"><object height="100%" width="100%" align="left" id="flashROABg" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param value="transparent" name="wmode"><param value="sameDomain" name="allowScriptAccess"><param value="false" name="allowFullScreen"><param value="/flashROABg.swf" name="movie"><param value="high" name="quality"><param value="exactfit" name="scale"><param value="lt" name="salign"><param value="#ffffff" name="bgcolor">	<embed height="100%" width="100%" align="left" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowfullscreen="false" allowscriptaccess="sameDomain" name="flashROABg" bgcolor="#ffffff" salign="lt" scale="exactfit" quality="high" src="/flashROABg.swf"></object></div>
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 04:29 PM.


Advertisement
Log in to turn off these ads.