Author Topic: inserting a cell  (Read 1980 times)

Mahound

  • Sr. Member
  • ****
  • Posts: 394
  • THE ONLY time i get screwed is when i play poker!
    • View Profile
inserting a cell
« on: April 20, 2012, 11:00:41 AM »
I have a cell (info text) that runs across the top of the whole screen. It acts as an information cell which scrolls information about the poker league. I have it set so that it changes, for different moments throughout the game, pre tournament, even rounds, odd rounds, breaks and after the game.  etc
 I want to put a similar cell (club name cell) to the left of this, to hold a the club  name.

So it would look like the text (which is running from right to left), would appear to run under the cell that hold the logo. Just as you get  ( for example) on TV sports show where they have information scrolling across the bottom of the screen.

 I have set both cells to a height of 18 and this lines up great. But i cant figure on what to put in for the widths. The logo cell i have set to  350, but it goes half way across the screen. The other cell i set at a width of 1326.
And also the text that i have put in the screen is not showing. I am using  the same text size and colours and  background colour, but the text is not showing either

The size of the screen is 1376 *  768.

Any ideas please
Thanks in advance
« Last Edit: April 20, 2012, 11:04:20 AM by Mahound »

TIMMER

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
Re: inserting a cell
« Reply #1 on: April 20, 2012, 12:12:46 PM »
Put a Empty Row cell in, then put your logo cell in first, and info cell in behind it. the marquee should run right into your logo. try this without the height & width
« Last Edit: April 20, 2012, 12:14:45 PM by TIMMER »

TIMMER

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
Re: inserting a cell
« Reply #2 on: April 20, 2012, 12:28:04 PM »
If you want it to run under your logo (one cell)  Logo <br> <marquee> Game Info_______

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: inserting a cell
« Reply #3 on: April 23, 2012, 10:23:08 AM »
Mahound, post the layout if you want some more specific help.  Getting cells to an exact width can be someone of an art.  You may have to make adjustments to nearby cells to get things to look as desired.

Mahound

  • Sr. Member
  • ****
  • Posts: 394
  • THE ONLY time i get screwed is when i play poker!
    • View Profile
Re: inserting a cell
« Reply #4 on: April 23, 2012, 12:59:29 PM »
 I tried what Timmer said but unfortunatly that didn't work.
I have attached Jpeg of the lay out and also the Layout
Any help greatly appreciated
« Last Edit: April 23, 2012, 01:04:07 PM by Mahound »

TIMMER

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
Re: inserting a cell
« Reply #5 on: April 23, 2012, 02:02:46 PM »
 Marquee flows right into the Bill Q logo   Oh ya two cells in one empty row right, so take the row as far up & out of everything else, so this at the  top by its self then it well go across, mine is 1280x800 so i set width to 1012 and this is how it looks   PS couldn't get your zip to work  No TLO file
« Last Edit: April 23, 2012, 03:52:58 PM by TIMMER »

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: inserting a cell
« Reply #6 on: April 24, 2012, 02:18:27 PM »
So on the left side of the line should be the club name, while the right side of the line is a scrolling marquee with text that varies based on what's going on in the tournament.  The trick is making the left side (the cell with the club name) take only as much space as it needs, while the right side should use up the remaining space, in order to give the marquee as much space as possible.

For varying screen widths, this becomes tricky.  If the club name cell varies in size (different clubs?), it becomes trickier.  And if the marquee is "empty" (no text) at any point, it becomes even trickier.

I would recommend designing this for a specific screen size, and thus specific cell sizes.  As an example, I am looking at a screen width of 1280 pixels.  After some experimentation, I determined that the club name cell needed to be 565 pixels wide (I used your "cardroom name" cell).  Instead of using the cell height/width values, I leave those blank and used the following HTML:

<div style="width: 565px; overflow-x: hidden"><span style="color=#ffffff; font-size: 18pt"><nobr>Welcome to the Franlin Snooker and Social Club</nobr></span><br><span style="color=#ff0080; font-size: 15pt"><nobr>Franklin Poker <season></nobr></span></div>

So, that leaves 1280 pixels minus 565 pixels, or 715 pixels for the marquee.  Again, instead of using the height/width values of the cell, I leave those blank and use the following HTML:

<div style="width: 715px"><marquee> We hope you had a GREAT game of poker. For more information on all things about the Franklin Poker League. Check out www.facebook.com/franklinpoker for game information, and results.</marquee></div>

Of course, this makes it more tedious to modify this layout for different screen sizes, and to account for each of the scenarios you have for each of those cells (different marquee text, for example), but it has the results I think you are after.

Mahound

  • Sr. Member
  • ****
  • Posts: 394
  • THE ONLY time i get screwed is when i play poker!
    • View Profile
Re: inserting a cell
« Reply #7 on: April 25, 2012, 05:27:12 AM »
So on the left side of the line should be the club name, while the right side of the line is a scrolling marquee with text that varies based on what's going on in the tournament.  The trick is making the left side (the cell with the club name) take only as much space as it needs, while the right side should use up the remaining space, in order to give the marquee as much space as possible.

For varying screen widths, this becomes tricky.  If the club name cell varies in size (different clubs?), it becomes trickier.  And if the marquee is "empty" (no text) at any point, it becomes even trickier.

I would recommend designing this for a specific screen size, and thus specific cell sizes.  As an example, I am looking at a screen width of 1280 pixels.  After some experimentation, I determined that the club name cell needed to be 565 pixels wide (I used your "cardroom name" cell).  Instead of using the cell height/width values, I leave those blank and used the following HTML:

<div style="width: 565px; overflow-x: hidden"><span style="color=#ffffff; font-size: 18pt"><nobr>Welcome to the Franlin Snooker and Social Club</nobr></span><br><span style="color=#ff0080; font-size: 15pt"><nobr>Franklin Poker <season></nobr></span></div>

So, that leaves 1280 pixels minus 565 pixels, or 715 pixels for the marquee.  Again, instead of using the height/width values of the cell, I leave those blank and use the following HTML:

<div style="width: 715px"><marquee> We hope you had a GREAT game of poker. For more information on all things about the Franklin Poker League. Check out www.facebook.com/franklinpoker for game information, and results.</marquee></div>

Of course, this makes it more tedious to modify this layout for different screen sizes, and to account for each of the scenarios you have for each of those cells (different marquee text, for example), but it has the results I think you are after.

Many Thanks, this worked just the way i wanted it and now i can see how it was done , makes it a bit easier to understand.
cheers Mahound
« Last Edit: April 25, 2012, 06:04:51 AM by Mahound »