Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post
Post How To Insert Sponsor In The Navigation Menu 
 
Hi,

This is a translation English to a post by JANU in my site... Thanks JANU.

Open xs/templates/ca_aphrodite/nav_quick_links.tpl

FIND
Code: [Download] [Hide]
  1. <div id="rss_feed" style="display: ''; position: relative;">  
  2.     <script language="javascript" type="text/javascript">  
  3.     <!--  
  4.     tmp = 'rss_feed';  
  5.     if(GetCookie(tmp) == '2')  
  6.     {  
  7.         ShowHide('rss_feed','rss_feed2','rss_feed');  
  8.     }  
  9.     //-->  
  10.     </script> 

AFTER ADD
Code: [Download] [Hide]
  1. <div id="sponsor" style="display: ''; position: relative;">  
  2.     <script language="javascript" type="text/javascript">  
  3.     <!--  
  4.     tmp = 'sponsor';  
  5.     if(GetCookie(tmp) == '2')  
  6.     {  
  7.         ShowHide('sponsor','sponsor2','sponsor');  
  8.     }  
  9.     //-->  
  10.     </script>  
  11. </div>  
  12.  
  13. <tr class="forumline">  
  14.     <th style="cursor:pointer;cursor:hand;" align="left" onclick="ShowHide('sponsor','sponsor2','sponsor');">  
  15.         <table cellspacing="0" cellpadding="0" border="0">  
  16.             <tr>  
  17.                 <td><img src="images/menu/xeyes.png" alt="" /></td>  
  18.                 <td><a href="javascript:void(0)" title="Sponsor"><b>Sponsor</b></a></td>  
  19.             </tr>  
  20.         </table>  
  21.     </th>  
  22. </tr>  
  23. <tr>  
  24.     <td>  
  25.         <div id="sponsor2" style="display: yes; position: relative;">  
  26.             <table border="0" cellpadding="0" cellspacing="4" width="100%" class="forumline-no2">  
  27.                 <tbody>  
  28.                     <tr>  
  29.                         <td class="genmed" align="center">  
  30.                      -----------------> AD HERE <-----------------  
  31.                         </td>  
  32.                     </tr>  
  33.                 </tbody>  
  34.             </table>  
  35.         </div>  
  36.     </td>  
  37. </tr> 

Save image xeyes.png in this path: xs/images/menu/xeyes.png
xeyes

With this code always show the sponsor, in order to show and hide it like the rest of menu, to make this change code.

FIND
Code: [Download] [Hide]
  1.          <div id="sponsor2" style="display: yes; position: relative;"> 

REPLACE WITH
Code: [Download] [Hide]
  1.          <div id="sponsor" style="display: none; position: relative;"> 

Greets
 




____________
ThE KuKa - www.phpBB-Es.COM - Custom Installations phpBB
 
Edited by Mighty Gorgon, Thu 10 Aug, 2006 09:35: Changed topic title.
Edited by ThE KuKa, Thu 17 Aug, 2006 19:42: Edit to FIX some lines.
ThE KuKaSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron