Page 1 of 1
Scrolling a chain of character from right to left on Nagvis
Posted: Tue Mar 08, 2016 4:34 am
by Athanor027
Hello,
I look for a way to make parade (scrolling) a chain of character from right to left on Nagvis.
Would you have an idea?
I thank you for it a lot
Best Regards
Re: Scrolling a chain of character from right to left on Nag
Posted: Tue Mar 08, 2016 5:17 am
by nozlaf
Hello again friend
you can probably do this using containers in nagvis
http://docs.nagvis.org/1.8/en_US/map_co ... #container
i've never done it
Re: Scrolling a chain of character from right to left on Nag
Posted: Tue Mar 08, 2016 9:43 am
by Athanor027
Hello,
Thank you very much.
Yes, it is necessary to create a container and to create a file php in the directory:
. /nagvis/share/userfiles/scripts
Here is the script:
<marquee direction="left"> Eh! Je suis un texte qui déle vers à auche</marquee>
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="left">Eh! Je suis un texte qui déle vers à auche</marquee>
The first text does not stop and the second stops with the mouse.
Now I try to increase the size of the characters.
Re: Scrolling a chain of character from right to left on Nag
Posted: Tue Mar 08, 2016 2:39 pm
by tmcdonald
Thank you
@nozlaf for the response!
Since this is somewhat of a mix between NagVis and general HTML/Javascript, I'd prefer if we closed the thread being as Nagios Core is not being discussed. There are excellent forums for both NagVis and general web development that would be better suited for these sorts of things:
http://www.nagvis.org/support
http://forums.htmlhelp.com/
Re: Scrolling a chain of character from right to left on Nag
Posted: Fri Apr 01, 2016 2:54 am
by Athanor027
Hello,
Thank you very much for the information.
Best Regards,
Re: Scrolling a chain of character from right to left on Nag
Posted: Fri Apr 01, 2016 9:13 am
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!