TinyPortal

Development => Support => Topic started by: wildpark on January 26, 2011, 06:52:34 PM

Title: Problem with Javascript
Post by: wildpark on January 26, 2011, 06:52:34 PM
Hey,

i have a problem with a javascript code, if i copy the code by the Block menu under HTML and Javascript Code. the box will be empty, and if i edit this, the code was removed. Its a News Ticker. Here the Code.

<SCRIPT LANGUAGE="Javascript">
var SMM_TICKER_FONT_COLOR="#000000";
var SMM_TICKER_BG_COLOR="#F5F5F5";
var SMM_TICKER_FONT="Arial";
var SMM_TICKER_RESSORT="";
var SMM_TICKER_HOVER_UNDERLINE="none";
var SMM_TICKER_LINK_UNDERLINE="none";
var SMM_TICKER_FONTBOLD="normal";
var SMM_TICKER_WIDTH=150;
var SMM_TICKER_HEIGHT=200;
var SMM_TICKER_FONT_SIZE=12;
var SMM_TICKER_SPEED=40;
var SMM_TICKER_HOVER_STOP=1;
var SMM_TICKER_TRANSPARENT=0;
var SMM_TICKER_BORDER_COLOR="#d5d5d5";
var SMM_TICKER_BORDER_WIDTH=1;
var SMM_TICKER_BORDER_STYLE="solid";
var SMM_TICKER_BORDER_VISIBLE="0";
var SCN_HEADLINES_LOCATION="";
</SCRIPT><noscript><a href="http://www.sportal.de" target="_blank">www.sportal.de</a></noscript>

<SCRIPT LANGUAGE="JavaScript" src="http://www.sportal.de/content/js/sportnews_ticker.js"></SCRIPT>

Any idea?
Thank you for Help.
Title: Re: Problem with Javascript
Post by: Freddy on January 26, 2011, 08:36:51 PM
Please read the Posting Guidelines (http://www.tinyportal.net/index.php?topic=581)
Title: Re: Problem with Javascript
Post by: ZarPrime on January 26, 2011, 08:37:26 PM
Hello wildpark,

Welcome to the TP Support Site.

Please read the Posting Guidelines (http://www.tinyportal.net/index.php?topic=581)

In that post, you find the information we need in order to help you, specifically ...


Link to my site: http://www.yourdomain.com
SMF version: SMF ver. here
TP version: TP ver. here
Default Forum Language: Your Default Forum Language here
Theme name and version: Theme name here
Browser Name and Version: Browser name/version here
Mods installed: Mods listed here
Related Error messages: Error message here

ZarPrime

Edit: Well, Freddy beat me to it. ^-^