This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » CSS » changing text at same location using css
Reply

changing text at same location using css

ps sheba
Member



Since: 27 Oct 2007
Posts: 6
Posted 25 May 2009 10:17:25

Hi everyone,
I have a page with links. Each link, once clicked, should show different text on the same location at the main page.
text blocks are organized within "divs" for example:
<div id=text1>aaaaaaaaaaaaaaaaaaaaa</div>
<div id=text2>bbbbbbbbbbbbbbbbbd</div> etc...
If a user click "link1" i want him to see "aaaaaaaaaaaaaaaaaaaaaa" on the page.
link2 should show:"bbbbbbbbbbbbbb" etc...
Can i do it using css ? can anyone show me how ?
Thanks

Hi everyone,
I have a page with links. Each link, once clicked, should show different text on the same location at the main page.
text blocks are organized within "divs" for example:
<div id=text1>aaaaaaaaaaaaaaaaaaaaa</div>
<div id=text2>bbbbbbbbbbbbbbbbbd</div> etc...
If a user click "link1" i want him to see "aaaaaaaaaaaaaaaaaaaaaa" on the page.
link2 should show:"bbbbbbbbbbbbbb" etc...
Can i do it using css ? can anyone show me how ?
Thanks

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency