dog199200 Guest | Grab Welcome Table Recoding (18th Jan 10 at 11:26pm UTC) Resolved | | 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 corner it 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. | |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:30pm UTC) | | 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 | |
|
|
dog199200 Guest | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:36pm UTC) | | oh ok, i wont touch anything till i'm told i can | |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:43pm UTC) | | 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 | |
|
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:46pm UTC) | | Lines 3-6 aren't needed. They can be done through the templating system
Ross Wins. | |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:48pm UTC) | | Lines 3-6 aren't needed. They can be done through the templating system Ross Wins.
Lines 1-17 aren't needed anymore
| |
|
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:49pm UTC) | | 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! | |
|
dog199200 Guest | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:51pm UTC) | | 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. | |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:54pm UTC) | | 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
| |
|
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:56pm UTC) | | Ross, I saw your sig. It sucks. It's taken Weelllll out of context. | |
|
dog199200 Guest | Re: Grab Welcome Table Recoding (18th Jan 10 at 11:56pm UTC) | | 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 | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Grab Welcome Table Recoding (19th Jan 10 at 12:39pm UTC) | | I just had to come here and spam.
GO ROSS!
WHOOOOOT! | |
|