Log in

View Full Version : Adding things into <head> from postbit


j0rd
02-28-2007, 02:45 AM
I would like to add some JS into the <head> for a body.onload function. The data in the onload is created in the postbit.

Is this possible? If not, how should i be going about achieving this?

Princeton
02-28-2007, 02:48 AM
you can add the javascript to the headinclude template

http://www.vbulletin.com/docs/html/stylemanager_add_template

j0rd
02-28-2007, 03:06 AM
how do i iterate through the posts in headinclude? the only var i know of is $post is there a $posts array variable or something?