Skip navigation
How would I come about fi
Currently Being Moderated

How would I come about fixing HTML in this flash site?

Aug 1, 2012 12:02 PM

Tags: #help #background #image #adobe #flash #website #html #dreamweaver #javascript #menu

Basically, only on Windows computers does this coding seem to be a problem. Now as it should, the default view should be like this.
http://f.cl.ly/items/2A2j3c20301d0K3r2B2p/Screen%20shot%202012-08-01%20at%201.54.44%20PM.png

 

..but on alot of computers, it's not. So Im asking if there's something wrong with the coding or what?

 

Here's the ENTIRE CODE.. by all means, do what you may to fix

 

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<title>Bible Based Church</title>

<script language="javascript">AC_FL_RunContent = 0;</script>

<script src="AC_RunActiveContent.js" language="javascript"></script>

</head>

<style type="text/css">

div.scroll

{

          width: expression(document.body.clientWidth > 900 ? "100%" : "900px");

          width:100%;

          min-width: 900px;

 

          height: expression(document.body.clientHeight > 800 ? "100%" : "800px");

          height:100%;

          min-height: 800px;

}

 

 

#h69

{

position:absolute;

}

 

 

#h70

{

position:absolute;

}

 

 

#h71

{

position:absolute;

}

 

 

</style>

<body bgcolor="#101419" style="padding: 0; margin:0">

<div style="margin:0px auto; min-width:900px; min-height:800px" class="scroll" align="center">

<script language="javascript">

          if (AC_FL_RunContent == 0) {

                    alert("This page requires AC_RunActiveContent.js.");

          } else {

                    AC_FL_RunContent(

                              'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=9,0,0,0',

                              'width', '100%',

                              'height', '100%',

                              'src', 'main',

                              'quality', 'high',

                              'pluginspage', 'http://www.macromedia.com/go/getflashplayer',

                              'align', 'middle',

                              'play', 'true',

                              'loop', 'true',

                              'scale', 'showall',

                              'wmode', 'window',

                              'devicefont', 'false',

                              'id', 'main',

                              'bgcolor', '#101419',

                              'name', 'main',

                              'menu', 'true',

                              'allowFullScreen', 'true',

                              'allowScriptAccess','sameDomain',

                              'movie', 'main',

                              'salign', ''

                              );

          }

</script>

<noscript>

          <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=9,0,0,0" width="100%" height="100%" id="main" align="middle">

          <param name="allowScriptAccess" value="sameDomain" />

          <param name="allowFullScreen" value="true" />

          <param name="movie" value="main.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#101419" />            <embed src="main.swf" quality="high" bgcolor="#101419" width="100%" height="100%" name="main" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

          </object>

</noscript>

</div>

 

 

 

 

<h69>

<a href="http://biblebasedchurch.tk">

<div style="position:absolute;top:20px;left:10px">

<img src="http://f.cl.ly/items/3V1W1F1S3R1H0f20200b/LOGO_color_smalls.png" style="position:absolute">

</h69>

</a>

 

 

<h69>

<html>

  <head>

    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Titan+One">

    <style>

      body {

        font-family: 'Titan One', cursive;

        font-size: 12px; color: white;

      }

    </style>

  </head>

  <body>

  <div style="position:relative;top:160px;left:37px">

    <center><div>Service Times<br>

    <br>

    Sun. 10:00am<br>

    Christian Education<br>

    (Summer Recess)<br>

    <br>

    Sun. 11:30am<br>

    Morning Worship<br>

    <br>

    Thur. 6:30pm<br>

    Intercessory Prayer<br>

    <br>

    Thur. 7:30pm<br>

    Bible Study

    <br>

 

    </div>

  </body></center>

</html>

</h69>

 

 

 

 

</body>

</html>

 

 

 

 

 

 

 

 

 

 

<html>

<head>

<body>

<style type="text/css">

 

 

<h70>

<html>

  <head>

    <link href='http://fonts.googleapis.com/css?family=Fredoka+One' rel='stylesheet' type='text/css'>

    <style>

      body {

        font-family: 'Fredoka One', cursive;

        font-size: 12px; color: yellow;

      }

    </style>

  </head>

  <body>

  <div style="position:absolute;top:230px;left:0px">

    <center>

<font size= 1; color= yellow>

    Summer Hours<br>

    July 1 - August 26, 2012<br>

    Morning Worship: 10:00am<br>

    </font>

    </font>

        </div>

  </body></center>

</html>

</h70>

 

 

 

 

</body>

</html>

 

 

<html>

<head>

<body>

<style type="text/css">

 

 

<h71>

<html>

  <head>

    <link href='http://fonts.googleapis.com/css?family=Fredoka+One' rel='stylesheet' type='text/css'>

    <style>

      body {

        font-family: 'Fredoka One', cursive;

        font-size: 12px; color: pink;

      }

    </style>

  </head>

  <body>

  <div style="position:absolute;top:320px;left:0px">

    <center>

<font size= 1; color= pink>

Visit our Flickr (Gallery) account <a href="http://www.flickr.com/photos/83381756@N05/7640252682/in/set-7215763073 5823090/lightbox/">right here</a>!!<br>

    </font>

    </font>

        </div>

  </body></center>

</html>

</h71>

 

 

 

 

</body>

</html>

 

 

</style>

 
Replies
  • Currently Being Moderated
    Aug 1, 2012 12:17 PM   in reply to How would I come about fi

    How many <html> tags do you have in that page?  And why are there so many?

     

    Where did this mangled code come from?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 12:19 PM   in reply to How would I come about fi

    In what you've shown, I see a lot of code errors that need correcting.  Use the tools below to validate your code.

     

    Code Validation Tools

    ------------------------------------

    CSS - http://jigsaw.w3.org/css-validator/

    HTML - http://validator.w3.org/

     

    I also see an over-abundance of Absolute Positioning which is NOT required and  seldom works well in primary layouts.  Here's why:

    http://apptools.com/examples/pagelayout101.php

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 12:28 PM   in reply to How would I come about fi

    Well, a valid web page is only allowed to have a single pair of <html>, <head>, and <body> tags (i.e., one opening and one closing for each).  Your page is made with invalid usages.  Invalid pages render in unexpected ways in each browser.  As Nancy suggests your first task is to change the page's code so that it ALL validates.

     

    Next, you should realize that one of the worst mistakes you can make is to use Flash for your page's navigation element.  Not only have you just eliminated iOS from using it, you have also eliminated any visitor using a screen reader, or any search engine spider.  Bad mistake....

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points