PDA

View Full Version : New text box on homepage needed


RogersDA
Feb-21-2010, 09:39 AM
Below the bioBox @ http://elitegym.smugmug.com they want me to add another container that will be used for news, updates, etc. They want to have this as a separate, distinct box from the bioBox. The homepage options don't seem to have another container that I could use on the homepage only.

Any ideas?

jfriend
Feb-21-2010, 09:41 AM
Below the bioBox @ http://elitegym.smugmug.com they want me to add another container that will be used for news, updates, etc. They want to have this as a separate, distinct box from the bioBox. The homepage options don't seem to have another container that I could use on the homepage only.

Any ideas? You don't say specifically what you're trying to do, but why can't you just put more HTML in the biobox to accomplish what you're trying to do. It's just a canvas that you can't put more than one thing on.

RogersDA
Feb-21-2010, 09:51 AM
You don't say specifically what you're trying to do, but why can't you just put more HTML in the biobox to accomplish what you're trying to do. It's just a canvas that you can't put more than one thing on."They" want it separate so that it can be formatted like the bioBox with its own border, background, etc. It will probably be just a holder for html (like the bioBox is now, but w/o the photo). If there was a way to form the double-border twice in the bioBox (an upper border containing the bio text/photo and a lower border containing the news items then that may work).

I think the basic idea is to prevent accidentally deleting the wrong stuff when editing content later on...

jfriend
Feb-21-2010, 09:52 AM
"They" want it separate so that it can be formatted like the bioBox with its own border, background, etc. It will probably be just a holder for html (like the bioBox is now, but w/o the photo). If there was a way to form the double-border twice in the bioBox (an upper border containing the bio text/photo and a lower border containing the news items then that may work).

I think the basic idea is to prevent accidentally deleting the wrong stuff when editing content later on... As you've already discovered, there is only one user customizable box on the homepage (the biobox). Nothing we can do about that. The biobox is just a plain HTML container. If you want two visual boxes inside it, then just use it as a plain container and put two visual boxes in it, each with their own border, title, etc...

RogersDA
Feb-21-2010, 10:15 AM
As you've already discovered, there is only one user customizable box on the homepage (the biobox). Nothing we can do about that. The biobox is just a plain HTML container. If you want two visual boxes inside it, then just use it as a plain container and put two visual boxes in it, each with their own border, title, etc...That's what I was concluding - thought I would ask in case someone had an idea...

Thanks John.

jfriend
Feb-21-2010, 10:55 AM
Could something like you are asking for be done with tables?No need to use tables. Two divs will do it.

<html>
<div id="bioBoxSub1">
contents of first box here
</div>

<div id="bioBoxSub2">
contents of second box here
</div>
</html>

RogersDA
Feb-21-2010, 03:57 PM
No need to use tables. Two divs will do it.Yeah - that's probably going to work for them.