Author |
Message |
rave41799
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 20, 2005
Posts: 9
|
Posted:
Thu Oct 20, 2005 1:04 pm |
|
I'm using phpnuke 7.6 and I have a splash intro page. What I want to do is load the html file first and let that intro play. After that, it'll go to the index.php file for my nuke site.
Does anyone know how to set this up? Is this something that has to be setup on the hosting side or is this something I can do coding wise?
Thanks!! ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Thu Oct 20, 2005 3:27 pm |
|
Well your not that clear..
Do you have to source file of the splash page?..the .fla ?
If not....meaning...you CANNOT edit the flash file itself then you cantadd the command to jump to your index page.
So what do you have ? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Fri Oct 21, 2005 12:08 am |
|
The easiest approach is hosting side. They have to setup your default pages to load index.html before index.php |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/183ecd6a404a3683445de.gif)
Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Fri Oct 21, 2005 8:30 am |
|
I want to mention that I HIGHLY suggest that webmasters avoid having an initial splash page. It is a well known fact that search engines get hung up on a default splash page and that can dramatically affect your ability to be indexed by them.
If you feel for some reason that you must have this function, I suggest that you name it index.htm (and not index.html) since if you ever want to have GoogleTap enabled, you'll find that you'll have a conflict.
In that case, you should have the default page load order be .htm, .php, .html
This will enable you to have the splash page as index.htm and your main files being index.php.
Then if you want to have a delay of a certain period before users are led to the index.php, you could always encapsulate it like this (if you don't code it right into your .fla file, which is preferred):
Code:<meta http-equiv="refresh" content="N; URL=other-web-address">
| inside the < head > section of the .htm page. N = The approximate number of seconds to wait before the user is automatically forwarded and the other-web-address = the destination. for example:
Code:<meta http-equiv="refresh" content="20; URL=index.php">
|
|
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 9:22 am |
|
well i wanted to post that first but i thought if the splash page is a movie that has to be played you can never use meta refresh cause you never know your visitors connection.
therefore you cannot set a time to "refresh" to the index file cause then it would be hard to tell when movie is finished playing..
but i agree with 64bit...if possible dont use a splash page..ive seen sites using them but they all took it out 1 or 2 months later. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 21, 2005 9:35 am |
|
Well, there are other ways to deal with this and in fact, not all browsers support the meta method; however, if they do, it should not start the timer until the page is fully loaded which is why I suggested that particular method... (meaning the animation would need to be completely loaded and start playing before the timer began)... At least that is my understanding of the benefit of the META method.
Another possibility is using the Header(Location: function, but again, same situation in that not all browsers support it and it would need to be wrapped around the content which can be tricky with multi-media files.
I would suggest that you instead simply hotlink the animation itself with an "a href" value so users can click on it to avoid the situation entirely; however again, I wouldn't use a splash page at all because of the reason outlined above... but that's just me.
Steph |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
b14ze
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/4a2094cc46eea679bbfe8.jpg)
Joined: Jul 22, 2006
Posts: 18
|
Posted:
Thu Dec 03, 2009 10:55 am |
|
Also with a flash splash page you can be vunerable to iframe virus? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|