darK Posted May 22, 2009 Report Share Posted May 22, 2009 I don't actually need such block. I'll post picture what kind of ads block I need It must be simple I guess.. Link to comment Share on other sites More sharing options...
Management Michael Posted May 22, 2009 Management Report Share Posted May 22, 2009 Haven't tested this, but try opening your Admin CP > Look & Feel Tab > IP.Board Skin > Global Templates > globalTemplate Find: <div id='branding'> Add Above: <div style='float:right; margin-top:10px; margin-right:320px;'>img banner here</div> Save Template Bit Link to comment Share on other sites More sharing options...
darK Posted May 22, 2009 Author Report Share Posted May 22, 2009 <3 !!! Sure it's working. Thanks a lot man. Link to comment Share on other sites More sharing options...
darK Posted May 22, 2009 Author Report Share Posted May 22, 2009 Edit was not available so I'm posting again. <div style='float:right; margin-top:0.8%; margin-right:21.4%;'><a href='http://www.devfuse.com'><img src='http://www.eahelp.net/stf/468x68.jpg' /></a></div> Btw, here is perfect fit for that place in % :) Link to comment Share on other sites More sharing options...
darK Posted May 22, 2009 Author Report Share Posted May 22, 2009 Hey, How to make him change to another picture on every refresh/load ? Link to comment Share on other sites More sharing options...
Management Michael Posted May 22, 2009 Management Report Share Posted May 22, 2009 Hey, How to make him change to another picture on every refresh/load ? You could either do it with javascript or php. Here are some guides on it. http://javascript.internet.com/miscellaneo...ndom-image.html http://www.alistapart.com/articles/randomizer/ Link to comment Share on other sites More sharing options...
darK Posted May 22, 2009 Author Report Share Posted May 22, 2009 (edited) Ok final question, how to put this: <div style='float:right; margin-top:0.8%; margin-right:21.4%;'></div> in this: document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>') Edited May 22, 2009 by darK Link to comment Share on other sites More sharing options...
darK Posted May 22, 2009 Author Report Share Posted May 22, 2009 Solved: <script language="JavaScript">function random_imglink(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[1]="http://eahelp.net/stf/468x68.jpg" //specify corresponding links below var imagelinks=new Array() imagelinks[1]="http://www.devfuse.com" var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 document.write('<div style="float:right; margin-top:0.8%; margin-right:21.4%;"><a href="'+imagelinks[ry]+'"><img src="'+myimages[ry]+'" border="0"></a></div>'); } random_imglink() </script> Here is working version of random ads image. Link to comment Share on other sites More sharing options...
Management Michael Posted May 23, 2009 Management Report Share Posted May 23, 2009 The original issue this topic was opened for has been resolved :) Or there has been no response. If your still having trouble please open a new topic. Link to comment Share on other sites More sharing options...
Recommended Posts