homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum


 5:14 pm on Sep 25, 2000 (gmt 0)

We're thinking about a new flash site to replace our existing site. I'm trying to think thru everything. Since it's an ecommerce site we would like automatic redirection to a non flash page if flash is not installed. I know javascript can do this, but what can we do if javascript is not enabled? Sure would appreciate any help. Thanks in advance.



 5:20 pm on Sep 25, 2000 (gmt 0)

1st, welcome to WmW. 2nd, great username. 3rd, you're dropping all kinds of SEO 'yellow flags' here. But, to go to your question, I wonder if you can put some sort of redirect in the <NOSCRIPT> tag? Anybody tried it?


 8:02 pm on Sep 25, 2000 (gmt 0)

From what I can see, this gets pretty sticky.

Wouldn't it be simpler to redirect all Javascript enabled browsers to the Flash page through an external .js file? Your index page could then be vanilla HTML. This gives you the major advantage of a "straight" index page to optimize for the search engines, and you will be certain that the no-js visitor gets the page you want.


 8:30 pm on Sep 25, 2000 (gmt 0)

> index page could then be vanilla HTML
FWIW, I like tedster's plan much better -clears those yellow flags.


 9:11 pm on Sep 25, 2000 (gmt 0)

>>FWIW, I like tedster's plan much better -clears those yellow flags.<<

Can't believe I never thought of it before. And it will work for lots more than Flash -- I have some splash index pages and DHTML index pages that have given me the SEO willies over the last bit of time.

Because I already know non-js browsers will be the minority, I automatically think of redirecting them, rather than redirecting the majority. But from the standpoint of user experience, it makes no difference at all -- and the gain in simplifying the SEO job is significant.

net24_7, thanks for the question. You popped my thinking "out of the box".


 3:05 pm on Sep 26, 2000 (gmt 0)

rc, tedster - thanks for your help! Great idea tedster.

Got another question. Won't the initial page be seen for a very brief time before the redirect takes place? We're doing a js redirect right now on one of our pages and you always see the page for a few seconds before it redirects. Is there any way to avoid this?


 12:07 am on Sep 27, 2000 (gmt 0)

There definitely is a way that javascript can get around this "page flash" problem ... but I'll be if I can remember it or locate it right now. I just moved and all my reference books are still packed up in boxes.

Give me a few days, and I'm sure I can locate it. Or, maybe someone else has the answer close at hand?


 3:20 pm on Sep 27, 2000 (gmt 0)

tedster - thanks - sure would appreciate any help


 8:03 am on Oct 4, 2000 (gmt 0)

Net 24_7

I still didn't locate that reference book -- but here's a workaround I dreamed up.

Start your regular page with a transparent gif and size it to, say 1000 pixels high, followed by a <br>. Then, even if the page flash happens, all the content will be "below the fold" and unseen without scrolling.

Of course, if you want someone without js enabled to actually use this page, that's another story. They'd have to be sharp enough to notice that even though the screen is blank, the scroll bar shows that they can scroll down.

But the main purpose would be served, getting your flash-y page into the search engines.

I'm still far from moved in to my new digs, so I may still may find that more elegant solution for you.


 6:23 pm on Oct 4, 2000 (gmt 0)

Isn't there a more simple fix than that?

If the redirect does not need to happen right away, put a 5 second delay on the redirect, that way, they see the vanilla html page and then are directed to the new flashy page.

Or, better yet, give people a choice on your vanilla page to go either to flash or to non-flash. I usually go for the non-flash even though I can read flash. (too much vertigo)



 1:39 am on Oct 5, 2000 (gmt 0)

grnidone wrote:
>>better yet, give people a choice on your vanilla page to go either to flash or to non-flash.<<

I agree, that is a very considerate way to do a flash site. I think the issue here might be wanting to serve flash automatically whenever the plug-in is present, rather than giving the visitor a choice.

I can see some logic to this strategy. If this is a general interest e-commerce site, many users won't even know what flash IS! The choice would be potentially confusing and could scare away some percent of traffic.

So the company might prefer to start every visitor with a direct marketing statement, served in the most appropriate format for the browser. How to do this in the most elegant, and search-engine friendly fashion becomes the question.


 3:35 pm on Oct 10, 2000 (gmt 0)

tedster, grn - thanks for your help

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved