|
4 years ago ::
Sep 28, 2009 - 12:01PM
#51
|
|
|
Testing 
There is a world just around the corner of your mind, where reality is an intruder and dreams come true. You may escape into it at will. You need no secret password, no magic wand or Aladdin's lamp; only your own imagination and curiosity about things that never were.
|
|
|
|
4 years ago ::
Sep 28, 2009 - 1:19PM
#52
|
Date Joined:
Jun 10, 2009
|
| yx |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
| 0 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 1 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 2 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 3 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 4 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 5 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 6 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 7 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 8 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 9 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 10 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 11 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 12 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 13 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 14 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 15 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 16 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
Through the ages, many would wonder "Does art imitate life or does life imitate art?" I wonder "Does the art of discourse on the internet imitate the art of discourse in life or does the art of discourse in life imitate the art of discourse on the internet?"
|
|
|
|
4 years ago ::
Sep 28, 2009 - 1:30PM
#53
|
Date Joined:
Jun 10, 2009
|
Oh - for the max length of a post - it seems to be around 64k
Through the ages, many would wonder "Does art imitate life or does life imitate art?" I wonder "Does the art of discourse on the internet imitate the art of discourse in life or does the art of discourse in life imitate the art of discourse on the internet?"
|
|
|
|
4 years ago ::
Sep 28, 2009 - 1:47PM
#54
|
|
|
|
|
|
|
4 years ago ::
Sep 28, 2009 - 2:01PM
#55
|
Date Joined:
Jun 10, 2009
|
Well, it's easy enough (global find/replace) to drop in the height and width attributes onto the img tags. Although it adds a bunch to the length, it may not be SO bad, as the size of the map makes anything over an 18x18 grid too large for the screen. (which hits on the 64k limit). Basically, the 18px x 18px tokens are bit ... difficult to work with. Looking at what WhiteBaron posted below, I thought 30px x 30px might work (the size I posted). When I first tried on the 20 x 20 grid, I got the same ... mess... that came up earlier. I trimmed it down row by row until I ended up 20 x 16 which crossed the 65535 boundary. and that number is the number of total characters in the HTML code... so... {td style="border-top:solid 1px;border-left:solid 1px;"}{img height="30" width="30" src="http://home.broadpark.no/~hfled/resources/tiles/grass_2.jpg" alt="g" /}{/td} is 166 characters - braces in place of tag delimtiers
Through the ages, many would wonder "Does art imitate life or does life imitate art?" I wonder "Does the art of discourse on the internet imitate the art of discourse in life or does the art of discourse in life imitate the art of discourse on the internet?"
|
|
|
|
4 years ago ::
Sep 28, 2009 - 2:07PM
#56
|
|
|
The main problem here is that I can't find any way of defining my styles outside the table cells themselves... I will try to do some research to find a way of making the html code shorter. I can try increasing the size of my images to 32x32 or something like that, and then adding an option to set the size of the cells in the code. Setting it to anything other than the image size will add more html code though, as you say. I could also shorten the name of the folders where the images are on the server, this would also cut the html code by a bit in maps with a lot of images...
|
|
|
|
4 years ago ::
Sep 28, 2009 - 2:12PM
#57
|
Date Joined:
Jun 10, 2009
|
some quick math: 19 (max cells for the screen at 30, as shown below - col 20 was/is cut off) x 30 = 570; 18 x 32 = 576. 32px is just about the limit (screen) for an 18 width grid.
Through the ages, many would wonder "Does art imitate life or does life imitate art?" I wonder "Does the art of discourse on the internet imitate the art of discourse in life or does the art of discourse in life imitate the art of discourse on the internet?"
|
|
|
|
4 years ago ::
Sep 28, 2009 - 2:17PM
#58
|
|
|
As seen in the small map above, I can save a lot of html code just by making the grid double width (full border on all cells). Haven't thought about cutting down on that before  EDIT: quick test before I go to bed. By cutting down on file/folder names and setting full border on each cell I went from 5185 to 3633 characters on a 5x5 map with images in each cell... This makes it impossible to set color of cell walls, but I don't think many people use that option anyway.
|
|
|
|
4 years ago ::
Sep 30, 2009 - 6:44AM
#59
|
Date Joined:
Sep 13, 2007
|
Shanizar when on your mapmaker each square has a border but importing the map here removes the square. How do I get the lines making up the squares back? Edit; I guess the border color is white. Need them black.
| yx |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
| 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
|
|
|
|
|
|
|
8 |
7 |
6 |
5 |
|
|
|
|
|
|
|
|
| 4 |
|
|
|
|
|
|
|
|
|
4 |
3 |
|
|
|
|
|
|
|
|
|
| 5 |
|
|
|
|
|
|
|
|
|
|
L |
|
|
|
|
|
|
|
|
|
| 6 |
|
|
|
|
|
|
|
2 |
|
|
|
|
1 |
|
|
|
|
|
|
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
K |
|
|
|
|
|
|
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
D |
|
|
|
|
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F |
|
A |
|
|
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
w |
|
|
|
|
|
|
|
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 years ago ::
Sep 30, 2009 - 7:04AM
#60
|
|
|
Hmm, are you saying that you aren't seeing borders around any of the squares in your map? It looks fine here... You won't see it when editing the post, something to do with the html preview, but it should appear once you hit submit. What operating system and web browser are you using?
|
|
|