Jump to content

Set  TUniHTMLFrame on Bakground of Loginform


Ario.Paxaz

Recommended Posts

3 hours ago, Артем said:

Trouble in this code, because if not write him, animation created on all MainForm and outher components are not visible...

I don't fully understand your case.
Sorry, but as the saying goes, the right question is half the answer. :) 
I'm sorry for my misunderstanding.

Link to comment
Share on other sites

  • 10 months later...
On 1/18/2022 at 11:25 AM, Sherzod said:

Hello,

Try this approach.

1. CustomFiles:

files/particles.css
files/particles.js

2. Create a json file (particles.json) in the files folder, this is the settings file, like this for example:

https://github.com/VincentGarreau/particles.js/blob/master/demo/particles.json

3. UniLoginForm.Script:

particlesJS.load('body', 'files/particles.json', function() {
  console.log('callback - particles.js config loaded');
});

4. MainForm.Script:

document.querySelector('.particles-js-canvas-el').remove();

 

 

On 1/17/2022 at 5:47 PM, Sherzod said:

image.thumb.png.0bbaadb067a97d445922cfa73a74fd3d.png

Can you post your example here? 
For some reason, a window with animation appears and immediately disappears when UniLoginForm opens.
I would check with your example.

Link to comment
Share on other sites

1. You need to add these files to your files folder:

https://raw.githubusercontent.com/VincentGarreau/particles.js/master/demo/css/style.css
https://raw.githubusercontent.com/VincentGarreau/particles.js/master/particles.js
https://raw.githubusercontent.com/VincentGarreau/particles.js/master/demo/particles.json

2. Include these two files in CustomFiles:

image.png.1227aa87347e508d3fd867f2004e831c.png

37 minutes ago, artem_niko said:

3. UniLoginForm.Script:

particlesJS.load('body', 'files/particles.json', function() {
  console.log('callback - particles.js config loaded');
});

4. MainForm.Script:

document.querySelector('.particles-js-canvas-el').remove();

 

  • Like 1
Link to comment
Share on other sites

4 minutes ago, Sherzod said:

I just checked with a standard demo and it works.

So... If it's worked on me, if it worked for me, then I wouldn't ask for your example to compare the code. I don't have something that would interfere with the work of this animation, I haven't found one

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...