The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Portal edition

Go down

Portal edition Empty Portal edition

Post by CriticalStrike December 1st 2008, 2:07 pm

How can I insert javascript in the body of my portal and forum index or for entire website? I want to make my website snowing for X-mas Wink
CriticalStrike
CriticalStrike
Forumember

Male Posts : 32
Reputation : 0
Language : Bulgarian, English

http://tnca.all-up.com / www.l2tnca.com

Back to top Go down

Portal edition Empty Re: Portal edition

Post by Guest December 1st 2008, 6:05 pm

The best way to do this is to host your Javascript on a file hosting service and use a script code in the "Site Description"

1. Host your script on a file hosting service

2. Navigate to:

Admin Panel\General\Configuration

3. Add the following code with your link to the "Site Description" and press "Save"

Code:
<script type="text/javascript" src="filepath/filename.js"></script>

This should display the snow code across the entire site Smile

Regards








Craig
avatar
Guest
Guest


Back to top Go down

Portal edition Empty Re: Portal edition

Post by CriticalStrike December 1st 2008, 11:01 pm

Thanks a lot. It works good for Opera, but for Mozilla I just see one little flake at the place where should Site Description be. I tested that JavaScript on another HTML page and it worked just fine.
CriticalStrike
CriticalStrike
Forumember

Male Posts : 32
Reputation : 0
Language : Bulgarian, English

http://tnca.all-up.com / www.l2tnca.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum