PDA

View Full Version : jave script in php !!!


ErrOr
26 Nov 2001, 19:37
hello


i have this java script:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



i think you know what it does,, any way it used to color the words so it looks like a visual basic code,, just like [ php ] tag..
now i wsant to use this in my forums,, how and where should i add this??

thanx

Gimp
16 Dec 2001, 18:25
i dont exactly understand what you want to do but u can use javascript just like u would use it in html

damicatz
16 Dec 2001, 18:38
I took a look at your code. Correct me if I'm wrong, this code searchs for things between the tag code in brackets right? If so you would only have to put it in your showthread template.

Be aware that since your using Client Side vbScript and not Javascript that as far as I know your code will only work in Internet Explorer.