PDA

View Full Version : Changing Text



мϊкэ
08-07-2005, 05:54 PM
how would i go about changing text on clicking a link? so when somebody clicks a link a piece of text on the page will change to somthing else?

-JT-
08-07-2005, 06:06 PM
i'm sorry, but i dont understand

splintercell!
08-07-2005, 06:09 PM
You mean like an iframe or something :S When you click a link and text appears in a certain area.

Mentor
08-07-2005, 06:13 PM
do you mean like say an ifraim, to change a whole page, or like say javascript to change the text like say for the + and - buttons on a open close menu system "/

splintercell!
08-07-2005, 06:29 PM
Well looking at his site i dont think hes that stupid "/ can you give us an example please.

:Blob
08-07-2005, 06:34 PM
I think he means this


Nav
Nav
Nav
Nav
*Click this*
*NAME TEXTBOX*Show text
*Click this next*
Shows in text box

splintercell!
08-07-2005, 06:39 PM
thats what we have all ben saying :)

мϊкэ
08-07-2005, 06:43 PM
erm...
right theres the nav
when you click an option on the nav it will change the php include in the content box, there is like a tag above the content box like people normally do which would say something like "Content" when somebody clicks a link on the nav not only will the include change but also the text above the content box will change to something of my choice and it will work for all links

Mentor
08-07-2005, 07:00 PM
you could ether just print the page name varible there via echo, or run another if stament to change the page name varinle in to the writen page name of your choise "/

splintercell!
08-07-2005, 07:09 PM
Why not just include the title in each page.. just afew lines above..

Want to hide these adverts? Register an account for free!