
Contents tagged with cms
-
JavaScript and Activesoftswitch CMS
Introduction
JavaScript is a web development language which affects the DOM (Document Object Model) of a web page. It allows you to control and style the client-side HTML.
There are two ways you can use JavaScript within AS. The first is to use "vanilla" (original) JavaScript and the second is to use a library/extension of JavaScript called JQuery. Through this article, there will be a mixture of both vanilla JavaScript and JQuery. JQuery makes it easier …
Read more -
You can add CSS to a specific page or apply it globally and it depends on the use case of where to apply it. To apply it to a specific page you edit the page in AS and you have two boxes, one for CSS and one for JS. You may do this for example if you want to move the position of an element when it is on Mobile only, as sometimes navigation bars, images, or other content can be moved when the device size is scaled either up or down. the code used would be something to the effect of:
@media (max- …
Read more