Amendment to JS/PHP testimonial script
4534
$$
- Posted:
- Proposals: 6
- Remote
- #102826
- Archived
Description
Experience Level: Intermediate
On our website we have a scrolling JavaScript testimonial, that is already in place and working well.
We have a postgresql database here on site, that stores records of our testimonials (which are inserted by a script we have in place and already working fine).
Currently, I have to insert each testimonial via the above script, and then go to the page where these are shown (location 1). I then have to copy each testimonial and manually insert them into the javascript, which looks something like:
pausecontent[0]='First bit of text<Br /><br />Second bit of text<Br /><br /><strong>3rd bit of text<br />16th October 2011</strong><Br /><br />'
pausecontent[1]='First bit of text<Br /><br />Second bit of text<Br /><br /><strong>3rd bit of text<br />16th October 2011</strong><Br /><br />'
pausecontent[2]='First bit of text<Br /><br />Second bit of text<Br /><br /><strong>3rd bit of text<br />16th October 2011</strong><Br /><br />'
and so on, we currently show 10 different testimonials.
I need our Javascript script changing so that it calls a php file(which I already have - which pulls the data) - and then change that into a format similar to the above, so that its all dynamic and testimonials do not need manually putting in the JS file.
As mentioned, the .php file already exists that pulls the data, and the JS code is already in place to show the testimonials (which are manually entered) so I need the script amending to pull the testimonials from the JS file, format them so they look like the above format.
We have a postgresql database here on site, that stores records of our testimonials (which are inserted by a script we have in place and already working fine).
Currently, I have to insert each testimonial via the above script, and then go to the page where these are shown (location 1). I then have to copy each testimonial and manually insert them into the javascript, which looks something like:
pausecontent[0]='First bit of text<Br /><br />Second bit of text<Br /><br /><strong>3rd bit of text<br />16th October 2011</strong><Br /><br />'
pausecontent[1]='First bit of text<Br /><br />Second bit of text<Br /><br /><strong>3rd bit of text<br />16th October 2011</strong><Br /><br />'
pausecontent[2]='First bit of text<Br /><br />Second bit of text<Br /><br /><strong>3rd bit of text<br />16th October 2011</strong><Br /><br />'
and so on, we currently show 10 different testimonials.
I need our Javascript script changing so that it calls a php file(which I already have - which pulls the data) - and then change that into a format similar to the above, so that its all dynamic and testimonials do not need manually putting in the JS file.
As mentioned, the .php file already exists that pulls the data, and the JS code is already in place to show the testimonials (which are manually entered) so I need the script amending to pull the testimonials from the JS file, format them so they look like the above format.
Richard J.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
14 May 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies