EPrints Technical Mailing List Archive
Message: #06864
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Black overlay covers half of the webpage
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Black overlay covers half of the webpage
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 27 Sep 2017 09:38:12 +0000
OK - there is something else making the duplicated lightbox. I'm sure this has come up previously on the tech list, but I can't find any mention of it now. In the _javascript_/auto-3.3.15.js file, the following line initiates the lightbox: document.observe('dom:loaded', function () { new Lightbox(); }); Either there is another line also adding a 'new Lightbox();', or somehow the 'dom:loaded' event is being triggered twice. In the screenshot you have the browser development tools open. Do you know how to use this to debug _javascript_? If so, you could try and see what is calling the Lightbox code. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Mitocariu Emilian I have one file [EPRINTS_ROOT]/archives/[ARCHIVEID]/cfg/static/_javascript_/auto/90_local.js, but I'm guessing that comes with eprints, plus the file only contains a comment with some instructions. On Wed, Sep 27, 2017 at 11:30 AM, John Salter <J.Salter@leeds.ac.uk> wrote:
|
- References:
- [EP-tech] Black overlay covers half of the webpage
- From: Mitocariu Emilian <mitocariu.emilian@gmail.com>
- Re: [EP-tech] Black overlay covers half of the webpage
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Black overlay covers half of the webpage
- From: Mitocariu Emilian <mitocariu.emilian@gmail.com>
- [EP-tech] Black overlay covers half of the webpage
- Prev by Date: Re: [EP-tech] Black overlay covers half of the webpage
- Next by Date: Re: [EP-tech] Black overlay covers half of the webpage
- Previous by thread: Re: [EP-tech] Black overlay covers half of the webpage
- Next by thread: Re: [EP-tech] Black overlay covers half of the webpage
- Index(es):