Topic: How to Insert Javascript Code
How do you properly insert javascript code? where? I want to give my announcement box a rounded shape with jquery. how is that possible?
thanks in advance!
![]()
Unfortunately no one can be told what PunBB is - you have to see it for yourself.
You are not logged in. Please login or register.
How do you properly insert javascript code? where? I want to give my announcement box a rounded shape with jquery. how is that possible?
thanks in advance!
![]()
All javascript code is in js files, and these files are loaded in header of the page.
I want to give my announcement box a rounded shape with jquery.
The best way to do this, I think, is to create a JS function, which will modify the announcement box upon page loading. Examine the code of "<FORUM_ROOT>/include/js/common.js", you will find there an example of attaching an event on page loading.
thanks a lot slavok will checkout the includes.. ![]()
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.