PDA

View Full Version : Coding Problem with HTML with Lunarpages as host?


cstdinc
06-24-2008, 09:50 PM
First off, I'm very amateur at any encoding; scripting. I'm more of the person who creates the banners or graphics. Well, anyways, here's my situation. To improve our company's website (www.cstdinc.com) we decided to insert a newspaper article on the second page of the website. This is a picture of the first page. Everything's looking fine thus far.

http://i167.photobucket.com/albums/u157/Karreaux/help1.jpg

Well, I uploaded the image to photobucket, like I always do, and then inserted the .html in the page in a place where I thought it would fit. The HTML editor for Lunarpages (our host) just allows you to insert the picture wherever you like without having to really script anything in HTML. I know how to use HTML, but only minimally. Here's the code.

http://i167.photobucket.com/albums/u157/Karreaux/help2.jpg
http://i167.photobucket.com/albums/u157/Karreaux/help3.jpg
http://i167.photobucket.com/albums/u157/Karreaux/help4.jpg


Now, that's what was automatically entered into the HTML editor. Here's the problem part (which I'm pretty sure there's a problem with the HTML in itself, but this is the conflict).

Whenever I open Internet Explorer and when it opens up the second page...there is only the flash document, and no page content. This is what it looks like:

http://i167.photobucket.com/albums/u157/Karreaux/help7internetexplorer.jpg

It's supposed to look something a bit like this; flash on top, page content underneath:

http://i167.photobucket.com/albums/u157/Karreaux/help6whatitsupposedtolookilke.jpg

...but that's not happening. I don't get any page data, and the ony thing I changed was putting the picture at the bottom, where it needed to be.

So then, I decided to experiment and try getting on the website with Firefox. What popped up was this:

http://i167.photobucket.com/albums/u157/Karreaux/help5mozilla.jpg

Page content, but no flash at all and I recieved this odd message at the top: Fail (the web browser should render some flash content, not this)

What was odd was that I didn't even mess with the flash; I only put in the picture at the bottom. Could this be a problem with the host (Lunarpages), the code, or is it just being plain and ornery? I need to fix this because the webpage has currently become unlivable.

Sooo...yes, I need the flash for the website because it actually transports you to different pages and it has crippled our website and some of our customers who need vital information. Please help quickly! I need to fix this problem!

rangana
06-25-2008, 02:55 AM
FF does'nt show your flash since you only have the object tag. This is recognized only by IE (afaik).
You need to have an embed tag to show on FF too and possibly on other browsers.

Try to change your codes to (Highlighted is added):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table align="center" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="700" valign="top" width="766">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="275" valign="top" width="766">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="766" height="275" alt="">
<param name="movie" value="flash/header_v7.swf?button=2">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
<embed src="flash/header_v7.swf?button=2" width="766" height="275">
</embed>
</object></td></tr>
<tr>
<td class="content" height="412" valign="top" width="766">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="566" valign="top" width="6"><br>
</td>
<td height="566" valign="top" width="3"> </td>
<td height="566" valign="top" width="32"><br>
</td>
<td height="566" valign="top" width="614">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="520" valign="top" width="595">
<p class="block"><span style="margin: 19px 10px 0pt 20px"><img src="images/2_p2.jpg" style="margin-right: 14px" alt="" align="left" border="0"></span></p>
<p class="block"> </p>
<p class="block"> </p>
<p align="center">WE ARE COMMITTED TO PROVIDING SOLUTIONS</p>
<p align="center"> THAT HELP <strong>$</strong>AVE YOU <strong>MONEY</strong> </p>
<p align="center"><strong>YOU DON’T NEED A DESK PHONE ANYMORE!!</strong></p>
<p align="center">EXTENDED FEATURES AND BENEFITS OF THE DESKPHONE/CELLPHONE INTEGRATED SYSTEM</p>
<p align="center">PURE CELL PHONE INTEGRATION <strong>WORKS WITH ANY CELL PROVIDER</strong>!</p>
<p align="center">Be connected anywhere and <u>transfer back to your office from your</u><br>
<u>cellphone from anywhere!</u></p>
<p align="center">Make an ordinary cell phone an extension of your telephone system!<br>
Use you own company’s DID numbers to incorporate your personnel’s<br>
cell phones as extensions of your telephone system. Transfer back and forth between extensions and any manufacturer’s cell phones. Transfer to finance department, secretaries, assistants & associates.  Use your cell to page anyone back at your office, ask them to call your extension # and receive that intercom call on your cell phone wherever you are.</p>
<p align="center">Maintain and retain control of DID numbers assigned to your company which can then be directed to any cell phone.  This allows a permanent base of cell phone numbers for your personnel including full time, part time and even temporary/permanent independent contractors.</p>
<p align="center">Meet-me-paging and make page announcements over your cell phone.</p>
<p>For quality assurance purposes, all Direct Inward Dial Calls (DID) can be automatically recorded whether they end up at an internal extension or on a cell phone. </p>
<p> </p>
<p><font size="5">                             The Memphis Business Journal </font><br>
  </p>
<p><font size="5">                        <img alt="" title="" src="/images/JimmyStewart.jpg" height="900" width="800"> </font><br>
  </p>
<p align="center"> </p></td></tr>
<tr>
<td class="block" height="37" valign="top" width="595"> </td></tr></tbody></table></td>
<td height="566" valign="top" width="5"><br>
</td></tr></tbody></table></td></tr>
<tr>
<td height="73" valign="top" width="766">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="73" valign="top" width="5"><br>
</td>
<td style="background-image: url('images/bottom.gif')" class="footer" height="73" valign="top" width="755">
<div style="margin: 19px 0pt 0pt 40px">cstdinc.com © 2006 | <a href="index-6.html">Privacy Policy</a></div></td>
<td height="73" valign="top" width="6"><br>
</td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table>
</body>
</html>

I've removed this part (originally in your code):

<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer"><!--[if !IE]> <-->FAIL (the browser should render some flash content, not this).</object><!----> <!--[endif]-->


Hope it helps.