external javascript - loading animation

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
t.s.h
Profound User
Posts: 31
Joined: Fri Aug 06, 2010 5:18 am
First Name: Thorsten
Last Name: Haas
Company Name: GfK Entertainment
Phone: +49(0)7221/279 921
City: Baden-Baden
State / Province: Outside Canada/USA
Zip / Postal Code: 76530
Country: Germany
Location: Germany
Contact:

external javascript - loading animation

Post 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
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: external javascript - loading animation

Post 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.
acimbal
New User
Posts: 1
Joined: Wed Mar 20, 2013 9:05 am
First Name: Andre
Last Name: Cimbal
Company Name: Dirk Rossmann GmbH
Country: Germany
Contact:

Re: external javascript - loading animation

Post by acimbal »

is it posible to use relative positions?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: external javascript - loading animation

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests