internet.com

Go to WebDeveloper Home


hm-v6-139x61.gif

Database Journal: The Knowledge Center for Database Professionals

find a web host with:
CGI Access
DB Support
NT Servers
UNIX Servers
Telnet Access

advanced search
jobs

Get FREE Development Info via your Email!

The Webdeveloper channel
FlashKit
GIF.com
HiermenusCentral
webdeveloper Jobs
Java Boutique
JavaScript.com
JavaScript Source
ScriptSearch
StreamingMedia World
WDJ
WDVL
WebDeveloper.com
WebReference.com
XMLFiles.com

internet.com
Internet News
Internet Investing
Internet Technology
Windows Internet Tech.
Linux/Open Source
Web Developer
ECommerce/Marketing
ISP Resources
ASP Resources
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources

Search internet.com
Advertise
Corporate Info
Newsletters
E-mail Offers

internet.commerce
Be a Commerce Partner










D R .   W E B S I T E®
WebDeveloper.com

December 1, 1999

Automatic Thumbnails, Transition Effects, and the Usual Search Engine Stuff

By David Fiedler and Scott Clark

Dear Dr. Website®: I have an e-commerce site with dynamically generated pages using JavaScript. I am about to submit my URL to the search engines. But, I have been told that search engines, for the most part, will ignore JavaScript and that I should create some static pages with the pertinent information about my products.

So my plan is to create a crawler page which will contain links to all my static pages. I will then submit this page to the search engines for indexing my site. I will also use this page as my index.html.

Everything is fine except that I need to have my site visitors to automatically be transferred to my homepage.html. This is so that they do not get a chance to click on the links to the static pages. I would rather have them go through the normal route.

How can I have the index.html automatically reroute the visitor to another page? Once I do this, would the search engines also be rerouted to the other page?

You can always use:

<SCRIPT LANGUAGE="JavaScript">
<!--//
window.location = "scroll.html";
//-->
</SCRIPT>

Replace scroll.html with the page you wish the visitor to go to. Place this code in the HEAD of your document, below the META tags (you should have KEYWORD and DESCRIPTION meta tags for the search engines). Search engines will ignore the JavaScript; browsers will not.

Dear Dr. Website®: I want to put a picture gallery on my site where a viewer can choose from a selection of thumbnails, click on a thumbnail, and be transported to a page with the photo in its original dimensions. How do I do that?

You can do even better than that! This simple code will also have the effect of preloading the images so the large picture will load instantly in a new default-size browser window when they click on it. Don't put too many images on one page when using this technique. The width and height can be chosen for any thumbnail size you want.

<a href="image.gif" target="_blank">
<img src="image.gif" width=40 height=40></a>

To size the new window to specific dimensions, use JavaScript (see this past Dr. Website column), though if you do that, I suggest you size the window to fit your biggest image rather than trying to "customize" it for each one.

Dear Dr. Website®: I've seen Web pages that scroll or dissolve before making the transition to the next page. How is that done?

These are called transition effects and are limited to MSIE 4+ browsers. You achieve that effect by adding specific META tags to the HEAD of your pages. This page shows you how to do it using MS FrontPage, while this reference page shows you the proper codes. Here is an example of transition META tags:

<META HTTP-EQUIV="Page-Enter" 
CONTENT = "RevealTrans (Duration=4, 
Transition=23)">
<META HTTP-EQUIV="Page-Exit" 
CONTENT = "RevealTrans (Duration=4, 
Transition=23)">

Dear Dr. Website®: Every page I build and submit to the search engines gets me listed at the top in my domain name, emailprofits.net, even though I use keywords like email and profits. What's causing this to happen?

That's happening because there is only one emailprofits.net, but the other keywords you are using can be found on many Web sites. Use the top keywords for your site in your META keyword tag, in your META description tag, and on your page. Put the META tags first, before any JavaScript, and directly after the title of your site, which should also include a few of the keywords.


Visit The Dr. Website® Archives.
Click here for a list of Dr. Website's most frequently asked questions (and answers!).
Send your own question to Dr. Website®.

Fast Jump to Anywhere on WebDeveloper.com®:


Contact the WebDeveloper.com® staff

Last modified: 20

 

Refresh Daily
Join Editor-in-Chief David Fiedler The Editor With No Time and find truth, justice, and a clue or two.


Browse by Category
[ Site Map ]

ActiveX / VBscript
Animated GIF Archive
Browsers
CGI / Perl
Database Connectivity
E-Commerce
HTML-Advanced: DHTML, CSS
HTML / Site Authoring Tools
Intranet/Groupware
Java
JavaScript
Multimedia: Audio / Video / Streaming Technologies
Opinions
Refresh Daily: Editorial Column
Security
Servers & Server Tools
Site Design / Graphics
Site Management / Marketing / Log File Analysis
VRML / 3D
XML


internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs