Esato

Forum > General discussions > Non mobile discussion > ASP/HTML-question

12  Next
Author ASP/HTML-question
Universal Exports
T68 grey
Joined: Mar 03, 2003
Posts: > 500
From: Sweden
PM, WWW
Posted: 2004-02-25 14:06
Reply with quoteEdit/Delete This PostPrint this post
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.
"The distance between insanity and genius is measured only by success."
-Eliot Carver
mixin
T66 black
Joined: Jan 26, 2002
Posts: > 500
From: Notts, UK
PM, WWW
Posted: 2004-02-25 14:11
Reply with quoteEdit/Delete This PostPrint this post
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 ]
Universal Exports
T68 grey
Joined: Mar 03, 2003
Posts: > 500
From: Sweden
PM, WWW
Posted: 2004-02-25 14:15
Reply with quoteEdit/Delete This PostPrint this post
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 ]
Universal Exports
T68 grey
Joined: Mar 03, 2003
Posts: > 500
From: Sweden
PM, WWW
Posted: 2004-02-25 18:04
Reply with quoteEdit/Delete This PostPrint this post
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.
"The distance between insanity and genius is measured only by success."
-Eliot Carver
mixin
T66 black
Joined: Jan 26, 2002
Posts: > 500
From: Notts, UK
PM, WWW
Posted: 2004-02-25 18:37
Reply with quoteEdit/Delete This PostPrint this post
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
Universal Exports
T68 grey
Joined: Mar 03, 2003
Posts: > 500
From: Sweden
PM, WWW
Posted: 2004-02-25 18:38
Reply with quoteEdit/Delete This PostPrint this post
We'll try it for you. Thanks mate!
"The distance between insanity and genius is measured only by success."
-Eliot Carver
mixin
T66 black
Joined: Jan 26, 2002
Posts: > 500
From: Notts, UK
PM, WWW
Posted: 2004-02-25 19:49
Reply with quoteEdit/Delete This PostPrint this post
whats the verdict?
Vlammetje
C702 Cyan
Joined: Mar 01, 2003
Posts: > 500
From: Den Haag
PM, WWW
Posted: 2004-02-25 23:07
Reply with quoteEdit/Delete This PostPrint this post
they're currently looping
Universal Exports
T68 grey
Joined: Mar 03, 2003
Posts: > 500
From: Sweden
PM, WWW
Posted: 2004-02-26 15:30
Reply with quoteEdit/Delete This PostPrint this post
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 )
Universal Exports
T68 grey
Joined: Mar 03, 2003
Posts: > 500
From: Sweden
PM, WWW
Posted: 2004-02-27 10:16
Reply with quoteEdit/Delete This PostPrint this post
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?
mixin
T66 black
Joined: Jan 26, 2002
Posts: > 500
From: Notts, UK
PM, WWW
Posted: 2004-02-27 12:20
Reply with quoteEdit/Delete This PostPrint this post
noooooooooo

i cant stand custom cursors and embedded music files
Vlammetje
C702 Cyan
Joined: Mar 01, 2003
Posts: > 500
From: Den Haag
PM, WWW
Posted: 2004-02-27 12:29
Reply with quoteEdit/Delete This PostPrint this post
i dun like cursors either....

embedded music has the habit of playing like o..o...o..o..so...o..o..o..le...e..e....e.;.m..mi...ii..o..o..o..o.. especially when I'm dlding some large files at the same time

or they play right through the music I am already playing which provides me with a good reason never to viti the site again
mixin
T66 black
Joined: Jan 26, 2002
Posts: > 500
From: Notts, UK
PM, WWW
Posted: 2004-02-27 13:57
Reply with quoteEdit/Delete This PostPrint this post
plus they have a certain amateuristic appeal...

not that thats a bad thing maybe?
Universal Exports
T68 grey
Joined: Mar 03, 2003
Posts: > 500
From: Sweden
PM, WWW
Posted: 2004-02-27 17:59
Reply with quoteEdit/Delete This PostPrint this post
We did it in a very professional way.
Anyway, it's just a short preview, nothing long and nothing big.
The cursor is just a thing we want to try. Do you know how to do it or are you just complaining?
Jim
T39 black
Joined: Jan 20, 2002
Posts: > 500
From: Belgium
PM
Posted: 2004-03-02 11:32
Reply with quoteEdit/Delete This PostPrint this post
Sorry UE I was on vacation so couldn't reply to your PM

Btw your password is "password" an points to /hometest.htm which does not exist on the server no ?

And for 2202 asp scripts click me
Access the forum with a mobile phone via esato.mobi