Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Adding a Welcome Screen (Splash Page) to your website
Elysia_1 (New Admin) 8/10/2011 10:12 AM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
Elysia_1
Posts: 59
Posts With Wolves

I found the Code fro Flash... Only one problem... It does not work on the actual Tab... In the Control Panel it works just fine, but not live on the Site... here's the Code...

<style type="text/css">
#PageContainer { display:none; }
#splashBox { margin: 0 auto; text-align: center; }
</style>
  
<div id="splashBox">
 <div align=center>
<table>
<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,2,0
width=650
height=400>
  
<param name=movie value=http://www.wrrk.dk/sto-photos/loginpage.swf>
  
<param name=quality value=High>
<param name=BGCOLOR value=000000>
<param name=SCALE value=ShowAll>
      <param name="_cx" value="15875">
      <param name="_cy" value="7938">
      <param name="FlashVars" value>
  
      <param name="Src" value="http://www.wrrk.dk/sto-photos/loginpage.swf">
  
      <param name="WMode" value="Window">
      <param name="Play" value="-1">
      <param name="SAlign" value>
      <param name="Menu" value="-1">
      <param name="Base" value>
      <param name="AllowScriptAccess" value>
      <param name="DeviceFont" value="0">
      <param name="EmbedMovie" value="0">
      <param name="SWRemote" value>
      <param name="MovieData" value>
      <param name="SeamlessTabbing" value="1">
      <param name="Profile" value="0">
      <param name="ProfileAddress" value>
      <param name="ProfilePort" value="0">
      <param name="AllowNetworking" value="all">
      <param name="AllowFullScreen" value="false">
      <param name="Loop" value="false">
  
      <embed src=http://www.wrrk.dk/sto-photos/loginpage.swf
  
quality=high
pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash type=application/x-shockwave-flash
width=650
height=400
bgcolor=#000000
scale= showall>
</embed></object></table>
</div></div>
  
<script type="text/javascript">
$(function() {
 var w = $('#splashBox').closest('.gpwidget');
 $('.gpWidget').not(w).hide();
 // remove the next two lines if you want your box borders to show
 w.find('.ContentBoxTitle').hide().end()
  .find('.ContentBox, .ContentBoxTitle, .ContentBoxBody').andSelf().attr('class','');
 // remove the above two lines if you want your box borders to show
 w.closest('.ContentZone').siblings().hide();
 $('.PageWrapper, .ContentWrapper').show();
 $('#bannerTable, .BannerArea, .WfTopMenu, .TabBar, .straightBarWrapper, .InnerTabTable').hide();
});
</script>


What am I doing wrong?

Thank you.

EDIT........... Figured it out...
TopBottom

Rockie* (New Admin) 8/31/2011 8:12 AM EST : RE: Adding a Welcome Screen (Splash Page) to your web...

Rockie*
Posts: 2
Getting Started!

Hello,

   First i would like to say, Mottiei love your work. Nice job.

 Now i have use this, but have members that cant see it and they use "Internet Explorer" and cant see it. I was forced to added the Meta tag form them to get on site.

Did i do something wrong? or should i tell them to get with the time and use Mozilla.

 twilight.abyssportals.com

 Thanks

 ""
P.S i use  Raw/Script, on that page.




TopBottom

Mottie (MVP) 8/31/2011 10:17 AM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Rockie*!

It looks like the <script> and </script> tags were included in the custom jquery script section... these should be removed and the welcome page should start working correctly in IE.

TopBottom

nkitch77 (New Admin) 9/11/2011 3:40 PM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
nkitch77
Posts: 143
Posts With Wolves

Hi,

I also have this problem of it not being seen in IE I have followed the instructions and it works fine in FF.

Site
TopBottom

lunik04 (New Admin) 9/30/2011 4:37 PM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
lunik04
Posts: 1319
Zomgawsh Poster

Heya Mottie, hope you're still watching this

Currently I'm only using a background image and the redirect for my welcome page. Only problem with this is the background image does not stay center for everyone due to different resolution settings. I tried to put the background image in a splashbox and just use a black (#000000) background, but it will not show the image or the box when I do this...it only shows a black page then redirects in 10 seconds. I was thinking that maybe the image was too large for the splashbox or something, not really sure. Is there another box form I can use for a larger image, or is there some way I can get the image to not be included with the background and stay centered no matter what resolution others use?
 
I also tried adding the center center after the background url and it ends up messing up the image and splitting it in half (it puts the top half of the image at the bottom of the screen and the bottom of the image at the top of the screen...I know, screwy right?).
 
www.craziesoftor.guildportal.com
     
Also when using Chrome, sometimes it works correctly and sometimes it only shows a black page and then redirects after 10 seconds. Any thoughts on how to correct this problem? It seems to work fine using IE and Firefox.

TopBottom

Mottie (MVP) 9/30/2011 11:11 PM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Lunik04!

It appears that there is no content on your splash page, so Chrome thinks the height of the page is zero and Firefox does something screwy, so the best solution would be to give them some height!

So add the html css and the height to the body as follows:
html { height: 100%; overflow: hidden; }
body { background: #000000 url(http://i293.photobucket.com/albums/mm41/lunik04/sithsplashpagebackgroundfinal2.jpg) center center; color: #ffffff; height: 100%; }
Oh and remove the "display: inline" it was messing Chrome up too.
TopBottom

lunik04 (New Admin) 10/1/2011 1:17 AM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
lunik04
Posts: 1319
Zomgawsh Poster

Awesome! Thank you Mottie. Seems to be good to go now.
TopBottom

lunik04 (New Admin) 10/7/2011 6:53 AM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
lunik04
Posts: 1319
Zomgawsh Poster

Hey again Mottie,

Have one more issue if you don't mind...

I wanted to add a sound url to the welcome page so it automatically plays when you see the page. Not sure if it has to do with the script, but it will not play. Any way to fix this? I don't want to add an MP3 player or anything like that. I just want the 15 second music clip URL I have to work right when viewing the page for 15 seconds (I plan on making the redirect take the 15 seconds). The URL I'm using works correctly on the home page, so I know it's not a busted URL.
 
BTW, I only tried to add the music URL on the properties page for the welcome page. I did not try it with script (do not know the script to well).

www.craziesoftor.guildportal.com
     
Thanks in advance
TopBottom

Mottie (MVP) 10/7/2011 8:59 AM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

If you remove this line from your splash box code, it should start working:
#footerArea { display:none; }
That is actually CSS, so it should be inside of style tags, but instead is inside of a script tag. I don't think it is necessary though, so just remove it.
TopBottom

lunik04 (New Admin) 10/7/2011 6:48 PM EST : RE: Adding a Welcome Screen (Splash Page) to your web...
lunik04
Posts: 1319
Zomgawsh Poster

Thanks Mottie. I guess having that footer script in there was messing with the music. I still had to use something to hide the footer tho, but I figured it out...just added .PageFooter down at the bottom, in with the rest of the stuff to hide. It still hangs up and won't play every great once in awhile when using IE, but works fine with Chrome and Firefox now. I can live with it.

Thanks for all your help. I really appreciate it.
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%