Jump to content
UBot Underground

[Sell] Ubot Beyond The Basics Course - Take Your Ubotting To The Next Level


Recommended Posts

I need make it how in html.

<link rel="stylesheet" href="bot_directory/plugins/cool.css">

<script src="bot_directory/js/cool.min.js"></script>

I need that ui html panel get this files from bot directory.

 

And second.

Can ui html panel gets this files from other server?

For example:

<script src="https://cool.com/libs/cool.js/5.0/cool.min.js"></script>

 

You can host those scripts on a server as per your second example. So like if you wanted to use a Google font you can add in their Javascript remotely. But you can't add in a local script, so if you wanted to use a local script you would just copy the contents of it into the UI HTML Panel.

 

Instead of calling a CSS script locally you can add it in using the style tags like so:

ui html panel("<html>
<head>
<style>
body \{
	background-color: #eeeeee;
\}
</style>
</head>
<body>
</body>
</html>",200)

For JS you can use the <script></script> tags instead.

Link to post
Share on other sites
  • 7 months later...

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.

Loading...
×
×
  • Create New...