vForums Support > Programming & Coding :: Code Requests & Support :: > [F] banner (Welcome table)

[F] banner (Welcome table) - Posted By Nick (nickb) on 21st Feb 08 at 1:11am
Is there any code for the banner to be stretched, meaning like how Proboards has : Preview. I have checked in the database but could not find it.

Thanks,
Darkmage

Re: banner (Welcome table) - Posted By Marc (cr0w) on 21st Feb 08 at 2:37am
How many parts is your image in? {Smile}

Re: banner (Welcome table) - Posted By Nick (nickb) on 21st Feb 08 at 2:39am
3 well once I fix a little something, it will be 3, 2 sides and middle.
Every time I put the banner in .png or .gif it only gives me non RBG colors.

EDIT:

Right
Middle
Left

Re: banner (Welcome table) - Posted By Marc (cr0w) on 21st Feb 08 at 2:56am
For this to work, you'll need to split it into 5.

The left image, then the black to the side of "Mage Designs", then "Mage Designs", then the black to the right of that, then the right image.

The reason being that it will be coded to repeat the black to the sides of the text; otherwise it will just have "Mage Designs" repeated a bunch of times. {Wink}

Re: banner (Welcome table) - Posted By Nick (nickb) on 21st Feb 08 at 2:58am
Ahh ok, lemme go fix that. Do you see the light white dots of the left and right images? its hard to see, but it will show up looking like this Wallpaper

EDIT:



Right
Middle Right to Mage Designs
Middle
Middle Left to Mage Designs
Left

Its all in order from top to bottom.

Re: banner (Welcome table) - Posted By Marc (cr0w) on 21st Feb 08 at 3:18am
I'll get this done in a bit. {Smile}

I just woke up, so I need to get some breakfast first. *Looks at clock - 10:18 pm* {Tongue Out}

Re: banner (Welcome table) - Posted By Nick (nickb) on 21st Feb 08 at 3:22am
Ok thanks Marc. {Tongue Out} you live on the EST, and you are now eating breakfast? lol, and only 10:22 pm lol.

*9:22 pm for meh {Wink} *

Re: banner (Welcome table) - Posted By Nick (nickb) on 28th Feb 08 at 12:08am
bump

Re: banner (Welcome table) - Posted By Marc (cr0w) on 28th Feb 08 at 12:31am
Oops, completely forgot about this. I'll get to this and the other outstanding requests I've been avoiding once my hands have warmed up a bit. {Tongue Out} [Just got in; currently -24C here at the moment. o.O]

Re: banner (Welcome table) - Posted By Nick (nickb) on 28th Feb 08 at 1:32am
ok thanks, plus can you tell me that in F? I don't really know the C and how to differ them {Tongue Out}

Re: banner (Welcome table) - Posted By Marc (cr0w) on 28th Feb 08 at 1:34am
About -12F, I believe.

Re: banner (Welcome table) - Posted By Nick (nickb) on 28th Feb 08 at 1:36am
{Tongue Out} thats nothing lol, try -25F and very harsh wind {Wink} I had to miss work because of it {Angry}

Re: banner (Welcome table) - Posted By Marc (cr0w) on 28th Feb 08 at 3:07am
 
{Tongue Out} thats nothing lol, try -25F and very harsh wind {Wink} I had to miss work because of it {Angry}


In a thin hoodie (sweater), with nothing but a t-shirt underneath, for over an hour? {Tongue Out}

Re: banner (Welcome table) - Posted By Michael (wrighty) on 28th Feb 08 at 9:27pm
Try this...

Code:
 
  1. <script>
  2. var l = 'http://i185.photobucket.com/albums/x20/magedesigns/designbanner1-3.jpg';
  3. var m = 'http://i185.photobucket.com/albums/x20/magedesigns/designbanner1-1.jpg';
  4. var r = 'http://i185.photobucket.com/albums/x20/magedesigns/designbanner1-2.jpg';
  5.  
  6. var r_cell = get('welcome_table','id').rows[0].cells[0];
  7. var l_cell = get('welcome_table','id').rows[0].insertCell(0);
  8. var m_cell = get('welcome_table','id').rows[0].insertCell(1);
  9.  
  10. var r_img = document.createElement('img');
  11. var m_img = document.createElement('img');
  12. var l_img = document.createElement('img');
  13.  
  14. r_img.src = r;
  15. m_img.src = m;
  16. l_img.src = l;
  17. r_cell.innerHTML = '';
  18.  
  19. r_cell.appendChild(r_img);
  20. l_cell.appendChild(l_img);
  21. m_cell.appendChild(m_img);
  22.  
  23. get('menu_buttons','id').colSpan = '3';
  24. get('br','tag')[0].style.display='none';
  25. get('welcome_table','id').width = '100%';
  26.  
  27. </script>