Post: [Help Please!]HTML Code Help
10-17-2009, 05:54 PM #1
xBlackhawk
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Hello all.

Here's the code.

Originally posted by another user
<script type="text/javascript" src="swfobject.js"></script><div id="CC7613360">Form Object</div><script type="text/javascript">var so = new SWFObject("let's_talk.swf", "let's_talk.xml", "597", "630", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("wmode", "transparent");so.addParam("FlashVars", "xmlfile=let's_talk.xml&w=597&h=630");so.write("CC 7613360");</script>


I need to have it so it works on a page in my directory, the files for the code are located in "/support/warranties/". I'm trying to get the form to embed on a page called "index-11.html". But everytime I embed the code it says I need to upload the XML documents.

I tried changing the code like this.

Originally posted by another user
<script type="text/javascript" src="/support/warranties/swfobject.js"></script><div id="CC7613360">Form Object</div><script type="text/javascript">var so = new SWFObject("/support/warranties/let's_talk.swf", "/support/warranties/let's_talk.xml", "597", "630", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("wmode", "transparent");so.addParam("FlashVars", "xmlfile=let's_talk.xml&w=597&h=630");so.write("CC 7613360");</script>


It still comes up with an error (Please upload XML Documents), but everything is uploaded.

Any ideas on how I can alter the code to work?

Thanks in advance.
-Blackhawk
10-19-2009, 08:12 AM #2
This isn't really HTML, it's Javascript and which is one of my worst programming languages. In this instance I think you would be best of asking elsewhere (JavaScript/Web Dev Forum), I don't think there are many here that would be able to help you.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo