nooto
01-31-2008, 08:22 AM
Hello,
I have the following case : 5 buttons (history, news, etc), and <div>... text + images...</div>. After click on every button only text and images has to change in the page.
How would you recommend me to accomplish this ??
1. By creating separate html for every theme (history, news, etc) and and use href command that after press on every button new html opens.
2. Maybe use javascript on click command to change the contents of the div? However I'm not really aware how to do this yet :D .
3.? (your offer)
Please tell me what would you do to solve this task. And your comments on the first method are welcome, is it ok? or is it bad?
Thanks!!
Ehm... sorry bad topic, just noticed... :) Thought of discussing importing text from file, then changed my mind....
I have the following case : 5 buttons (history, news, etc), and <div>... text + images...</div>. After click on every button only text and images has to change in the page.
How would you recommend me to accomplish this ??
1. By creating separate html for every theme (history, news, etc) and and use href command that after press on every button new html opens.
2. Maybe use javascript on click command to change the contents of the div? However I'm not really aware how to do this yet :D .
3.? (your offer)
Please tell me what would you do to solve this task. And your comments on the first method are welcome, is it ok? or is it bad?
Thanks!!
Ehm... sorry bad topic, just noticed... :) Thought of discussing importing text from file, then changed my mind....