Page 5 of 5

Re: HTML Tables

Posted: Fri 04 Sep 2015, 12:07
by L18L
Moose On The Loose wrote:
L18L wrote:
Moose On The Loose wrote:I tried and tried to get the positioning to work with CSS in the attached and finally just gave up and went back to using tables.
Try tableless version please
That looks like one of my many failed attempts. Notice:

1) The buttons over to the right of the game are shoved way over to the right

2) The "game number" and circles are way below the bottom edge of the game.

3) If you shrink your browser window, the controls to the right suddenly pop to below the game area.
OK, that was just a quick and dirty demo of not using table for layout.

Here is the slow and proper solution.

Hope this helps you "being within the standard "

Re: HTML Tables

Posted: Sat 05 Sep 2015, 22:27
by Moose On The Loose
L18L wrote:
Moose On The Loose wrote:
L18L wrote: Try tableless version please
That looks like one of my many failed attempts. Notice:

1) The buttons over to the right of the game are shoved way over to the right

2) The "game number" and circles are way below the bottom edge of the game.

3) If you shrink your browser window, the controls to the right suddenly pop to below the game area.
OK, that was just a quick and dirty demo of not using table for layout.

Here is the slow and proper solution.

Hope this helps you "being within the standard "
1) The boxes around the buttons one the right are now really big instead of fitting nicely

2) Still the same

3) Fixed

Other than that, it seems better than any of my tries

Re: HTML Tables

Posted: Sat 05 Sep 2015, 22:28
by Moose On The Loose
Extra post caused by firefox crashing just as I posted.
Hopefully nothing to do with tangle2.html

Posted: Tue 02 Feb 2016, 04:07
by technosaurus
I've been working on some stuff to allow sharing of C and javascript code, and it turns javascript does have a lot of the same functions, but is missing some useful ones.

here is a basic printf (other *printf functions should be similar)

Code: Select all

function printf(fmt){
  var strings = fmt.split(/[%].?/), string=strings[0];
  for(let i=1; i<strings.length; i++)
    string+=arguments[i]+strings[i];
  console.log(string);
  return string.length
}
Let me know if there are any C functions you miss ... I may make some more wrappers (qsort and the string functions are already on the list)