Solved

Flash ad banners messing up html

Posted on 2002-04-17
45
181 Views
Last Modified: 2010-04-09
Hi, wondered if anyone could help as I have been troubled with this problem for ages and am running out of ideas so I am giving a huge points score for anyone who can solve it!! What it is whenever an advertiser shows a flash ad on one of my sites it resets all the borders to 0 making
the design all mess up. Gif ads are fine but it only happens with every flash ad. So I thought it must be my page so i made a really simple page with just the ad code and a logo (http://www.city-dining.com/test.asp) but
it also happens with this, it also happens over all ad networks so it isn't just one. I just can't work it out.

I have also tried putting it in a layer: (http://www.city-dining.com/test2.asp) but still no luck.

Any ideas?!
0
Comment
Question by:Bateman
  • 19
  • 15
  • 5
  • +4
45 Comments
 

Author Comment

by:Bateman
ID: 6947184
Sorry, a couple more comments, it seems to be faulty under IE for the PC, Opera (the only other browser I have) seems to be fine. Also if you get to the link and it shows a gif ad keep refreshing it!
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947278
What is it supposed to look like then?

If I view the source and look at the page, I see not that many strange things...which "borders" are you talking about...there are no borders set as far as I can see in the page.

Please elaborate so I can help you better...

Thanks,
Max.
0
 

Author Comment

by:Bateman
ID: 6947282
Sorry, there should be a (roughtly) 10 pixels of 'air' around the edges, look at http://www.london-eating.co.uk which is working fine. At the mo with the flash ads everything is flush to the edges
0
 
LVL 19

Accepted Solution

by:
DreamMaster earned 300 total points
ID: 6947292
Hmmm...

I must say that I get GIF banners on both of your pages and the edges are "wrong" on both...

My guess is the advertiser has something in his/her jsfiles that makes this go wrong...as there is nothing wrong in the HTML source itsself...

Max.
0
 

Author Comment

by:Bateman
ID: 6947293
I thought that however I have 3 advertising providers all using different ads and codes and it happens on all 3 and only with flash ads.
0
 
LVL 2

Expert Comment

by:jayyu2k
ID: 6947325
I have refreshed 50 Times... .. let me see when will i get a FLASH Add.. all these are Gif..s

:P
0
 

Author Comment

by:Bateman
ID: 6947332
Bugger, I wonder if it is doing region targeting and only serving up flash to uk sites. Is there a way I can grab the ad and put it in so everyone can see?
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947334
Me too...all I got was GIF banners...and they have the same problem as the Flash banners you mention....there is not the same space between the banner and the edge of the page on either....

Max.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947335
Just make a screenshot of it so we can actually see it happening on your screen...

Max.
0
 

Author Comment

by:Bateman
ID: 6947342
Will do, how can i post screenshots here, can i use html them in this comment box
0
 
LVL 2

Expert Comment

by:jayyu2k
ID: 6947351
bateman upload the Screen Shots in any of the places and give us the URL..

Yes U Could Even.. Paste the htmlhere in the Comment Box.. but we prefer. . to see the SnapShot
0
 
LVL 2

Expert Comment

by:jayyu2k
ID: 6947359
bateman upload the Screen Shots in any of the places and give us the URL..

Yes U Could Even.. Paste the htmlhere in the Comment Box.. but we prefer. . to see the SnapShot
0
 

Author Comment

by:Bateman
ID: 6947362
OK, the grabs are at

http://www.astwood.com/experts.asp
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947371
Hmmm....

I'm going to have a look at that include file...

Could be that the Flash file has the settings to be at the top...but I doubt that...

Max.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947375
Damn...I can't...that sucks...

Well, in that case...

Just try and see what happens if you set margins higher then 10, try a strange value like 100 see what happens...if still it doesn't move, the calling of the Flash banner for some reason positions it at the top, thereby destroying your margins...

Max.
0
 
LVL 2

Expert Comment

by:jayyu2k
ID: 6947385
BORDER !! ! ! !  thats  A MARGIN . I Got Confused all the time.. thinking.. of  BORDER of the image.

Jayanth

0
 

Author Comment

by:Bateman
ID: 6947391
Sorry! Always used that term!
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947392
That's why I asked which borders he was talking about jayanth.. :)

Max.
0
 
LVL 2

Expert Comment

by:jayyu2k
ID: 6947475
Check this out./.

www.JayanthOnline.com/movie1.html

I didnt get any problem.. when the Flash Movie was Placed.. OFCOURSE HARD CODED. Have u TRIED  .. that.. Does it still look the same?
0
 

Author Comment

by:Bateman
ID: 6947487
Just tried and that appears to be fine, http://www.city-dining.com/test4.asp

However I am confused, if this happens with only one ad supplier then I would think, OK it is something to do with their code, but it happens with 3 seperate suppliers, all showing a vast range of ads.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947495
Like I said, probably something to do with the flash parameters then....have you tried setting a very high page margin to see if it affects the page at all??

Max.
0
 

Author Comment

by:Bateman
ID: 6947506
Have done one but I can't get a flash ad to be served at the mo! Have turned off all ads but flash ones but it takes 10 mins or so to filter down.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 19

Expert Comment

by:DreamMaster
ID: 6947513
Good luck waiting then.. :)

Max.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6947596
How do you get the ads? Do the Flash ads send you the HTML page they generate out of Flash? If so, that's the problem -- you'll have TWO body tags, and the last one will be what's used. If it's out of Flash, it will have no margins.
0
 

Author Comment

by:Bateman
ID: 6947617
I get some code from the ad companies such as:

<!-- VC active -->
<SCRIPT LANGUAGE="JavaScript">
<!--
// ValueParameters
ValueHost = "hs0237692";
ValueLoaded = false;
ValueID = "valueid";
ValueVersion = "1.1";
ValueWidth = 468;
ValueHeight = 60;
//-->
</SCRIPT>
<SCRIPT LANGUAGE="Javascript" SRC="http://oz.valueclick.com/jsmaster"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
if (ValueLoaded) ValueShowAd();
//-->
</SCRIPT>

or

<!-- Start of Adviva adServe v2.0 Banner Display Code -->
<SCRIPT LANGUAGE="JavaScript">
<!--
var timestamp = (new Date()).getTime();
document.write("<IFRAME SRC=\"http://ads.adviva.net/adserve.cgi?200&li=873&as=1&me=2&ui=" + timestamp + "\" WIDTH=\"468\" HEIGHT=\"60\" FRAMEBORDER=\"0\" BORDER=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\" HSPACE=\"0\" VSPACE=\"0\" SCROLLING=\"NO\">");
document.write("<A HREF=\"http://ads.adviva.net/adclick.cgi?200&li=873&me=1&ui=" + timestamp + "\" TARGET=\"_blank\"><IMG SRC=\"http://ads.adviva.net/adserve.cgi?200&li=873&as=1&me=1&ui=" + timestamp + "\" BORDER=\"0\" WIDTH=\"468\" HEIGHT=\"60\"></A>");
document.write("</IFRAME>");
//-->
</SCRIPT>
0
 

Author Comment

by:Bateman
ID: 6947620
I am using the top code for the mo, haven't used the adviva for ages now but put it in to show
0
 
LVL 3

Expert Comment

by:pleasenospam
ID: 6948485
I must be missing something, but why do you want to see the ads at all?
As you get better acquainted with your firewall, you can taylor it to reject ads.
Before deleting them, look at cookies.  Usually ads have a common format, including words like

click, ads

Make entries in your firewall program to reject these sites.
0
 

Author Comment

by:Bateman
ID: 6948513
Ads are wonderful things that get us to buy lots of lovely, useful products ;-)

Every site has gotta cover its hosting costs these days...
0
 

Author Comment

by:Bateman
ID: 6950408
hey, changing the marghins to 100 worked, however i can't obviosuly keep them that big!
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6950439
Hmmm...that means they are not being messed up by the flash banners...that illiminates that idea...and what happens when you set them to 0? It should make you have no space around anything...maybe the 10 it says it displays IS in fact the 10...and the other pages are wrong?

Max.
0
 

Author Comment

by:Bateman
ID: 6950460
DreamMaster, you say it can't be caused by the flash banners, however the problem only appears when flash banners are displayed, gif banners are fine...

If I set it to 0 then it is all flush to the borders.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6950488
If it is all flush to the borders when it is set to 0, then there is nothing wrong with your margins...there is something else that's different from using either Flash or GIF...

It's just a little hard to tell what that could possibly be...I'll see if I can find anything...

Max.
0
 

Author Comment

by:Bateman
ID: 6950504
I have changed it to 15 at the mo, There is prob a magic number between 10 and 20 where is starts/stops working. It is just painfully slow because just my luck there aren't many flash ads running at the mo! (unlike last week where every ad was flash!)
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6950517
Yeah, I noticed...tried it myself and only get GIF banners..

If all of that fails...I suggest you just ask the people that create these banners (or make them available) how this can happen and what to do to solve it..they're bound to know a solution...

Max.
0
 

Author Comment

by:Bateman
ID: 6950542
Have tried that, the only thing they said was to put the margin code on, other than that they are stumped. It is also the fact that it happens with 3 seperate companies, fastclick, adviva and advertising.com
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7047958
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7082591
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to DreamMaster

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 

Author Comment

by:Bateman
ID: 7083236
Only prob is that the question hasn't been answered properly. The margins are still not working :-(
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 7083242
Well Bateman, you'll have to admit that it's kinda hard solving a question about margins on flash banners, when all you get is GIF banners...

Max.
0
 

Author Comment

by:Bateman
ID: 7083247
True, only prob I don't know what else to do! I think the flash ones must be a UK thing!
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 7083263
Have you contacted the people that provide those banners about that? It could very well be that you are right, and if so...most of the time that is easily changed by setting a parameter, to make it visible for others as well...

Good luck and I hope you figure this out... or that I am able to HELP you figure this out, I tried...but as I said...it's hard to help when you can't see what's wrong...

Max.
0
 

Author Comment

by:Bateman
ID: 7083275
Hi Max, yeah I contacted all 3 of the ad providers who all are stumped over it! Appreciate all your help with this, I think I may as well hang up my boots and admit defeat though!!!
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 7083284
Well, I think it's unacceptable that the banner providers themselves cannot think of any reason for this, your HTML was not exotic or something....they should have a solution, so I guess the best thing you can do, is let them implement it, if they are the banner providers they should be able to get you a working page. I'd say this is now more their problem then yours, just say you'll get your business elsewhere if they cannot get it right..

Max.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7083515
Bateman,

I understand that you are not happy that the problem still exists.  Clearly, the problem is related to the flash you are getting from the ad server, and there very is nothing that Max can do about that.  However he did work you through it, to narrow down the cause, and should be awarded the question.

Cd&
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7112280
Question asked, significant guidance provided and helped you narrow the scope and go where you need to fix the problem.

Finalized by Moondancer - EE Moderator
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now