Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Website Help


  • Please log in to reply

#1
The Matt

The Matt

    Member

  • Member
  • PipPip
  • 63 posts
I have a website Whizkid Online and I have a flash header on my website. Every time that flash file is played it adds a core file (ie. "core.1016" or something like that), I dont have that much space on my website and those files are big and I need to know why an .swf file is putting those in there.

Any help would be appreciated.

The Matt
  • 0

Advertisements


#2
The Matt

The Matt

    Member

  • Topic Starter
  • Member
  • PipPip
  • 63 posts
I finally fixed it! There was something in the header that shouldnt of been there that I believe included a javascript file.
  • 0

#3
hiloh2o

hiloh2o

    Member

  • Member
  • PipPip
  • 47 posts
hi, I looked at your question and I dont know alot about flash, but I looked at your site. It looks great and I see you fixed the header. But I also looked at the source code and found that you can optimize your html file a bit. (this may be where your flash problem was coming from, but im not sure.
This is the code from just the top part of your page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...nsitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Whizkid Online</title>
<link href="default.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="wrapper">
<div id="header1"><script language="javascript" type="text/javascript" src="date.js"></script></div>
<div id="header2"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...nsitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</script>
</head>

<body>
<object width="800" height="150">
<param name="movie" value="wo.swf">
<embed src="wo.swf" width="800" height="150">
</embed>
</object>

</body>


You have several (open head) (close head) (open body) (close body) tags. You can simply move all your head codes to the head, and body tags to the body. It will speed up the loading time of your webpage. It will also optimize your page for search engines (SEO) and will make it easier from browsers to read your page ensuring that the page is displayed the way you want it to be (you have two settings for your meta tags. 1st you have "charset=utf-8" then later you have "charset=iso-8859-1".). Finally it will save space on your text document, freeing you space on your server.

You can change the code to look like this (again, I only did this for the top part, you can do it for the whole page, I would just copy and page and put the tags where they need to be.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...nsitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Whizkid Online</title>
<link href="default.css" rel="stylesheet" type="text/css" />
</script>
</head>

<body>

<div id="wrapper">
<div id="header1"><script language="javascript" type="text/javascript" src="date.js"></script></div>
<div id="header2">

<object width="800" height="150">
<param name="movie" value="wo.swf">
<embed src="wo.swf" width="800" height="150">
</embed>
</object>

</body>
</html>


I thought I had a handy tool book marked but I cant find it. Its a website, browser based program, that will optimize the code for you. If you want I will try to find it again for you.

Hope this all helps

Christy
  • 0

#4
The Matt

The Matt

    Member

  • Topic Starter
  • Member
  • PipPip
  • 63 posts
Thanks for your help. I was using the code
<?php include "filename.php" ?>
and it was putting in the multiple meta tags because I was forgetting to take out the

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Whizkid Online</title>
<link href="default.css" rel="stylesheet" type="text/css" />
</head>

<body>
</body>
</html>

in the include files.

I think I fixed it though.

Edited by The Matt, 25 January 2008 - 10:15 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP