Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
User avatar
RSBasic
 
Posts: 35
Joined: Mon Oct 15, 2018 1:17 pm
Location: Berlin

Add CSS style tag

by RSBasic Mon Oct 15, 2018 1:41 pm

Hello,

I want to be able to add my own CSS rules without Javascript.

A function for passing CSS rules would be required.
Example:
Code: Select all
EnableExplicit

Define Rules.s

Rules + ".MyClass { color: #ff0000; }"

AddCSSRules(Rules)


Result:
Code: Select all
<head>
...
<style type="text/css">
.MyClass { color: #ff0000; }
</style>
...
</head>


The function "AddCSSRules()" is only an example. The function can also be named differently.

Or if it is possible, introduce a CSS rule with a character. As for example with Javascript with the character "!".
ImageImageImageImageImage
Return to Feature Requests and Wishlists

Who is online

Users browsing this forum: No registered users and 2 guests