Results 1 to 2 of 2

Thread: Splash page shows some parts of the destination page

  1. #1
    Join Date
    Oct 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Splash page shows some parts of the destination page

    1) Script Title: Splash Page script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...amicsplash.htm

    3) Describe problem:

    The splash page works fine but I can see parts of the destination site, ubabasket.com/index.php like the main menu and some text and images.
    The site is ubabasket.com. The splash page file name is ubabasket.com/welcome.html. The content management system is joomla 2.5
    I have included splashpage.js in the head of index.php. Here are my settings:

    Code:
    var splashpage={
    // Splash Page Script Activation (1=enabled, 0=completely disabled!)
    splashenabled: 1,
    
    //1) URL to file on your server to display as the splashpage
    splashpageurl: "http://ubabasket.com/welcome.html",
    
    //2) Enable frequency control? (1=yes, 0=no)
    enablefrequency: 1,
    
    //3) display freqency: "sessiononly" or "x days" (string value). Only applicable if 3) above is enabled
    displayfrequency: "1 days",
    
    //4) HTML for the header bar portion of the Splash Page
    // Make sure to create a link that calls "javascript:splashpage.closeit()")
    // An IE bug means you should not right align any image within the bar, but instead use "position:absolute" and the "right" attribute
    
    defineheader: '<div style="padding: 5px; color: white; font: bold 16px Verdana; background: black url(blockdefault.gif) center center repeat-x;"><a style="position:absolute; top: 2px; right: 5px" href="javascript:splashpage.closeit()" title="Skip to Content"><img src="skip.gif" border="0" width="114px" height="23px" /></a></div>',
    
    //5) cookie setting: ["cookie_name", "cookie_path"]
    cookiename: ["splashpagecookie", "path=/"],
    
    //6) Auto hide Splash Page after x seconds (Integer value, 0=no)?
    autohidetimer: 8,
    
    
    here is the markup for welcome.html:
    
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>UBA - More than just a League</title>
    <style type="text/css">
    body{
    	background-position:center;
    	
    	
    }
    img
    {
    	
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
    }
    
    
    </style>
    </head>
    
    <body>
    
    
    
    <img src="images/uba splash.jpg" height="750">
    
    </body>
    </html>

    Thanks.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	splashpage_issues.jpg 
Views:	143 
Size:	103.1 KB 
ID:	4795  
    Last edited by ddadmin; 10-08-2012 at 06:29 PM.

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    I'm getting no such problem on safari, what browser are you using?
    Edit:
    It's also working fine on firefox, chrome, opera and ie9.
    A suggestion is changing the z-index on the splash image?
    Last edited by bernie1227; 10-08-2012 at 10:23 PM.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

Similar Threads

  1. Replies: 1
    Last Post: 09-11-2011, 03:32 AM
  2. Resolved Splash Page script single page initiation
    By superdmg in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-09-2010, 12:55 AM
  3. Problem w/Splash Page Script when home page has a swf file on it
    By dnadavid in forum Looking for such a script or service
    Replies: 3
    Last Post: 12-10-2008, 12:47 AM
  4. Replies: 2
    Last Post: 03-19-2008, 12:23 PM
  5. Using PHP To Update Parts Of A Page...
    By tomyknoker in forum PHP
    Replies: 1
    Last Post: 06-13-2006, 01:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •