Forum Moderators: open
<script language="JavaScript" src="http://www.my banner.com/banner.php?1745&type=ban" type="text/javascript"></script>
So, I just enter this where I want banner to load, and bingo, it loads :)
However, site mybanner.com (just an example) is sometimes slow and sometimes is even down. In that case, before banner loads (or when it doesn't laod at all), my site looks awful (I use tables for layout). Everything is scattered around, etc and I bet nobody even bothers looking at it.
How can I 'reserve space' for banners, so my site loads normally, and even if mybanners.com is down, it would just show some kind of placeholder or blank 468x60 area, and load banners whenever they are avalaible?
I tried putting this code:
<script language="JavaScript" src="http://www.my banner.com/banner.php?1745&type=ban" type="text/javascript"></script>
Between <iframe> tags, but from what I know, javascript won't work inside iframes...
This code is now in a layout table, and it doesn't reserve space for it - it waits for banner to load...'
Any suggestions?
<div style="position:relative">
<script language="JavaScript" src="http://www.my banner.com/banner.php?1745&type=ban" type="text/javascript"></script>
</div>
Site doesn't show up correctly until both banners are shown. Actually, it shows only the top cell, stretched over all screen, before banner loads :(
My site layout is quite similar to your 'drawing' lol. Banners are in separate cells. One of the banners is in table, which is created into one of the main table cells :)
I'd prefer not to tell you the URL, sorry.
I tried adding div tags like you said, also added width and height later, but it still didn't work :(
I just want layout to show normally even if banners aren't loaded.
What other tags could I try?