However, sometimes Flash intros are required. In fact we have written articles about why not to use them. Generally PaperStreet does not recommend Flash intros.
#Intro flash code#
However, look at the source code and you can see the content DIVs with actual SEO text. Yes, the cache shows the Flash into and not the actual text.
#Intro flash trial#
#4 for Atlanta Trial Lawyer (Working on improving that) We are of course working on improving rankings overall, but for the purpose of this article its proof that the technique works. I’m sure all you SEO gurus want some hard results?” For our client, Robbins Law LLC, we are targeting two specific phrases and in the past months have achieved our goals. …and of course a session start in the beginning of your markup above the opening tag.
#Intro flash free#
Feel free to use a Cookie if you do not like Sessions. This basically tells your computer that you’ve visited already and not to show you the flash.All you have to do is place this code around the flash overlay div. To overcome the usability perspective of why people dislike Flash intros we installed a PHP Session. Step 4 – Optional PHP session integration That’s all there is to it, a relatively simple solution to a complex problem. Step 3 – JavaScript callback from FlashĪlmost there!” All that’s left is to get into your FLA and on the last frame call the JavaScript function through the getURL function.Make sure you stop the flash before you call the Javascript or you can get all sorts of weird issues… Jquery understands to dynamically set the display property to none when the fading is complete. We’re going to need the Jquery library for my example, then this simple Javascript markup.Īll we’re doing here is fading out the div called #overlay. You can mess around with the styles to get it centered and whatever design you need. This is the minimum to get it on the site. With this you should see the flash on the site now. I added absolute positioning to be 0 on all accounts to force it for all browsers although better browsers don’t need this fix. Now the CSS… 100% height and 100% width with a z-index higher than the wrapper of your site. Step 1 – XHTML/CSS Markupġ00% by 100% div on needs to be placed with the flash embed code in it… We placed a call back at the end of the flash to reference the JS to run the function.īam!” A Search Engine Friendly Flash Intro. Of course the clever part was pretty simple in the end, we made a JavaScript function that faded out the div the flash was on and set its display property to none. Then pop in the flash intro like any normal flash integration. In summary, what we came up with was to take a DIV and overlay it 100% width and 100% height over the entire index of the website on a higher z-index. Instead of giving up, we brainstormed and came up with a very clever solution to this always aggravating issue. We always look out for SEO when we develop and design. We tried to talk them out of it, tried to educate, but alas, a Flash intro is what they wanted.
PaperStreet was approached with a client who wanted a Flash intro, and we all cringed. However, the 3 rd and most important point (bad for SEO) is no longer true. We agree and each point deserves its own article. Problemįlash intros have been labeled a lot of negative things in the past 10 years unnecessary, unusable, and bad for SEO. A flash animated intro that doesn’t hurt your SEO efforts, sounds preposterous right?” With a little elbow grease, some out-of-the-box thinking, and a bit of JavaScript anything is possible.