1
boumbo
Can we add javascript code in a Xoops page?
  • 2006/12/12 23:20

  • boumbo

  • Just popping in

  • Posts: 37

  • Since: 2006/9/25


Hi Everyone,

Can we add javascript code inside a XOOPS page?

I am trying to run a javascript script inside a datasheet section in XOOPS, but the javascript doesn't respond.

you can view an example of what I am trying to achieve here:
(click on the tab and it will change the css using javascript)

http://www.psaad.com/temp/tabs_test1.html

But in XOOPS the javascript code doesn't run:

http://www.minacom.com/modules/minaweb/index.php?command=defaultPage&operation=displayDataSheet&id=422

Is there a way to have javascript run on a XOOPS page?

Thanks.

2
Pakaj
Re: Can we add javascript code in a Xoops page?
  • 2006/12/13 7:58

  • Pakaj

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/5/5 6


Try to do this:

1. copy your java script file ex. myjava.js into "include" folder of XOOPS (http://www.mysite.com/include/)

2. in your theme script(theme.html) add this line in head section of your theme


It should work

3
boumbo
Re: Can we add javascript code in a Xoops page?
  • 2006/12/13 14:54

  • boumbo

  • Just popping in

  • Posts: 37

  • Since: 2006/9/25


Thanks for your prompt reply.

I'll give it a try and let you know how it went.

Login

Who's Online

325 user(s) are online (287 user(s) are browsing Support Forums)


Members: 0


Guests: 325


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits