FP gobbles up Amazon's advertisment code !

G

Guest

I was trying to add a html code provided by Amazon. When I copy it to the
html document it looks fine.

But the moment I save it - half of the codes go missing !!!. The remaining
one is mutilated at different places !!!

This is the Amazon code -

<form method="POST"
action="http://buybox.amazon.com/o/dt/assoc/handle-buy-box=0486200701">
<input type="hidden" name="asin.0486200701" value="1">
<input type="hidden" name="tag-value" value="kentheteamanc-20">
<input type="hidden" name="tag_value" value="kentheteamanc-20">
<input type="image" name="submit.add-to-cart" value="Buy from Amazon.com"
border="0" alt="Buy from Amazon.com"
src="http://rcm-images.amazon.com/images/G/01/associates/add-to-cart.gif">
</form>

This is what remains after 'saving' -

<input type="hidden" name="asin.0486200701" value="1">
<input type="hidden" name="tag-value" value="kentheteamanc-20">
<input type="hidden" name="tag_value" value="kentheteamanc-20">
<p>
<input type="image" name="submit.add-to-cart" value="Buy from Amazon.com"
border="0" alt="Buy from Amazon.com"
src="http://rcm-images.amazon.com/images/G/01/associates/add-to-cart.gif"
width="158" height="20">
</p>

I asked Amazon but they didn't know the answer.

Can some help me out.

regards,
ken
 
K

Kathleen Anderson [MVP - FrontPage]

Try copying it into Notepad first, and then from Notepad into your page (in
Code view).
 
C

Chris Leeds, MVP-FrontPage

safest way to add stuff like this to a page:
copy the other site's code to your clipboard, set your cursor where you want
to deposit it in the page, hit insert/web component/ advanced control/ html
(paste it into that dialog box).
this will give you a visual reference in the page and protect it from
FrontPage trying to "fix" it.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
G

Guest

Kathleen,

Thank you.
I tried to do it that way but it still didn't work.

Chris,

I tried your suggestion and it worked. This way the code doesn't get
mutilated or altered.

Thank you

regards,
ken.
 
C

Chris Leeds, MVP-FrontPage

it's also nice if you need to change it because when you double click it's
representation in design view it'll pop up that dialog box where you can
easily edit just that block of code without getting lost in the code of the
entire page.

Glad it worked for you!

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top