Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 03:34 am EDT

Geeklog Forums

Can I run JavaScript in blocks?


mmsmtp

Anonymous
I would like to have a expanding tree view menu running on one of the blocks but I cannot have it correctly setup. Could JavaScripts in blocks run? Thank you...
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I can't see why not. If the script changes the size of the block, you need to make sure that the entire page is reloaded properly. bye, Dirk
 Quote

Status: offline

isol8

Forum User
Regular Poster
Registered: 05/14/02
Posts: 73
don't know about changing the size of blocks, but I've got java running in some blocks and it works fine.
 Quote

Status: offline

ilir

Forum User
Newbie
Registered: 07/28/02
Posts: 6
really? Because I tried and it does not show anything... according to some of the guys at geeklog it is not working, unless you hack at it.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

As of Geeklog 1.3.5sr2, you can't use the onXXX Javascript events any more because of security concerns (see the 1.3.5sr2 release announcement).

Other than that, Javascript should work fine.

bye, Dirk

 Quote

geeklog-fan

Anonymous
Well, it's not working for me either.. it shows nothing at all.. <script language="JavaScript" src="http://here.goed.the.url.com"></script>
 Quote

Status: offline

Steven

Forum User
Newbie
Registered: 10/13/04
Posts: 10
I'm including JavaScript that puts a list of recent Delphi discussions in a block, but it isn't working. Here's the script:

Text Formatted Code

<script src="http://acx.prospero.com/ll/lldiscussions.js?webtag=THERFL"> </script>


 


The block is empty.

Ideas?
Mechwars Robot Combat Webmaster
www.tcmechwars.com
Fight Robots Not People
 Quote

All times are EDT. The time is now 03:34 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