Esato Mobile
General discussions : Non mobile discussion : ASP/HTML-question
> New Topic
> Reply
< Esato Forum Index > General discussions > Non mobile discussion > ASP/HTML-question Bookmark topic
Page12>

Universal Exports Posts: > 500

Me and a friend are having some problems with a webpage... We want it to show a message to every guest with lower screen resolution than 1024x768 or whatever it is. It is asp so any help appreciated.
--
Posted: 2004-02-25 14:06:24
Edit : Quote

mixin Posts: > 500

Would probably be done with javascript me thinks.

But designing a website to work primarily on 1024x768 is bad!
The majority of people using the internet use 800x600 resolution, so designing it for bigger than that is making it hard on people!

[edit] http://javascript.internet.com/user-details/resolution-page.html
found a little re-direct thing that might be of some use

[ This Message was edited by: MixiN on 2004-02-25 13:14 ]
--
Posted: 2004-02-25 14:11:00
Edit : Quote

Universal Exports Posts: > 500

Thanks, we have thought so too. That's why we want to show them a message or, ultimatly, autodirect them to another page designed for 800x600. Anyone know how that's done or if we go Mixin's way, know the script. (We're n00bs )
The server supports ASP.
--edit--
Thanks for the page. We're looking into it now.
--edit--
Whopeee! Thanks very much Mixin. With a little modification of the code we got it solved.
________________
"The distance between insanity and genius is measured only by success."
-Eliot Carver

[ This Message was edited by: Universal Exports on 2004-02-25 13:40 ]
--
Posted: 2004-02-25 14:15:09
Edit : Quote

Universal Exports Posts: > 500

Here's another thing . We'd like someone skilled to test the page. He'd better be swedish or at least scandinavian or he wont understand a single thing
Here it is: Bjurssidan. Ni får lov att trycka på "Bäver Productions" för att komma till sidan det hela handlar om.
What we really want an answer to is how to test the screen resolution ( with mixin's code ) without the guest noticing it, or at least to sho a "loading" page while the automatic check runs.
In other words we want an event to start without the guest having to bother.
--
Posted: 2004-02-25 18:04:09
Edit : Quote

mixin Posts: > 500

To get it to load when the page loads, you you might wanna try this code:

Code:
<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function redirectPage() {
var url640x480 = "http://www.yoursite.com/640x480";
var url800x600 = "http://www.yoursite.com/800x600";
var url1024x768 = "http://www.yoursite.com/1024x768";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}
// End -->
</script>
</HEAD>

<body onload="redirectpage()">

BLAH!


I'm still at work, so cant really test to see if it works.
I'll have a look later when i get home to see if it works or not
--
Posted: 2004-02-25 18:37:00
Edit : Quote

Universal Exports Posts: > 500

We'll try it for you. Thanks mate!
--
Posted: 2004-02-25 18:38:40
Edit : Quote

mixin Posts: > 500

whats the verdict?
--
Posted: 2004-02-25 19:49:57
Edit : Quote

Vlammetje Posts: > 500

they're currently looping
--
Posted: 2004-02-25 23:07:07
Edit : Quote

Universal Exports Posts: > 500

Now I feel lika real n00b...
Next prob ( ):
We want to play a .wav preview of a sound when the guest moves the mouse over the link to the sound. How to do?
(as we're noob's we need a direct link like MixiN's )
--
Posted: 2004-02-26 15:30:40
Edit : Quote

Universal Exports Posts: > 500

You're too slow guys. We got that solved too.
Now the next:
How do you make a cursor? I know you can make a .cur file in paint but what size should it be?
--
Posted: 2004-02-27 10:16:13
Edit : Quote
Page12>

New Topic   Reply
Forum Index

Esato home