Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Murray432

2 Comments

Sorted by latest first Latest Oldest Best

 

@Tiffany637

Google site clearing inline javascript.

You should use HTML Box (https://support.google.com/sites/answer/2500646?hl=en) for features as hover. Allows you to use custom css and javascript.

Unfortunately, HTML Box content is displayed on page with delay

10% popularity Vote Up Vote Down


 

@Frith620

Although I have not used Google Sites, I believe the problem you are having is that it does not let you add custom CSS?

Having checked Google and finding a "CSS Workaround" I see that while you cannot add custom CSS, you can add custom HTML. Although most people prefer using CSS for styling, you can still add CSS to the attributes in HTML.

For example:

<a href="#"onmouseover="this.style.color='#ffffff';" onmouseout="this.style.color='#000000';" style="color:#000000;">Link</a>


While I have not tested this in Google Sites, I am 90% sure it will work. Unless they do not allow inline Javascript either, in which case I am sorry and there is nothing you can do.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme