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,004
  • Total Topics: 21,330
  • Online today: 219
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 209
  • Total: 209

JavaScripts and articles

Started by marinelife, September 11, 2006, 03:36:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

marinelife

Can JavaScripts be done in artcles, I have some blocks that are Javascripts that I want to make articles instead but the Javascript does not show, am I missing something

G6Cad

Not in an article, but you can create a html/scriptblock to show in the center of your forum

marinelife

That is what I have not but I was hoping to did it with articles, thanks for the answer

IchBin

You can put javascript/html into an article. The way I like to do it is to create the file in an html file and then include it with PHP.

include('/path/to/the/file.html');

marinelife

#4
Ichbin thanks that worked, Can a scroll bar be made for an article for those with low resolution settings

IchBin

That probably depends on your content. You should be able to put everything in a div and set the scrolling option.

marinelife

Ok thanks I will play around with it some more

This website is proudly hosted on Crocweb Cloud Website Hosting.