SoCal
« Simple Welcome Table Codes »

Welcome Guest. Please Login or Register.
Oct 2, 2014, 5:24am




SoCal :: SoCal Codes :: ProBoards Codes :: Simple Welcome Table Codes
Page 1 of 2 » Jump to page   Go    [Search This Thread][Print]
 AuthorTopic: Simple Welcome Table Codes (Read 11,004 times)
california
[image]
I'm not here...
member is offline

[avatar]



Joined: Nov 2004
Gender: Male
Posts: 6,425
 Simple Welcome Table Codes
« Thread Started on Jun 17, 2005, 8:51pm »

All these codes go in the Global Header. Read the comments to find out what each code does. Some should not be used with others.

<script type="text/javascript">
<!--
/* Remove Entire Welcome Table */
document.getElementsByTagName("table")[0].style.display="none";
// -->
</script>



<script type="text/javascript">
<!--
/* Remove "Hey, X, you have X messages" */
document.getElementsByTagName("td")[2].style.display="none";
// -->
</script>



<script type="text/javascript">
<!--
/* Remove Home */
document.getElementsByTagName("font")[1].style.display="none";
// -->
</script>



<script type="text/javascript">
<!--
/* Remove "Hey, X" and Home */
var td=document.getElementsByTagName("td");
td[1].lastChild.style.display="none";
td[2].style.display="none";
// -->
</script>



<script type="text/javascript">
<!--
/* Remove Menu Bar */
document.getElementsByTagName("tr")[2].style.display="none";
// -->
</script>



<script type="text/javascript">
<!--
/* Remove Welcome Background, Leave only Menu Bar */
document.getElementsByTagName("tr")[0].style.display="none";
// -->
</script>



<script type="text/javascript">
<!--
/* Remove Borders Around Welcome Table */
document.getElementsByTagName("table")[0].cellSpacing="0";
// -->
</script>



<script type="text/javascript">
<!--
/* Resize Welcome Table Width */
document.getElementsByTagName("table")[0].width="700";
// -->
</script>



<script type="text/javascript">
<!--
/* Remove "Hey, X" and Home and fit Welcome Table to Banner */
var td=document.getElementsByTagName("td");
td[1].lastChild.style.display="none";
td[2].style.display="none";
document.getElementsByTagName("table")[0].width='';
// -->
</script>



<style type="text/css">
<!--
/* Change MenuBar Alignment */
.menubg{text-align: left;}
-->
</style>



All codes go in the Global Header.
Link to Post - Back to Top  IP: Logged

[image]
fantasylover
Guest
 Re: Simple Welcome Table Codes
« Reply #1 on Jun 17, 2005, 9:27pm »

Very useful, Cali.  Thanks for that. :)
Link to Post - Back to Top  IP: Logged
sp
Guest
 Re: Simple Welcome Table Codes
« Reply #2 on Aug 16, 2005, 2:06pm »

ahhh  i think i did it wrong
Link to Post - Back to Top  IP: Logged
detectiveunknown
[image]
member is offline





Joined: Dec 2004
Gender: Male
Posts: 326
 Re: Simple Welcome Table Codes
« Reply #3 on Aug 16, 2005, 5:15pm »

What did you do wrong? Board Url?
Link to Post - Back to Top  IP: Logged
sp
Guest
 Re: Simple Welcome Table Codes
« Reply #4 on Aug 25, 2005, 7:15pm »

i dont now it screwed my site to where i couldnt get to the admin or my profile
Link to Post - Back to Top  IP: Logged
california
[image]
I'm not here...
member is offline

[avatar]



Joined: Nov 2004
Gender: Male
Posts: 6,425
 Re: Simple Welcome Table Codes
« Reply #5 on Aug 26, 2005, 2:46pm »


Quote:
i dont now it screwed my site to where i couldnt get to the admin or my profile


Please read the code support sticky.
Link to Post - Back to Top  IP: Logged

[image]
Curious George
[image]
member is offline

[avatar]

I saw the movie March of the Penguins ;P


[homepage]

Joined: Oct 2005
Gender: Male
Posts: 162
Location: Small City In Big State Texas
 Re: Simple Welcome Table Codes
« Reply #6 on Jan 25, 2006, 3:33pm »

Board URL: http://peeledbananas.proboards56.com

i used the second to last code...only problem the banner link is in my CSS and not in the skin modifier in the admin panel...any suggestions? like adding it to my CSS?
Link to Post - Back to Top  IP: Logged

[image]
california
[image]
I'm not here...
member is offline

[avatar]



Joined: Nov 2004
Gender: Male
Posts: 6,425
 Re: Simple Welcome Table Codes
« Reply #7 on Jan 25, 2006, 5:01pm »

Where in the second to last code do you need to put the banner link?
Link to Post - Back to Top  IP: Logged

[image]
fallen
[image]
member is offline





Joined: Jul 2007
Posts: 0
 Re: Simple Welcome Table Codes
« Reply #8 on Jan 26, 2006, 4:27am »


Quote:
Board URL: http://peeledbananas.proboards56.com

i used the second to last code...only problem the banner link is in my CSS and not in the skin modifier in the admin panel...any suggestions? like adding it to my CSS?


hmm... just place your banner URL in the Skins / Forum Colors & add the code in your g-header... there shouldn't be any problem
Link to Post - Back to Top  IP: Logged
Curious George
[image]
member is offline

[avatar]

I saw the movie March of the Penguins ;P


[homepage]

Joined: Oct 2005
Gender: Male
Posts: 162
Location: Small City In Big State Texas
 Re: Simple Welcome Table Codes
« Reply #9 on Jan 26, 2006, 9:50am »


Quote:
Where in the second to last code do you need to put the banner link?


the banner link is in my CSS

Code:
<script type="text/javascript">
<!--
/* Remove "Hey, X" and Home and fit Welcome Table to Banner */
var td=document.getElementsByTagName("td");
td[1].lastChild.style.display="none";
td[2].style.display="none";
document.getElementsByTagName("table")[0].width='';
// -->
</script>

^Code of Reference

Code:
.welcomebg
{
PHPSESSID: 71bdc74a7e84622494b373e0b57a20bc;
background-image: url(http://www.fileupyours.com/files/7697/ascitiesburn2.gif);
background-attachment: fixed;
background-repeat: no-repeat;
background-color: transparent;
font-family: prehistoric;
font-size: 14;
color: 000000;
« Last Edit: Jan 26, 2006, 9:53am by Curious George »Link to Post - Back to Top  IP: Logged

[image]
california
[image]
I'm not here...
member is offline

[avatar]



Joined: Nov 2004
Gender: Male
Posts: 6,425
 Re: Simple Welcome Table Codes
« Reply #10 on Jan 26, 2006, 6:17pm »

You're using a background image instead of a real logo? Just put the width in the CSS then.
« Last Edit: Jan 26, 2006, 6:19pm by california »Link to Post - Back to Top  IP: Logged

[image]
Curious George
[image]
member is offline

[avatar]

I saw the movie March of the Penguins ;P


[homepage]

Joined: Oct 2005
Gender: Male
Posts: 162
Location: Small City In Big State Texas
 Re: Simple Welcome Table Codes
« Reply #11 on Jan 26, 2006, 7:47pm »

Board URL: http://

no that is the banner that was put in the code (still there though)
Link to Post - Back to Top  IP: Logged

[image]
california
[image]
I'm not here...
member is offline

[avatar]



Joined: Nov 2004
Gender: Male
Posts: 6,425
 Re: Simple Welcome Table Codes
« Reply #12 on Jan 27, 2006, 1:41am »

Right, well in the CSS for the welcomebg you can put a width in there. Just width: 600px; or whatever the banner image is.
Link to Post - Back to Top  IP: Logged

[image]
patsfan545
[image]
member is offline





Joined: Jan 2006
Gender: Male
Posts: 26
 Re: Simple Welcome Table Codes
« Reply #13 on Feb 10, 2006, 7:59pm »

With this code:

<style type="text/css">
<!--
/* Change MenuBar Alignment */
.menubg{text-align: left;}
-->
</style>


Is there a way to align the menu buttons halfway to the left instead of all the way over?
« Last Edit: Feb 10, 2006, 7:59pm by patsfan545 »Link to Post - Back to Top  IP: Logged
california
[image]
I'm not here...
member is offline

[avatar]



Joined: Nov 2004
Gender: Male
Posts: 6,425
 Re: Simple Welcome Table Codes
« Reply #14 on Feb 11, 2006, 2:04am »

You could try this:

Code:
<script type="text/javascript">
<!--

document.getElementsByTagName("td")[5].firstChild.style.marginRight = "200px";

// -->
</script>


Global Footer
« Last Edit: Feb 11, 2006, 2:05am by california »Link to Post - Back to Top  IP: Logged

[image]
Page 1 of 2 » Jump to page   Go    [Search This Thread][Print]

Click Here To Make This Board Ad-Free

Terms of Service | Privacy Policy | Report Abuse | Mobile