can someone please edit this code so it will work with the new welcome table template system? Its causing problems as it is right now. If you need to know what it does, what is does is grads the welcome table and calls it into the border frame I have on my forum, which can be found here.
Code:
- <script type="text/javascript">
- <!--
- get('welcome_table', 'id').cellSpacing = '0';
- for(b = 0; b < 4; b++) {
- get('br', 'tag')[b].style.display = "none";
- }
- with(get('forum_border_menu_holder', 'id')){
- var x = (vf_username == 'guest'? 3 : 6);
- var s = (get('table', 'tag')[0].className.match(/welcometable/))? 0 : 1;
- for(n = 0; n < x; n++){
- appendChild(get('table', 'tag')[s]);
- if(n == 2 || n == 5)
- appendChild(document.createElement('br'));
- }
- }
- // -->
- </script>
I have tried to add the header of the border into the welcome table template so that i don't need this code, but taht creates an error with the blare effect I have in the upper left hand cornerit puts the glare image on the banner and not behind it like it is on the website and the idea is to make the forum look like the website.
I'm going to have a go at changing some bits on your forum. I have an idea but am unsure if it'll work![]()
oh ok, i wont touch anything till i'm told i can![]()
How's that looking?
I've moved the code you had in your global header for the "forum_border" divs as well as the "PageBackgroundGlare" stuff into the Welcome Table template. So no Javascript is needed to move the welcome table into it![]()
Lines 3-6 aren't needed. They can be done through the templating system![]()
Ross Wins.![]()
Lines 3-6 aren't needed. They can be done through the templating system![]()
Ross Wins.![]()
Lines 1-17 aren't needed anymore![]()
Lines 3-6 aren't needed. They can be done through the templating system![]()
Ross Wins.![]()
Lines 1-17 aren't needed anymore![]()
I removed about 10 lines from my forum due to the welcome table template!I win!
How's that looking?
I've moved the code you had in your global header for the "forum_border" divs as well as the "PageBackgroundGlare" stuff into the Welcome Table template. So no Javascript is needed to move the welcome table into it![]()
Ok thanks ross, i tried that, but i didn't work. the glare images was going over the logo, i assume thats why you added the zindex.
How's that looking?
I've moved the code you had in your global header for the "forum_border" divs as well as the "PageBackgroundGlare" stuff into the Welcome Table template. So no Javascript is needed to move the welcome table into it![]()
Ok thanks ross, i tried that, but i didn't work. the glare images was going over the logo, i assume thats why you added the zindex.
Yeah, the z-index was the easiest way to fix that, just forces it to sit behind the logo![]()
P.S. I like my new sig![]()
Ross, I saw your sig. It sucks. It's taken Weelllll out of context.![]()
Ok anyways thanks again, just a few more codes to eventually find ways to work out of my header and footers lol
Btw, nice sig![]()
I just had to come here and spam.
GO ROSS!
WHOOOOOT!