Does anybdy know how to load one SSI before another. Or can this only be done with a DIV TAG... If yes...how can it be done with a divtag Thanx
Server Side Includes are loaded in the order in which you call them. Their placement on the page is determined by where in the layout (i.e., which div tag) they are placed.
Yup, just put them in the order needed in the code. You can probably use css to move the divs around if needed.
U were. rght... Was not possible with SSI, But I used div tags... Just in case anybody wants to know how to change the order in which ads are called. ( I got the idea from the adsense help - they mention DIV tags to optimize this ) Inset this in your website where you usually place the code.... <div id='adspace1'></div> Code (markup): <div id='adspace2'></div> Code (markup): And this just before the end of your website.</html> The code you insert forst will be the first one to show.... ( the one with the best CPC ) <div id='ads_code_1' style='display:none;'> AD CODE 1 </div> <script language="JavaScript"> div1 = document.getElementById('adspace1'); div2 = document.getElementById('ads_code_1'); div1.innerHTML = div2.innerHTML; div2.innerHTML = ""; </script> <div id='ads_code_2' style='display:none;'> AD CODE 2 </div> <script language="JavaScript"> div1 = document.getElementById('adspace2'); div2 = document.getElementById('ads_code_2'); div1.innerHTML = div2.innerHTML; div2.innerHTML = ""; </script> Code (markup):