koha-bugs
[Top][All Lists]
Advanced

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

[Koha-bugs] [Bug 561] Javascript link doesn't work


From: bugzilla-daemon
Subject: [Koha-bugs] [Bug 561] Javascript link doesn't work
Date: 6 Aug 2003 11:19:41 -0000

http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=561

address@hidden changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All



------- Additional Comments From address@hidden  2003-08-06 23:19 -------
The javascript function name is 'openwindow', but is referred to in the body of 
the document as 'openWindow'.  Since it's case-sensitive, this doesn't work.

Other suggestions:  Move the javascript inside the <head> of the document, and 
instead of this syntax:

<a href="Javascript:openWindow('/cgi-bin/koha/moremember.pl?
bornum=100000','Member')">V000001</a>

Use this:

<a href="/cgi-bin/koha/moremember.pl?bornum=100000" onclick="openwindow('/cgi-
bin/koha/moremember.pl?bornum=100000','Member'); return false;">V000001</a>

This method will give javascript-enabled browsers the pop-up window, but will 
act as a normal link for browsers with javascript turned off (or with no 
javascript support).



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



reply via email to

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