Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 pages in one, class tags ?

Status
Not open for further replies.

Niavlys

IS-IT--Management
Jun 3, 2002
197
CA
Hi,
I would like to ask you guys if it's possible to have one single page which has the same information in french and in english but displays only what's in the right tag.
i.e

Code:
<french>
    Bonjour
</french>
<english>
    Hello
</english

Can I create tags like that and if yes, how do I specify which one to display when calling the page. I want to create help pages for an application and I don't want to create 2 separate pages for each topic.

Thanks!
 

I realise that this doesn't answer your question, but spare a thought for the poor modem users who will have to wait twice as long to download content that they'll probably never look at.

Consider using a server-side language instead, so you only deliver the required language to the page, and thus save yourself, your ISP, and your users, (potentially) a lot of bandwidth.

Hope this helps,
Dan
 
Thank you for making me realize how we can be stupid sometimes. My entire application is like this and I was thinking differently for those pages... I just don't know why!

Sorry for the time you lost answering me!

[smile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top