![]() Topic awaiting preservation: Solution for Easy Input of banners (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
![]() Got an issue I'm trying to figure out the best solution for. Here's the scenario... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() You should basically do the same thing as your partner does using <script> tag to include javascript file that will simply perform a couple of document.write(); statements that will include your banner. An example: code: document.write('<img src="http://www.yoursite.com/banner001.png">');
code: <script src="http://www.yoursite.com/banner.php"></script> |
Obsessive-Compulsive (I) Inmate From: |
![]() Better yet could you not have a div element that you could stick your banner into rather than using document.write? code: <div id="banner_div"> </div> <script>getdiv = document.getElementById("banner_div"); getdiv.innerHTML = "<img src='myimage.jpg' />"; </script>
|