While in developer mode on my site, I went to the “FORUM page code” and added some code that should work depending on the event. It works fine on other computers but on the computer that we have to use, the Javascript functions’ exporting fails thus the code that should execute doesn’t. I realized that even though the custom code doesn’t export, the javascript embedded with the actual site (like the preset animations and such) work fine. Is there is a way around having to use the Javascript in the website’s FORUM Page Code, such as having it in an HTML element or something? (I know the javascript code isn’t incorrect - it just doesn’t export to the browser correctly.)
Code:
export function text4_click(event) {
if ($w(‘#text5’).collapsed) {
$w(‘#text5’).expand();
} else {
$w(‘#text5’).collapse();
}
}
export function text4_mouseIn(event) {
$w(‘#text4’).html = “<p class="p1" style="font-size:24px; text-align:center"><span style="font-weight:bold;"><span style="font-family:times new roman,times,serif"><span style="font-size:24px"><span class="color_20">Signing Up
}
export function text4_mouseOut(event) {
$w(‘#text4’).html = “<p class="p1" style="font-size:24px; text-align:center"><span style="font-family:times new roman,times,serif"><span style="font-size:24px"><span class="color_20">Signing Up”;
}