[Koha] Multiple Statements
Fridolin SOMERS
fridolin.somers at biblibre.com
Wed Aug 13 03:36:07 NZST 2014
You can just write all statements in opacuserjs, no problem.
Yet it is better to have only one $(document).ready() call to manage the
oder of execution.
Best regards,
Le 10/08/2014 10:07, Chrispin Simasiku Sitali a écrit :
> Greetings to all,
>
> How would I add multiple statements in opacuserjs. e.g.
>
> $(document).ready(function(){
> $("#auth legend:contains('Log in to your account')").text("Log in to your
> library account");
> $("#auth label[for='userid']").html("Library Card Number:");
> $("#auth label[for='password']").html("PIN:");
> });
>
>
> $(document).ready(function(){
> var holdlinks = $("a:contains('Place Hold'),a:contains('Place hold')");
> $(holdlinks).text("Get It Now!");
> });
> $(window).load(function(){
> $("input[value='Place Hold']").attr("value","Get It Now!");
>
>
>
>
> $(document).ready(function(){
> $("a:contains('Browse Shelf')").text("See Similar Items");
> });
>
> Please help. Teaching myself all this!
>
> Sitali Chrispin Simasiku
>
--
Fridolin SOMERS
Biblibre - Pôles support et système
fridolin.somers at biblibre.com
More information about the Koha
mailing list