Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
rave41799
New Member
New Member


Joined: Oct 20, 2005
Posts: 9

PostPosted: Thu Oct 20, 2005 1:04 pm Reply with quote

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
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Oct 20, 2005 3:27 pm Reply with quote

Well your not that clear.. Sad

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 ?
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Oct 21, 2005 12:08 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1159
Location: Sanbornton, NH USA

PostPosted: Fri Oct 21, 2005 8:30 am Reply with quote

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 Only registered users can see links on this board! Get registered or login!
1CMS, 100% Section 508 and W3C XHTML/CSS Compliant (Truly) 
View user's profile Send private message Visit poster's website
hitwalker
PostPosted: Fri Oct 21, 2005 9:22 am Reply with quote

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.
 
64bitguy
PostPosted: Fri Oct 21, 2005 9:35 am Reply with quote

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
 
b14ze
New Member
New Member


Joined: Jul 22, 2006
Posts: 18

PostPosted: Thu Dec 03, 2009 10:55 am Reply with quote

Also with a flash splash page you can be vunerable to iframe virus?
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©