| Author |
|
fishusa New User

Joined: October/10/2008 Location: United States
Online Status: Offline Info: 16
|
| Added: October/24/2008 at 8:31am | IP Logged
|
|
|
Hi Chris,
This is J.R. from http://www.fishusa.com again. Having a small issue with some Javascript code for a banner that a company gave us to test out. We set up a banner to use code, which is as follows:
<!-- BEGIN STANDARD TAG - 468 x 60 - FishUSA Forum: Run-of-site - DO NOT MODIFY --> <SCRIPT TYPE="text/javascript" SRC="http://ad.outsidehub.com/st?ad_type=ad&ad_size=468x 60§ion=445034"></SCRIPT> <!-- END TAG -->
The problem is that is works....sometimes. Other times it will just show up blank on the page where the banner is supposed to be. I noticed if I put the code in a generic HTML file and run it, there can be a lag sometimes when the ad is displayed. It also seems like ASPBanner doesn't display an ad if its not available immediately, like this JavaScript ad. This is just some test code and we want to be able to tell this advertiser if we can support their ad or not. Thanks again!
J.R. Murray
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: October/24/2008 at 12:10pm | IP Logged
|
|
|
Hi,
The aspbanner system has no delays when it comes to displaying any content. I think you will find that anytime you dont see something that if you look at the browser source code you will see it there.
The exception could be if you are using the (aspbanner javascript method) to display the banner code because you will always see the aspbanner javscript calling code and nothing else. Anyway, you don't want to use javascript to call javascript. It might work sometimes and other times not. Any complex javascript won't work at all.
So, I guess I am asking.....? What banner calling method are you using? If using the javascript method you need to use another method.
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
fishusa New User

Joined: October/10/2008 Location: United States
Online Status: Offline Info: 16
|
| Added: October/24/2008 at 2:45pm | IP Logged
|
|
|
Chris,
I did some testing. I made a separate zone with one of these new banner ads in it. I put it in an ASP page, using the iFrame calling code. JS and iFrame seem to be the only ones that work with our system. Once again, it doesn't show up. The source from IE says that it should be showing up, its pointing to the right ASPBanner page, its assigned a zone, etc. If i go into the code and change the zone to a working one, it works fine. We emailed this advertiser and I'm in communication with their tech guy.
As an aside, I'd like your opinion on this whole JS banner ad things. One thing I don't like is I believe that they could change their banner ads whenever they want without us knowing. That is good for them but what if they decided to put something on their like a competitor or pornography (not that they would)? Doesn't that seem like a possibility? Thanks again Chris.
J.R.
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: October/24/2008 at 3:01pm | IP Logged
|
|
|
Me personally.. I don't like javascript ads..
Your right they can change anything they want. not only that they usually make your site run slower and they can probably run bad javscript if they wanted.
As for the problem you experiencing I don't really know what the deal is. What happens if you use the asptear method or xml method. Does it work then? The xml parser method should work on any windows server. Ya just can't be calling it a ton on one page is all.
Really though based on that delay you were telling me about chances are that is the problem. The response from them isn't quick enough maybe ? so sometimes you see nothing.
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
fishusa New User

Joined: October/10/2008 Location: United States
Online Status: Offline Info: 16
|
| Added: October/24/2008 at 3:26pm | IP Logged
|
|
|
I tried XML parser again and it worked. I must have had a typo or something. Anyway, it doesn't work with these ads either. So thats iFrame, JS, and XML that don't work with this company's JS banners. Here's the error I get from ASPTear. Still though, everything seems to work in a plain ASP or HTML page w/o using ASPBanner. I'm not sure that their stuff would work with any manager though
This is the error I get with the ASPTear method:
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'SOFTWING.ASPtear'
/tackleshop/testbannerXML.asp, line 21
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: October/24/2008 at 3:49pm | IP Logged
|
|
|
ASPTear isn't going to work unless that component is installed on the server so that is normal.
As for the xml parser... run the page in the browser.. search the browser source code
See if your javascript code is there and see if is correct..
Running the xml parser method should put the code there no different than if you pasted the code there yourself and ran the page.
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
fishusa New User

Joined: October/10/2008 Location: United States
Online Status: Offline Info: 16
|
| Added: November/04/2008 at 8:25am | IP Logged
|
|
|
Chris,
Another issue with the edit_banner page; I believe this may be related to the fix for the above problem. Whenever we go to clone a banner (either code or regular) we get the following error in the "Code Banner" text box:
<font face="Arial" size=2> <p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a005e'</font> <p> <font face="Arial" size=2>Invalid use of Null: 'Replace'</font> <p> <font face="Arial" size=2>/ASPBannerSoftware/aspbanner/edit_banner.asp</f ont><font face="Arial" size=2>, line 415</font>
Thanks!
J.R. Murray
FishUSA.com
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: November/04/2008 at 10:36am | IP Logged
|
|
|
yup.. sounds like that fix I made ya broke cloning.. I can fix it.. I'll let ya know when I have something..
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
fishusa New User

Joined: October/10/2008 Location: United States
Online Status: Offline Info: 16
|
| Added: November/21/2008 at 8:32am | IP Logged
|
|
|
Chris,
Any word when the fix for this will be available? Thanks...
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: November/22/2008 at 5:34pm | IP Logged
|
|
|
edit the "edit_banner.asp" file I gave you with a text editor
replace
<% =Replace(LCase(Banner_HTML_Code),"&sec","&sec") %>
With
<% If Banner_HTML_Code <> "" Then %><% =Replace(LCase(Banner_HTML_Code),"&sec","&sec") %><% Else %><% =Banner_HTML_Code %><% End If %>
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |