just wondering if there's a way in php to show/hide some html, ie on mouse over or click for html to appear on screen i.e. it's already loaded but not displayed(it's possible in Javascript)
thanks
jatar_k
5:56 am on Nov 1, 2006 (gmt 0)
no there isn't, javascript is your best bet
jackdack
6:56 am on Nov 1, 2006 (gmt 0)
thanks
mcibor
3:21 pm on Nov 1, 2006 (gmt 0)
Just remeber, that whatever you write in php it is done on the server, not on the user's computer. So if you want to get something from user he has to display the page once more.
Javascript, however, is processed by the browser, therefore mouse/keyboard can affect it.
Hope this cleares the matter for you. Michal
jackdack
9:34 am on Nov 2, 2006 (gmt 0)
thanks for detail
i discovered css may take care of this issue
mcibor
11:02 pm on Nov 2, 2006 (gmt 0)
css is not perfect, as there are many browsers that don't support it Therefore I recommend using onMouseOver, onMouseOut and onClick