PDA

View Full Version : i want to add my flash entro. to my website


almodcom
09-21-2007, 12:13 PM
hi friends , i have made my website by using of cirtexhosting tools , www.almonjed.com , but i need to insert a flash entroduction page for my web , so how i can add this part to my website? thank you
isam al hassan

dougp
09-22-2007, 05:35 AM
You can create a php or html page that contains the flash intro. Then use .htaccess to load the intro page first. Be sure to redirect to the index page and/or provide a link to the index page.

.htaccess code (if it does not exist, create a new text document and insert the following code, upload it into the main folder of the site and then rename it to .htaccess

RewriteEngine on
Options All -Indexes
DirectoryIndex intro.php index.php index.html index.htm

In this case I used intro.php above. If you want to use an html file, simply rename the intro.php to the name of your web document such as intro.html

(Also the load order above is from left to right. It will first load intro.php if it finds one, if not it will load index.php and so on). The above besides the intro.php is a pretty basic and "default" setup, it should be sufficient. You can also add /noindex.php on the end and create a file called noindex.php in your sites main directory, this way any attempt to browse folders on your site that do not have an index will automatically get thrown to the noindex page.

Example:

RewriteEngine on
Options All -Indexes
DirectoryIndex intro.php index.php index.html index.htm /noindex.php

diamonds
09-22-2007, 12:46 PM
You can insert a flash introduction page at the top of your header. From dreamweaver, you can insert your flash header. But you need to have a preloader and flash plug-ins. Test it in Firefox and Internet explorer

almodcom
09-22-2007, 05:42 PM
i have tried Mr. Dougp way it works and when i will complete my flash design i will send it to you, and i will try Mr. Diamonds way too.

but thank you for your support

isam

dougp
09-22-2007, 09:52 PM
Glad to help. :top: