1
Tiwahe
Javascript.....
  • 2004/6/22 1:17

  • Tiwahe

  • Just popping in

  • Posts: 18

  • Since: 2004/6/20


Is there a way to insert a javascript? The reason I ask is...I want to make it so when users click on a link in on of my sections, use javascript to set the size of the new window to open with no scool bars and buttons etc.

Thx in advance.

2
ilRomano
Re: Javascript.....
  • 2004/6/22 9:42

  • ilRomano

  • Just popping in

  • Posts: 5

  • Since: 2004/6/22


You can try to insert js into template which implements the section.
Which module are you using?

If you are using section you must find in index.php (section modules) the right line and then modify the html to insert your js. I think it is quite simple.

Hi
ilromano

3
Mithrandir
Re: Javascript.....

If all you need to do is open a pop-up window of a fixed size etc. you can use the ever-present XOOPS JavaScript function openWithSelfMain() - you can see in e.g. the site info block how it is done in order to PM a webmaster and modify it to suit your needs.

Login

Who's Online

149 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

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

Latest GitHub Commits