vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: Remove Head and Base image from Welcome Table - View Topic
Topic Rating: *****
Printable View
GlitchesSocom
Junior Member
**

[Avatar]
Will code JavaScript for food.

Posts: 67
Status: Offline
Gender: Male
Location: USA
Age: 34
Joined:  
Reputation: 16%  


pmwwwmsnyahooaimgtalkvForum
Remove Head and Base image from Welcome Table (8th Nov 08 at 2:41pm UTC)
Resolved
I need a code that will remove the head and base images from my welcome table please.

Image
GlitchesSocom
Junior Member
**

[Avatar]
Will code JavaScript for food.

Posts: 67
Status: Offline
Gender: Male
Location: USA
Age: 34
Joined:  
Reputation: 16%  


pmwwwmsnyahooaimgtalkvForum
Re: Remove Head and Base image from Welcome Table (9th Nov 08 at 2:54am UTC)
BUMP

Image
GlitchesSocom
Junior Member
**

[Avatar]
Will code JavaScript for food.

Posts: 67
Status: Offline
Gender: Male
Location: USA
Age: 34
Joined:  
Reputation: 16%  


pmwwwmsnyahooaimgtalkvForum
Re: Remove Head and Base image from Welcome Table (9th Nov 08 at 6:23pm UTC)
Nevermind I figured it out myself. I'm pretty happy with myself I getting the hang of JavaScript.

This is what I did:

Global Header
Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. /* Remove Welcome and User Table Header and Base Images
  4. by GlitchesSocom
  5. www.GlitchesSocom.vforums.co.uk */
  6.  
  7. var h=document.getElementsByTagName("table");
  8. for(i=0;i<h.length;i++)
  9. if(h[i].className=="head welcometable")
  10. h[i].style.display="none";
  11.  
  12. var b=document.getElementsByTagName("table");
  13. for(i=0;i<b.length;i++)
  14. if(b[i].className=="base welcometable")
  15. b[i].style.display="none";
  16. // -->
  17. </script>
  18.  
 

Image
dog199200
Guest
Re: Remove Head and Base image from Welcome Table (10th Nov 08 at 12:35am UTC)
{Smile} I'll try and see what I can do on this. If I can do this, then i'll have it to you some time tomorrow {Smile}
GlitchesSocom
Junior Member
**

[Avatar]
Will code JavaScript for food.

Posts: 67
Status: Offline
Gender: Male
Location: USA
Age: 34
Joined:  
Reputation: 16%  


pmwwwmsnyahooaimgtalkvForum
Re: Remove Head and Base image from Welcome Table (10th Nov 08 at 2:56am UTC)
 
Nevermind I figured it out myself. I'm pretty happy with myself I getting the hang of JavaScript.

This is what I did:

Global Header
Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. /* Remove Welcome and User Table Header and Base Images
  4. by GlitchesSocom
  5. www.GlitchesSocom.vforums.co.uk */
  6.  
  7. var h=document.getElementsByTagName("table");
  8. for(i=0;i<h.length;i++)
  9. if(h[i].className=="head welcometable")
  10. h[i].style.display="none";
  11.  
  12. var b=document.getElementsByTagName("table");
  13. for(i=0;i<b.length;i++)
  14. if(b[i].className=="base welcometable")
  15. b[i].style.display="none";
  16. // -->
  17. </script>
  18.  
 


Hey maybe you just didn't see this sorry and thanks anyways {Cool}

Image
dog199200
Guest
Re: Remove Head and Base image from Welcome Table (10th Nov 08 at 3:03am UTC)
oh sorry I was on a lagging pc when I looked at the thread {Smile} well good luck then
 Printable View

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