Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Apr 2009, 03:20
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Including javascript in headinclude?

To date I have been more of a designer than a coder but I am working on something that's fairly nice.

It's a marquee, (yes another), that uses a js file from dynamic drive. Please see my site for the demo. You can change direction, pause, speed up, etc all by mouse over. Really smooth motion and highly configurable via the admincp.

Anyway, I have to place this in the headinclude template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And if I release this as a mod, I don't want to have people do a template edit. Very basic I am sure, but have no clue what plugin code to write for my xml.
__________________
GTP
Reply With Quote
  #2  
Old 20 Apr 2009, 07:52
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
You can add and modify the $headinclude variable (which is the headinclude template), at global_setup_complete.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:40.

Layout Options | Width: Wide Color: