vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Deleting the "::" on menu bar - View Topic
Topic Rating: *****
Printable View
RuhRoe
Full Member
***

Posts: 218
Status: Offline
Gender: Male
Age: 31
Joined:  
Reputation: 5%  


pmxfire
[F] Deleting the "::" on menu bar (13th Feb 08 at 9:58pm UTC)
I know this is there but i am using http://support.virtualforums.co.uk/board/codesubmit/topic/3401/action/view_topic/page/1/menu-buttons-inside-banner/ with the code and it doesn't work with it. Anyway you can delete it with this code on?
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Deleting the "::" on menu bar (13th Feb 08 at 10:16pm UTC)
use this:

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. /*Menu Buttons Inside Banner by Danny*/
  4.  
  5. var xPos = '0'; // X Postion
  6. var yPos = '0'; // Y Postion
  7. var height = '174'; // Banner Image Height
  8.  
  9. var getID = document.getElementById("welcome_table");
  10. getID.style.height = height;
  11. var getTab = getID.getElementsByTagName('td')[0];
  12. getTab.align = 'left';
  13. getTab.vAlign = 'top';
  14. getTab.style.backgroundImage = 'url('+getTab.getElementsByTagName("img")[0].src+')';
  15. var getMenu = getID.getElementsByTagName('td')[2];
  16. getTab.innerHTML = '<div style="position: relative; top:'+yPos+'; left:'+xPos+';">'+getMenu.innerHTML.replace(/:: /g,"")+'</div>';
  17. getMenu.parentNode.parentNode.parentNode.parentNode.parentNode.style.display ='none';
  18.  
  19. //-->
  20. </script>
 
RuhRoe
Full Member
***

Posts: 218
Status: Offline
Gender: Male
Age: 31
Joined:  
Reputation: 5%  


pmxfire
Re: Deleting the "::" on menu bar (13th Feb 08 at 10:59pm UTC)
Thanks {Grin}
 Printable View

All times are GMT+0 :: The current time is 2:00pm
Page generated in 0.1156 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums