Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 09:18 pm EST
Geeklog Forums
Using one of those cool little java menus..
Anonymous
Anonymous
I am using the Menu Plugin which I really like but I want to be able to add something a little more dynamic.
Would one of these cool little java applets work inside a Geeklog Block? The kind which expand and contract, or blow sub menus out the side?
Thanks..
15
13
Quote
Anonymous
Anonymous
Well, my first test failed. The block didn't produce errors, it just didn't show anything. Do I need to add something to the config.php to allow javascript inside a block?
13
12
Quote
Status: offline
alinford
Forum User
Regular Poster
Registered: 01/06/03
Posts: 96
Status: offline
rawdata
Forum User
Full Member
Registered: 02/17/03
Posts: 236
Oh, you mean javascript. That's a different beast -- it isn't compiled. As far as I know, Geeklog filters this out so it can't be used inside blocks.
There's probably a way around it. I'll see if I can figure it out but this is a dangerous capability which you shouldn't give to others because they could royally screw up your entire site and all your data. In the meantime check out ailford's page. He's got one working on top of a block, but it gives the same effect.
12
15
Quote
Status: offline
rawdata
Forum User
Full Member
Registered: 02/17/03
Posts: 236
I take back what I said here. I just tried it out, and Javascript works fine in blocks too. What doesn't work are the onXXXX events which is probably why you're having problems with the menu script. Apparently, these events were purposely disabled because of cross-script security vulnerabilities. I think it's best they be left disabled because otherwise you'll be opening your site to security holes. Alinford has a good workaround...use that.
10
16
Quote
Status: offline
Chalkhillian
Forum User
Chatty
Registered: 09/23/02
Posts: 67
Javascript and Java both work ok. Try java from a staticpage at Lake Applet and javascript on Curran Family Home where javascript is used in the 'Make Yourself at Home' block where it will use javascript to add the site to your favourites list.
14
13
Quote
All times are EST. The time is now 09:18 pm.
- 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