Forum Moderators: not2easy

Message Too Old, No Replies

Text links under graphic ad

Using <div> to get around blockers

         

motorhaven

2:16 pm on Aug 24, 2006 (gmt 0)

10+ Year Member Top Contributors Of The Month



Help!

I'd like to place affiliate links in a <div> that is only visible when a graphic is not shown.

Psuedo:

<div>
<script>
LoadAd();
</script>
</div>
<div>
Text description and affiliate redirect link
</div>

I need the 2nd <div> to be under the 1st one and to only show up when the ad is blocked. How do I accomplish this?

londrum

8:02 pm on Aug 24, 2006 (gmt 0)

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



if the ads are on a sidebar or something, then maybe you could just position them absolutely, in exactly the same place.
then set the z-indexes so that the right one shows on top. if it doesn't display then the other one will appear underneath.

make sure that the top one hasn't got a background-color though, or that will cover it up.