Welcome, Guest. Please login or register.
Did you miss your activation email?
June 19, 2013, 01:10:04 PM

Login with username, password and session length

668959 Posts
71134 Topics
145743 Members

Latest Member: Csicsó

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  General Category
| |-+  How Can I Help Comodo? (Please We Need You!)
| | |-+  Help Spread the Word - Banners and Logos
| | | |-+  Error in Comodo banners script
« previous next »
Pages: [1] Go Down Print
Author Topic: Error in Comodo banners script  (Read 5711 times)
dariovolaric
Comodo Member
**
Offline Offline

Posts: 31



WWW
Error in Comodo banners script
« on: March 21, 2011, 04:34:39 AM »

Hi,

I just wanted to place a Comodo banner on my blog, but it does not seem to work. Upon inspecting the code, it appears that http://www.comodo.com/javascript/banner.js does not exist....

I used the code from http://www.comodo.com/products/banners.php

I uploaded the banner to my website but it does not show...


<img src="[url]http://www.dariovolaric.nl/images/CIS_banner_120x600_1.gif
" border="0" alt="Click Here for 30 day free trial">
[/url]<a href="http://personalfirewall.comodo.com/index.html" id="cnbanner">Comodo Internet Security Pro 2011[/url]
<script language="JavaScript" src="http://www.comodo.com/javascript/banner.js" type="text/javascript"></script>
Logged

The mind makes it real
Valentin N
Malware Research Group
Comodo's Hero
*****
Offline Offline

Posts: 2833


Usability Study Group


WWW
Re: Error in Comodo banners script
« Reply #1 on: March 21, 2011, 05:09:51 AM »

I have seen some mistakes in your codes:

Code:
<img src="http://www.dariovolaric.nl/images/CIS_banner_120x600_1.gif" border="0" alt="Click Here for 30 day free trial" />
<a href="http://personalfirewall.comodo.com/index.html" id="cnbanner">Comodo Internet Security Pro 2011</a>
<script language="JavaScript" src="http://www.comodo.com/javascript/banner.js" type="text/javascript"></script>

in HTML/XHTML you never use [] but <>.

if you get stuck I suggest w3cschools

see if this helps.

Regards,
            Valentin N
« Last Edit: March 21, 2011, 05:24:09 AM by Valentin N » Logged

Skype: comodohelper (Personal)

CEVPN: Valentin N

CIS 5.9

Keep CTM alive by voting

dariovolaric
Comodo Member
**
Offline Offline

Posts: 31



WWW
Re: Error in Comodo banners script
« Reply #2 on: March 21, 2011, 05:42:23 AM »

Hi,

I am aware of this. The [] brackets were not there when I pasted the code. They are added by this forum platform. To prove this, simply copy and paste the code from the website into your post here.
Logged

The mind makes it real
Valentin N
Malware Research Group
Comodo's Hero
*****
Offline Offline

Posts: 2833


Usability Study Group


WWW
Re: Error in Comodo banners script
« Reply #3 on: March 21, 2011, 05:50:49 AM »

did my suggestion help?
Logged

Skype: comodohelper (Personal)

CEVPN: Valentin N

CIS 5.9

Keep CTM alive by voting

dariovolaric
Comodo Member
**
Offline Offline

Posts: 31



WWW
Re: Error in Comodo banners script
« Reply #4 on: March 21, 2011, 06:00:05 AM »

did my suggestion help?

The edited code does not have the <a href> tags around the image and thus the banner is not clickable.

However, I see now what I did wrong. I use FireFox with AdBlock enabled, thus my banner was not showing.

The banners works fine now and I have removed the javascript from the code, as that script cannot be found on the server.
Logged

The mind makes it real
Tags:
Pages: [1] Go Up Print 
« previous next »
Jump to:  

SSL Certificate Free Virus Removal Firewall
Page created in 0.069 seconds with 21 queries.
Powered by SMF 1.1.18 | SMF © 2006, Simple Machines Design by 7dana.com