Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Load a href with SCRIPT

Posted on 2000-03-21
1
Medium Priority
?
206 Views
Last Modified: 2010-04-09
Hi
Please go look at my site:
http://ejmidi.bizland.com
Set your screen res. to 800*600 or lower

The an alert pop's up saying: "Hey the site is best viewed using ../lores.htm try go there"

But I want it to be automatic. The SCRIPT shall load the lores.htm when the resolution is to low.

That meanes the script shall automaticly take the user from the site
http://ejmidi.bizland.com to
http://ejmidi.bizland.com/lores.htm

How is that done ??
0
Comment
Question by:win32
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Bhargava earned 40 total points
ID: 2641253
Replace:(in the left frame)
<script Language="Javascript">
 if(screen.width<1024) alert("Warning: Your resolution is under 1024*768. For better view please go to http://ejmidi.bizland.com/lores.htm");
</script>
with:
<script Language="Javascript">
 if(screen.width<1024)
top.location.href = "http://ejmidi.bizland.com/lores.htm";
</script>

hope this helps
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question