Re: [Koha] using javascript functions with koha

2014-03-04 Thread Owen Leonard
You still haven't told us exactly what you're trying to do, but you'll find that all this code works exactly as you expect it to if you plug it into the right preferences: The JavaScript goes into opacuserjs The CSS goes into OPACUserCSS The HTML can go into OpacMainUserBlock At the very least yo

Re: [Koha] using javascript functions with koha

2014-03-03 Thread Owen Leonard
> Unfortunately I cam not sure where I can place them as the 'opacuserjs' only > accepts javascript embedded in: > > $(document).ready(function(){}); That isn't true. The opacuserjs preference accepts any kind of inline JavaScript you want to put in it. Anything which would normally be included in