views:

21

answers:

1

Hi friends,

I'm developing a 3D website (I mean you navigate the web with 3d glasses) and I'm getting frustrated with the texts.

Text headers should be in 3D too, but I can't find any 3d font type.

One solution could be overload the designer and create this texts as images, but it would be very expensive and bring internationalization problems.

Any idea?

Thanks in advance.

A: 

I think the most attractive solution would be using either a server-side scripting language or jQuery to automatically apply the effect shown in the uncyclopedia link to arbitrary content. I gather the essence of it is this:

<div style="position:relative;letter-spacing:2px;"> 
<p style="position:absolute;left:-2px;color:#f00;width:100%;">Text</p> 
<p style="position:absolute;left:2px;color:#0ff;width:100%;">Text</p> 
<p style="position:absolute;left:0px;color:#000;width:100%;">Text</p> 
<p style="visibility:hidden;">Text</p> 
</div> 

If you don't need to support non-Javascript clients, a jQuery solution would be preferable because the text content would remain properly indexable by search engines, and readable by screen readers. Also, you could have a "Turn 3D on / off" switch.

Pekka
Good solution, but I'd prefer a css font type. The 3D/2D switch exists already. I was thinking about developing a server-side function that, given a string, returns a processed 3D/2D text depending on the user settings, but the client-side solution seems better. I'll be working on it, thanks.
carles