ok, i have a question regarding an .swf file (start.swf) i'd like to run when a page is opened for the first time.
The start.swf should run in a frame.
After it has ran, it should display a default page (with a background, in order to fill up the white space of the frame).
So, in detail:
The main page: index.htm
the frame-background-page: frame.htm
the flashfile: start.swf
I found on the net a very usefull piece of javascript that checks the browser version first. Depending on the browser version it loads or doesn't load the swf file.
Exactly what i needed i thought. The problem is....how do i add all this to my index.htm page?
This was the piece of code i was talking about:
<script LANGUAGE="JavaSript">
if (flashenabled = true) {
if (ns6 or ie mac) {
display "start.swf"
} else {
display "start.swf" //which in turn will display test.swf when
the images are loaded
}
} else {
display something.jpg
}
Is there somebody who can help me out accomplishing this please?
Your help is highly appricitiated
The start.swf should run in a frame.
After it has ran, it should display a default page (with a background, in order to fill up the white space of the frame).
So, in detail:
The main page: index.htm
the frame-background-page: frame.htm
the flashfile: start.swf
I found on the net a very usefull piece of javascript that checks the browser version first. Depending on the browser version it loads or doesn't load the swf file.
Exactly what i needed i thought. The problem is....how do i add all this to my index.htm page?
This was the piece of code i was talking about:
<script LANGUAGE="JavaSript">
if (flashenabled = true) {
if (ns6 or ie mac) {
display "start.swf"
} else {
display "start.swf" //which in turn will display test.swf when
the images are loaded
}
} else {
display something.jpg
}
Is there somebody who can help me out accomplishing this please?
Your help is highly appricitiated