I think I need help...
I am working on a new layout and I have my content in a target div. I am converting a fanlisting to shrine so I am using PHP, unlike AngularJS which I have been using for my more recent sites. I was wondering if there was an ability to switch content on click in this div so I don't need to refresh the page each time?
http://stackoverflow.com/questions/6519 ... g-all-page ??
Does anyone here use AJAX calls?
I'm not well-versed in the PHP side of things. :T
PHP and target divs....
Re: PHP and target divs....
You could do it with javascript/ajax loading or just hide the content with css, and switch visibility onclick.
THE FATE OF DESTRUCTION IS ALSO THE JOY OF REBIRTH.
Re: PHP and target divs....
Switching visibility is a good option, you can also switch the inner html, though I find that switching visibility is more convenient.
Re: PHP and target divs....
I could do that since I know how to do that easily. xD;
Especially if there's not a TON of content that might the best solution. Thanks!
Especially if there's not a TON of content that might the best solution. Thanks!