TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,026
  • Total Topics: 21,333
  • Online today: 916
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 324
  • Total: 324

Small question regarding <script src=""></script>

Started by microbone, November 16, 2007, 09:11:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

microbone

Hey there

I´m new to php/tp and have a small question regarding <script src=""></script>!

If I want a functionality from this tag availible all over the site like forum...portal etc where do I have to put this tag then?

Best Regards
bone

Dragooon


microbone

#2
sweet...thnx for the reply Dragooon!

microbone

Another question to this....

Reason for asking is that i´m getting a Template Parse Error!
page after placing the tag....

Where do i need to put the tag?

could i use it like this:
<script src="http://someweb.com/somescript.js"></script>
or do i have to format i like this:
<script language="JavaScript" type="text/javascript" src="http://someweb/somescript.js"></script>

Best Regards
bone

IchBin

Your parse error is probably because you are breaking a php echo statement when you put the code in the template.

www.php.net/echo

microbone


This website is proudly hosted on Crocweb Cloud Website Hosting.