Welcome to Geeklog Tuesday, February 19 2019 @ 07:35 am EST

Geeklog Forums

JavaScript In Blocks


Bill

Anonymous
I have tried several ways to get the javascript to work in the blocks but no luck....all I get is a blank space.

I prefer not to call other files as I would like the javascript to be inserted directly into the block itself. It basically starts as <SCRIPT..... No spaces before as that is the first thing in the block.

Any suggestions on how to get the javascript to work properly would really be appreciated.

Thanks and Happy Thanksgiving

Big Grin

Status: offline

Robin

Forum User
Full Member
Registered: 15/02/02
Posts: 725
Quote by: Bill

Any suggestions on how to get the javascript to work properly would really be appreciated.



Try putting <SCRIPT...> in the header.thtml
Geeklog Polish Support Team

Status: offline

ronack

Forum User
Full Member
Registered: 27/05/03
Posts: 612
Does the script work in a straight HTML page? What GL version, theme and maybe an example of the JS that you are using. Just saying that it doesn't work doesn't work. In order to help you we need more info.

All times are EST. The time is now 07:35 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content