NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 27, 2020, 05:33:48 AM

Title: How to use a different busy.gif for each proc
Post by: Alberto on May 27, 2020, 05:33:48 AM
Hi,
Ive change the nt-busy class to use a different busy.gif centered.
If a proc takes a time to load a centered bigger gif is ok but thare are procs that loads almost inmediatly and a big gif is not ok, in that cases I need to use a smaller one and change its position not to be in the middle of the scrren.
How do I set a diffrent gif and position for a Form or Browse proc using CSS? or any other way.
Thanks
Title: Re: How to use a different busy.gif for each proc
Post by: Jane on May 27, 2020, 06:53:14 PM
?? Maybe you could tweak the value of p_web.site.BusyImage to use the graphic you want in each case?
Title: Re: How to use a different busy.gif for each proc
Post by: Alberto on May 28, 2020, 04:12:34 AM
Thanks Jane, it works, Im doing:

IF INLIST(self.pagename,'mRuteoEntregas','mEcommers','uPedidoWeb')
    p_web.site.BusyImage = '/images/_busy_orig.gif'
ELSE
    p_web.site.BusyImage = '/images/_busy.gif'
END   

Now, how to deal with its position?
Title: Re: How to use a different busy.gif for each proc
Post by: miasoft on June 01, 2020, 09:02:46 PM
Where is embbed point?

Thanks Jane, it works, Im doing:

IF INLIST(self.pagename,'mRuteoEntregas','mEcommers','uPedidoWeb')
    p_web.site.BusyImage = '/images/_busy_orig.gif'
ELSE
    p_web.site.BusyImage = '/images/_busy.gif'
END   

Now, how to deal with its position?
Title: Re: How to use a different busy.gif for each proc
Post by: Alberto on June 02, 2020, 03:59:20 AM
ProcessLink