Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Include javascript in subheader_includes.php

Asked Modified Viewed 3,472 times
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
  • Started this discussions
asked
Member

I was wondering what was the best way to include a javascript in my subheader_includes.php file..
The moment i include a script there the layout of sertain pages isn't correct anymore.

Example: http://www.movieparadiseonline.com/pr...p?lookup=1

Like in my profile most of the content is pushed to the left but it's also in a couple of other pages like photogallery etc..
0 replies

4 posts

M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

If you want to include a script on every page, you best include it in ../templates/header.php (and possibly also admin_header.php and/or admin_header_mce.hph). Just add it after the jquery.js include.
0 replies
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
  • Started this discussions
answered
Member

Ok thanks for the tip Paul it works now wink
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

This should be in PHPFusion 7 support forum.
0 replies
J
Josso
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

Moved! :)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

M
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
P
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
  • Started this discussions
J
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
G
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet