Forum Moderators: open

Message Too Old, No Replies

Scroll AD Problem

i Can't Make IT WORK.. Please HELP Me.

         

Mogadishu

5:08 pm on May 5, 2006 (gmt 0)

10+ Year Member



HY! I Wish to put This on my WebSite:
http://javascript.about.com/library/blscroll.htm

But I Can't Make It Work...
I Also Wish to put ADS On the Scroller ad.

Please Help me At This...
So If i have this HTML code (Empty) What do I have to put on <head> And on <body> tag?

<html>
<head>

</head>
<body>

</body>
</html>

Thank you All in Advence!

Fotiman

6:38 pm on May 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Posting URLs is not permitted (see the Terms of Service).

In addition, the URL you posted contains step by step directions for what to do.

Mohamed

6:49 pm on May 5, 2006 (gmt 0)

10+ Year Member



Bro Mogadisho,
If you want to use it for google adsense it is against the TOS, therefore you will get booted(banned) from google adsense. so don't use it.

instructions of how to place scrolling add in to your page is very clear, but let me try it again.

1.create CSS file called scroll.css and put this code in the file

#mainAd{border:solid 1px #666666; width:220px;
background-color:#ffccff;padding:2px; position:absolute;
left:0px; top:300px; z-index:999;}

2. place this code between <head> here </head>

<script src="scroll.js" language="JavaScript"
type="text/javascript">
</script>
<link rel="stylesheet" href="scroll.css" type="text/css" />

3.place this code anywhere in your page before closing tag of the body </body>

<script language="JavaScript" type="text/javascript">
displayAd('<div align="left"><b>The text for your ad goes
continued from previous line here.<br />Do you think your visitors will
continued from previous line notice this?</b></div>',10);
</script>
.

and lastly welcome to webmasterworld forum and respect TOS.

Mohamed

Fotiman

7:10 pm on May 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




<script src="scroll.js" language="JavaScript"
type="text/javascript">
</script>


<script language="JavaScript" type="text/javascript">

The language attribute is depreciated, so you should leave that part out.


displayAd('<div align="left"><b>The text for your ad goes
continued from previous line here.<br />Do you think your visitors will
continued from previous line notice this?</b></div>',10);

The /'s in the example above should be escaped. As in:

displayAd('<div align="left"><b>The text for your ad goes
continued from previous line here.<br \/>Do you think your visitors will
continued from previous line notice this?<\/b><\/div>',10);

Also, that's using the <b></b> element, which is not depreciated, but it's use is discouraged in favor of style sheets [w3.org].

Mogadishu

10:32 pm on May 5, 2006 (gmt 0)

10+ Year Member



Thamk you All for Helping me!
PS: too bad coz google dosen't allow this :( ...

Mogadishu

12:58 pm on May 13, 2006 (gmt 0)

10+ Year Member



:( .. I can't Do This.. I Do Everything is writed there but Still don't Work..
Please Someone HELP me... :((

Thank You Guys In Advence!