PDA

View Full Version : Including JAVA script at the top of every VB page


cybervate
02-25-2002, 11:48 AM
The Java Menu system I use on my website requires that each page displayed in the bottom frame, has some java script included just under the HTML <BODY> tag.

I've done this for all of my ASP pages, but don't have a clue how it's done in PHP.

Is there only place I can place the code which is included in all VBulletin pages and what would the syntax look like.

Hope someone out there can help, I've become a big Vbulletin fan !

Jason.
:D

Admin
02-25-2002, 12:24 PM
cybervate, please go to this (http://www.vbulletin.com/members/vbulletin.org.php) page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.

cybervate
02-25-2002, 12:27 PM
Originally posted by FireFly
cybervate, please go to this (http://www.vbulletin.com/members/vbulletin.org.php) page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.

Admin
02-25-2002, 12:29 PM
Thanks! :)

You can place your code in the header template, which appears in all vBulletin pages right below the <body> tag.

cybervate
02-28-2002, 09:13 AM
Originally posted by FireFly
Thanks! :)

You can place your code in the header template, which appears in all vBulletin pages right below the <body> tag.

This HEADERS template? is the code for this in the global.php file and if it is, exactly where should I insert my <script></script> code (JavaScript to be exact).

Between you and me, only you know the answer to this.

Cheers

Jason. :D

Admin
02-28-2002, 10:02 AM
Go to your Admin CP => Templates => Modify => [expand set] => Header [change original].