What's wrong with this code?

Hi

I have created the following HTML code in DreamWeaver for local weather using Wunderground.com/weathermaps/. When I preview it in browser from DreamWeaver it works fine. But when I try to launch the weather.html file from the server/folder that it’s stored in - my results are a blank screen with x in upper left hand corner. URL = http://websrv-07/weather.html

I think it may have something to do with this line of code.
<param name=“flashvars” value=“http://www.wunderground.com/wundermap/?lat=35.78179&lon=-78.60454”; />
Does anyone have any suggestions?

Thanks

<!doctype html>
<html>
<head>
<meta charset=utf-8">
<title>Local Weather</title>
</head>
<body>

<object width="1920" height="1080" id="_08378221" data="http://www.wunderground.com/wundermap/?lat=35.78179&lon=-78.60454
type="application/x-shockwave-flash" />

<param name="movie" value="http://www.wunderground.com/wundermap/?lat=35.78179&lon=-78.60454 type="application/x-shockwave-flash" />

<param name="allowscriptaccess" value="always" />

<param name="autoStart" value="1" />

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

<param name="bgcolor" value="#000000" />

<param name="index" value="-1" />

<param name="flashvars" value="http://www.wunderground.com/wundermap/?lat=35.78179&lon=-78.60454"; />

</object>

</body>

</html>

Hello,

Here is another update, I made quite a few code changes and basically am down to a few lines of code, see attached.

I’m able to preview my file in Dreamweaver, and open the file directly from the server. However, when I attempt to open the code in the URL = http://websrv-07/weather.html the screen remains black. Any thoughts on this?
Thanks…



<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!--"This image courtesy of Weather Underground"-->
<title>Local Weather</title>
</head>
<body>

<object width="1920" height="1080" id="_08378221" data="http://www.wunderground.com/wundermap/?lat=35.78179&amp;lon=-78.60454" >

<param name="flashvars" value='http://www.wunderground.com/wundermap/ lat=35.78179 & lon=-78.60454'>

</object>

</body>

</html>

You need to identify the host (or IP address) of your server.
http://websrv-07/weather.html is not a valid address. Perhaps it is a local server but NOT visible on the Internet.

Let me test my understanding here and try to explain my situation in more detail. In a different scenario I would upload my html files to a service provider such as goDaddy and then access the files from my browser.

For this particular situation I have created an html file that will give me the weather for a specific area. The file itself resides within my internal server which has Xampp installed. My intention is to upload the weather.html file on a Digital Siganage server (again internal).

Sooo with that in mind how can I go about identifying my local server so that the file can use the information provided in my weather.html file? Is there a particular line that I add within my weather.html file for the local Xampp server ip?

I hope that makes sense.

anyone?

Have you tried navigating to http://localhost/weather.html? Or maybe http://127.0.0.1/weather.html?

yes, it works in Google Chrome, FireFox and Safari but not in IE. Go figure I need it to work in IE.

I found this info online and it has worked for other HTML files but for some reason its not working now. Did IE change something again regarding HTML5?

There is a handy script on Google Code called “HTML Shiv” that will help IE recognize HTML 5 elements. So in the <head> of your HTML document you want to reference it. It’s best to enclose it in IE conditional comments so that other browsers aren’t confused:

<!–[if IE]>
<script src=“http://html5shiv.googlecode.com/svn/trunk/html5.js”></script>
<![endif]–>