nutt318 Posted February 24, 2009 Share Posted February 24, 2009 This may be a stupid question but is there a way in PHP to have content on the page and then by clicking a button it would show another piece of content without refreshing? For example in gmail, you have have a gchat window open and still go into spam, inbox, even compose a new email. Basically my site has a live video feed on it and i want to have an image show up below the live stream when clicking a button, only problem is that the ways doing this just refreshes the page and the feed has to be started again. Hopefully I explained this without too much confusion. Thanks,Jake Quote Link to comment https://forums.phpfreaks.com/topic/146767-show-hiddent-content-without-page-refresh/ Share on other sites More sharing options...
cooldude832 Posted February 24, 2009 Share Posted February 24, 2009 its using the DOM object of xHTML/JavaScript and the links have onclick events that say adjust the display status of the div from block to none for example. Nothing to do with php as it is PreHypertext Processing Quote Link to comment https://forums.phpfreaks.com/topic/146767-show-hiddent-content-without-page-refresh/#findComment-770524 Share on other sites More sharing options...
nutt318 Posted February 24, 2009 Author Share Posted February 24, 2009 So I should start googling PreHypertext Processing? Quote Link to comment https://forums.phpfreaks.com/topic/146767-show-hiddent-content-without-page-refresh/#findComment-770526 Share on other sites More sharing options...
premiso Posted February 24, 2009 Share Posted February 24, 2009 Nothing to do with php as it is PreHypertext Processing Did you fail to notice that it has nothing to do with PHP? This is more of a html/javascript issue. PHP is done server side, html/javascript is client side which is what you want. Quote Link to comment https://forums.phpfreaks.com/topic/146767-show-hiddent-content-without-page-refresh/#findComment-770550 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.