Closed Thread Icon

Preserved Topic: Preloading Q? I've searched but could not find an answer, Pages that link to <a href="https://ozoneasylum.com/backlink?for=17906" title="Pages that link to Preserved Topic: Preloading Q? I&amp;#039;ve searched but could not find an answer," rel="nofollow" >Preserved Topic: Preloading Q? I&#039;ve searched but could not find an answer,\

 
Author Thread
el_Grande
Paranoid (IV) Inmate

From: The land up and over.
Insane since: Dec 2000

posted posted 01-03-2001 17:25

I won't bore u with details of WHY i want one, go to my site, u'll see why.

I need a script that will load and then forward automatically to my next page, Can this be done?

Thanks

the almighty el_Grande www.elgrande.cjb.net

bunchapixels
Neurotic (0) Inmate
Newly admitted
posted posted 01-03-2001 23:22

what exactly do you mean?
perhaps this is what you want:
have something like this at the tope of your code:
checkuser();

function checkuser() {
var password = ""
var password = prompt('What is the password?','')
if(password.toLowerCase() != 'el_grande') {
window.location="other.html";}
}

i think that should work, if that's what you want...
if that's nothign like what your after, then give us DETAILS!

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 01-04-2001 01:00

bunchapixels has given you a JavaScript way to go to another page.

You can also have your page switch to another using a META tag in your header like so:

<META HTTP-EQUIV="Refresh" CONTENT="10; URL=other.html">

where the "10" is how many seconds to wait before forwarding and the "URL" is obvious. I hope either bunchapixel's suggestion or this one helps.


butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 01-04-2001 01:23

Hey guys, can you do this with an onLoad= something in the <BODY> tag?

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 01-04-2001 01:46

Yes, you could do the Javascript one by calling the function with the onLoad trigger in the body tag. That would ensure that your page had loaded *before* doing the redirect. Whatever you do though, don't redirect to the same page, that would really bite!

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 01-04-2001 01:52

Thanks, I was just wondering.

el_Grande
Paranoid (IV) Inmate

From: The land up and over.
Insane since: Dec 2000

posted posted 01-04-2001 04:23

ok guys, sorry bout bein un-specific, I need a script that will load selected GRAPHICS, then when done loading automatically forward you to the next page. Can this be done? If anyone can do it u guys can, i've been amazed quite a few times.

the almighty el_Grande www.elgrande.cjb.net

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 01-04-2001 08:02

El_Grande, you didn't search enough... Here are just a couple of links that search function of the Asylum returned:



el_Grande
Paranoid (IV) Inmate

From: The land up and over.
Insane since: Dec 2000

posted posted 01-04-2001 16:20

Hey MAX, i read all of them before i posted, they didnt answer my question. I barely know anything bout scripting, so I pretty much need a script with blanks for me to fill in the images and the page to load after preloadind has finished.

Can anyone help............................

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 01-04-2001 17:48

El_Grande, you have to activate your brain cells a little bit, or else you won't learn anything new and JavaScript will remain a mistery... Anyway, the easiest preload script that exists can be found here: http://www.dynamicdrive.com/dynamicindex4/preloadimage.htm . If that ain't easy I don't know what is, heh!



[This message has been edited by mr.maX (edited 01-04-2001).]

el_Grande
Paranoid (IV) Inmate

From: The land up and over.
Insane since: Dec 2000

posted posted 01-04-2001 23:32

Hey MAX, I really dont wanna spend the time to learn this stuff, i dont plan on doin anythink like this for a career. I just like doin graphics and wanted a cool site, its a hobby.

My real life interest in Engineering. Mechanical to be exact. I'll be starting college in the fall for that.

I guess i can do the easy script, maybe i'll get bored and actually try to figure out how to add what i need to the scrpit.

Thanks



[This message has been edited by el_Grande (edited 01-04-2001).]

bunchapixels
Neurotic (0) Inmate
Newly admitted
posted posted 01-05-2001 00:05

hmmm... if you're not interested in writing scripts, then maybe you should not make pages that use them, o grand one.
try to look at this from our perspective.
now, i am a smartass loser with tons of spare time on my hands, but there are a hell of a lot of professionals out there, and you are basically saying 'look fellas, i cant be bothered learning javascript, so i want you to spend your time writing them for me'.

Barry
Bipolar (III) Inmate

From: Arcata, CA, USA
Insane since: Aug 2000

posted posted 01-05-2001 01:47

Ok, this can be done really easly with JS, well, sorta, there is a way to do it, but is fucked up, but if you want to...
First, put as many images on the page you want to load from, as on the second page (just make them 1X1 pixel transparent GIF's)
second, for each image you want on the next page, do this

document."imagename".src=the image you want to load on the next page
this will cache it.

el_Grande
Paranoid (IV) Inmate

From: The land up and over.
Insane since: Dec 2000

posted posted 01-05-2001 16:57

Well guys, i did it my way. its not the best but its all i can do.....so i guess im happy with it.

Go check it out if u want.
www.elgrande.cjb.net

« BackwardsOnwards »

Show Forum Drop Down Menu