simpson7647 Posted February 9, 2011 Share Posted February 9, 2011 hi all, i need a bit of help as some of my pages are becoming cluttered up with a lot of text.Ive included some faqs within my website but im wondering is it possible for me to hide the answer and then for the answer to appear apon clicking a button and then disappear when clicking again?This will save space so hopefully there is an answer.many thanks,regards,Ryan Link to comment Share on other sites More sharing options...
simpson7647 Posted February 9, 2011 Author Share Posted February 9, 2011 bumpp, help pleasethankss Link to comment Share on other sites More sharing options...
simpson7647 Posted February 9, 2011 Author Share Posted February 9, 2011 someone help pleasethanks Link to comment Share on other sites More sharing options...
Truemedia Posted February 10, 2011 Share Posted February 10, 2011 You could do that with a module using jquery to hide elements. Link to comment Share on other sites More sharing options...
simpson7647 Posted February 10, 2011 Author Share Posted February 10, 2011 thanks, so the jquery is the module i should look out for?is there not a simple bit of coding i can put in place to do this with a button for see answer or something and then one to hide?thanks Link to comment Share on other sites More sharing options...
Truemedia Posted February 10, 2011 Share Posted February 10, 2011 No jquery is framework included in prestashop for coding, so you would need to make a module with jquery script included. It's not as simple as pasting the code, you need somewhere to add html and javascript through a hook and add php code to deal with printing dynamic questions and answers. Link to comment Share on other sites More sharing options...
simpson7647 Posted February 10, 2011 Author Share Posted February 10, 2011 oh right, thank you very much for the input.I think i may just leave it for now and who knows what may come up when the website is finished.thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now