Template talk:Ele: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day |
||
Line 13: | Line 13: | ||
:I put a hook in so that we can resize the "element" if needed. I left the border setting in place so that if you want to have an ele that has a border, theoretically you should be able to declare it to be a smaller size and compensate. I haven't tested this of course, we don't need the functionality...for _this_ table :-)--[[User:David Yamakuchi|David Yamakuchi]] 13:38, 8 April 2008 (CDT) | :I put a hook in so that we can resize the "element" if needed. I left the border setting in place so that if you want to have an ele that has a border, theoretically you should be able to declare it to be a smaller size and compensate. I haven't tested this of course, we don't need the functionality...for _this_ table :-)--[[User:David Yamakuchi|David Yamakuchi]] 13:38, 8 April 2008 (CDT) | ||
::There's a problem with each ele cell border I discovered early on (shoulda said something, apologies). Remember when you add a border to all sides, it adds 1 pixel width to every little ele cell, so in effect something 6 pixels wide becomes 8. Multiply that times how many ele cells there are and... you get the idea. Also you'll end up with double-thick lines if you border all eles which look really unsightly. --[[User:Robert W King|Robert W King]] 13:45, 8 April 2008 (CDT) | ::There's a problem with each ele cell border I discovered early on (shoulda said something, apologies). Remember when you add a border to all sides, it adds 1 pixel width to every little ele cell, so in effect something 6 pixels wide becomes 8. Multiply that times how many ele cells there are and... you get the idea. Also you'll end up with double-thick lines if you border all eles which look really unsightly. --[[User:Robert W King|Robert W King]] 13:45, 8 April 2008 (CDT) | ||
:::I guessed the double line, judging from the white space, and was testing to see what a dark gray double line would look like. I have not really delved into the code too much. [[User:Chris Day|Chris Day]] 13:52, 8 April 2008 (CDT) | :::I guessed the double line, judging from the white space, and was testing to see what a dark gray double line would look like. I have not really delved into the code too much. Are all these cell elements part of a table? If so, why couldn't a cellspacing=0 parameter be used to prevent a double line? [[User:Chris Day|Chris Day]] 13:52, 8 April 2008 (CDT) |
Revision as of 12:54, 8 April 2008
I would like to change this template to accept the opacity value passed in to it...any objections?--David Yamakuchi 15:57, 6 April 2008 (CDT)
- Yeah, but if you add an opacity value you have to include it in every functional call on the {{periodic}} page. Also, the periodic template needs some logic in there to allow you to select one of the ele units to "highlight" it. I'm not sure how to accomplish that yet.--Robert W King 15:58, 6 April 2008 (CDT)
- I'm on it :-)--David Yamakuchi 16:38, 6 April 2008 (CDT)
- Basically, the command should be
{{periodic|highlight=thiscoordinate or thiselement}}
or something like that. --Robert W King 17:07, 6 April 2008 (CDT)- Check it out...[1]--David Yamakuchi 21:01, 7 April 2008 (CDT)
- Basically, the command should be
- I'm on it :-)--David Yamakuchi 16:38, 6 April 2008 (CDT)
Cell Width
When does the b field ever get used in the context of "border:{{{b}}}px solid #000;"? It seems that the addition of a border here causes each cell to become wider. Chris Day 13:12, 8 April 2008 (CDT)
- I put a hook in so that we can resize the "element" if needed. I left the border setting in place so that if you want to have an ele that has a border, theoretically you should be able to declare it to be a smaller size and compensate. I haven't tested this of course, we don't need the functionality...for _this_ table :-)--David Yamakuchi 13:38, 8 April 2008 (CDT)
- There's a problem with each ele cell border I discovered early on (shoulda said something, apologies). Remember when you add a border to all sides, it adds 1 pixel width to every little ele cell, so in effect something 6 pixels wide becomes 8. Multiply that times how many ele cells there are and... you get the idea. Also you'll end up with double-thick lines if you border all eles which look really unsightly. --Robert W King 13:45, 8 April 2008 (CDT)
- I guessed the double line, judging from the white space, and was testing to see what a dark gray double line would look like. I have not really delved into the code too much. Are all these cell elements part of a table? If so, why couldn't a cellspacing=0 parameter be used to prevent a double line? Chris Day 13:52, 8 April 2008 (CDT)
- There's a problem with each ele cell border I discovered early on (shoulda said something, apologies). Remember when you add a border to all sides, it adds 1 pixel width to every little ele cell, so in effect something 6 pixels wide becomes 8. Multiply that times how many ele cells there are and... you get the idea. Also you'll end up with double-thick lines if you border all eles which look really unsightly. --Robert W King 13:45, 8 April 2008 (CDT)