| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2005
Posts: 59
|
Do I need to use JavaScript for this?
I'm trying to do something with this website, where if I click on a name under "Biography" then text will appear in the "Info" box. Does anyone know how I can do this? Thanks alot for the help. |
|
|
|
|
|
#2 (permalink) |
|
dt immigrant
|
Quirky code, but have a look here http://randomcolors.com/uploads/dt/showhide/ |
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Sep 2005
Posts: 59
|
I'm trying to test this code out on my site, I'm not sure what I'm doing wrong. Can someone take a look at my code? Here is the web site. Thank you. |
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Sep 2005
Posts: 59
|
Thanks alot. It works great now. I have one last question. Here is the site again. How can I get the little white "Africa" box to line up closer to the "Biography" box. Right now its too far under it. Thanks. |
|
|
|
#7 (permalink) |
|
dt immigrant
|
You could try to put it in the source before the right container. or use on the #container div position:relative; and the africa one position:absolute; One suggestion off-topic either completely ditch the papyrus font, or use an image replacing technique, because it looks kind of... ugly |
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Sep 2005
Posts: 59
|
Really? You don't like the papryus font? I like it alot, it matches the main banner. It doesnt really matter because most people don't even have that font on their computer (i think mostly Mac users are seeing it). Most people see Verdana, I think. You dont even like the papyrus font on the main menu? Any other design suggestions are definintly welcome. This being my first website and all. |
|
|
|
#9 (permalink) |
|
dt immigrant
|
Frankly, I don't, but it may be just a personal preference Have a look here http://www.mezzoblue.com/tests/revis...e-replacement/ |
|
|
|
#12 (permalink) |
|
who the fuck am i?
|
example of image replacement - html: <h1 class="index"><span class="hide">some text here</span></h1> - h1 header tag with 'some text' surrounded by a span tag css: span.hide {display:none;} this stops the 'some text' from displaying h1.index {background:url(../images/headers/index.gif) left top no-repeat;}this puts your papyrus text as an image to the background of the h1 tag. Of course it means that you have to create the images to insert and that you must get into css - if you havent already |
|
|
|
#14 (permalink) | |
|
Registered User
Join Date: Sep 2005
Posts: 59
|
Quote:
I'm really suprised you guys dont like the font. Most people who can actually view the font tell me that its one of thier favorite things on the site. |
|
|
|
|
#16 (permalink) | |
|
who the fuck am i?
|
Quote:
|
|
|
|
|
#17 (permalink) |
|
dt immigrant
|
I still don't like it. Probably I would not like it even if it was smooth. Somehow I feel it does not sit well with the overall feel of the layout. It's too messy and looks out of place on a layout that is crisp and clear. But it may be too soon to comment on the design now |
|
|
|
#20 (permalink) | ||
|
who the fuck am i?
|
Quote:
from google search: Quote:
|
||
|
![]() |