Current location: Hot Scripts Forums » General Community » New Members & Introductions » I need to create an Index. file


I need to create an Index. file

Reply
  #1 (permalink)  
Old 09-05-05, 03:41 PM
LindaBellppo LindaBellppo is offline
New Member
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
I need to create an Index. file

I came looking for one file, didn't find it, but found a BUNCH of other great looking files! I'm new at Website building and love this site.

But I still need that program:

The master file of my website is shop.php. I want this program to come up when ever anyone types MyWebPage.com.

I understand webpages look for a file called Index.something. I don't know if it has to be an .html file or not.

Is there a file here that can make an index file that will open Shop.php?

Thanks,

Linda (who will undoubtedly be back)!
Reply With Quote
  #2 (permalink)  
Old 09-05-05, 04:34 PM
sp1ky sp1ky is offline
Newbie Coder
 
Join Date: May 2005
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Sure thing

This script should do you fine. If the user does not have javascript allowed they will see the link.
Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SHOP</title>
<!-- Script by Qwik-Host. www.Qwik-Host.com -->
<script language="JavaScript1.2">

if (screen.width==800||screen.height==600)
window.location.replace("Shop.php")

else
window.location.replace("Shop.php")

//-->
</script>
</head>
<body>
<center><font size="+5"><a href="Shop.php">Enter</a></font></center>
</body>
</html>
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a header file in Visual C++? dummies_05 C/C++ 3 03-15-05 08:20 AM
Create an index with Asp.net-vb code kathryn ASP.NET 0 01-04-05 08:39 AM
create a link to an exe file Sash HTML/XHTML/XML 4 09-07-04 07:51 PM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 02:44 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.