[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Re: MathAction book links

From: Bill Page
Subject: [Axiom-developer] Re: MathAction book links
Date: Mon, 5 May 2008 11:53:34 -0400

On Mon, May 5, 2008 at 11:12 AM, Martin Rubey wrote:
> ...
> Bill Page wrote:
>> This link works for me in both Microsoft Explorer and in Firefox on
>> Windows and Linux. Perhaps this a problem with Konqueror? Do
>> you see any problem with the HTML code that is generated for the
>> download page?
> I guess the code in question is the following:
> <form action="mirrors">
> <a href=""; 
> class="hover-red">
> <input type="button" name="Continue" value="Continue Download (USA)" 
> class="hover-red"
> onclick='window.location.href ="<a 
> href="";></a>";'
>  /></a>
> <a href=""; class="hover-red">
> <input type="button" name="Continue" value="Continue Download (Europe)" 
> class="hover-blue"
> onclick='window.location.href ="<a 
> href="";></a>";'
>  /></a>
> <a href="/public/donate.html" class="hover-red">
> <input type="button" name="Donate" value="Donate Funds" class="hover-red"
> onclick='window.location.href ="/public/book2.pdf";'/></a>
> </form>
> Interestingly, when I click "Donate", download begins immediately (even in
> Konqueror).

This HTML code is definitely screwed up. It also appears this way when
I view the source in FireFox. Inspite of that it does appear to do the
"right thing" in FireFox.

This javascript is wrong:

  onclick='window.location.href ="<a

It should be:


Similarly, there should be no "onclick" in the donate button. It
should not download the book. When you click on
Donate you are supposed to end up on this page:

Something is going wrong in the generation of the HTML code from the
Zope DTML template. I will investigate and let you know when I have
corrected the problem.

Bill Page.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]