Page 1 of 1

external javascript - loading animation

Posted: Wed Sep 28, 2011 8:24 am
by t.s.h
On some screens I would like to use my own loading animation gif.
After a little bit research, I added the following JS to my "external javascript".
Works fine so far, but is there a possibility to change the size of the icon?
It will displayed with 16x16, also when the gif itself has a size of 32x32.

Code: Select all

pui["loading animation"]={};
pui["loading animation"].path="/profoundui/userdata/images/mc/mc-loading.gif";
pui["loading animation"].left=575;
pui["loading animation"].top=362;
have someone a solution for this?

Thanks,
Thorsten

Re: external javascript - loading animation

Posted: Wed Sep 28, 2011 11:48 am
by Brian
We will have a new release coming out in the next few days. We will add new properties for width and height to pui["loading animation"]

I think this will get you what you need.

Re: external javascript - loading animation

Posted: Thu Nov 12, 2015 10:07 am
by acimbal
is it posible to use relative positions?

Re: external javascript - loading animation

Posted: Fri Nov 13, 2015 6:46 am
by Scott Klement
You want to use a relative position for the loading animation? I don't think we have an option for that, but I guess we could put in a feature request.

What would you make it relative to?