PDA

View Full Version : Quotation marks in the ultimate fade in slideshow



Belniak
03-06-2015, 06:17 PM
Quotation marks needed in the ultimate fade in slideshow. I am using the slide show located at this url. http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm.
I am using quotes in my peakaboo descriptions for the slide show. Each time I enter "" marks around the quote the slide show stops working. When I take them out it works again. It seems to not like the double quotation marks at the beginning. Can you let me know what I need to change in my below script to have the quotation marks show around the sentences during the slideshow.


<style>

#fadeshow2 .fadeslidedescdiv {
font: normal 17px "calibri" !important;
}

</style>


<div id="fadeshow2"></div>


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script type="text/javascript" src="fadeslideshow.js">

/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>

<script type="text/javascript">

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
dimensions: [900, 500], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resized%20autumn.jpg", "", "", "Prior to the model I had a single tool on my tool belt, however I now have all of the tools I need to effectively manage my team and drive improvement. 03/12/13 - Persons name "],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resized%20nature%20picture.jpg", "", "", "It has been instrumental in bringing performance improvement changes and the structured approach has helped us sustaining these results. 03/14/13 - Persons name "],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resized%20yellow%20flower.jpg", "", "", "Understanding and using the United Operating Model principals helped make my transition from E&I Claims to M&R A&G appeals run smoothly. It allowed me to jump in and manage my team with little to no lag time and left far fewer questions on the minds of my new staff. 02/4/13 - Persons name "],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedDetian-Ban-Gioc-Falls.jpg", "", "", "It has provided a consistent and streamlined process for daily business operations in a much more simple and organized fashion. We are now able to drive and strive towards our metrics, focusing on improving our weaknesses and celebrating our successes! 03/14/13 - Persons name "],


["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedhouseonthelake.jpg", "", "", "The IEs have become trusted business partners to commercial claim ops. Their flexibility and technical skills have allowed us to evaluate our ideas, and implement them in our business. They take the time to become familiar with our operation and have built a sustainable process to help us succeed in meeting our productivity goals. 02/10/14 - Persons name "],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedtreelinedstreet.png", "", "", "It is the driver of improved team performance and enhanced overall communication. 12/11/12 - Persons name"],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedchange8.jpg", "", "", "Without tracking production daily, we would have never realized that we had differences in how we were reviewing cases and a poor process which included unnecessary actions. 03/14/13 - Persons name"],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedchange6.jpg", "", "", "It all makes perfect sense, and it provides a platform to do the right things, measure the right things and communicate the right things with Sr. Management endorsement. Persons name"],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedspringriver.jpg", "", "", "It has allowed me to be more structured and consistent on how I analyze metrics, coach to metrics and how I communicate to the team about our trending and how we can improve. 03/14/13 - Persons name"],

["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedflowerfilled.jpg", "", "", "United Operating Model from team to team, improving the employee experience as it provides clear expectations regardless of team alignment, thus driving improved customer experience as results are achieved based on direction provided. 03/18/13 - Persons name"],



["http://uhc004.uhc.com/sites/UOMD/SiteDirectory/VEPSDelivery/Belniak/Workspace/Testimonial_Pics/resizedflowerintree.jpg", "", "", "It has become a way of life in Captive and every manager very passionately follows it. The operational governance that has been provided through structured daily, weekly and monthly activities has not only improved our performance metrics but also ensured wins on Quality and Service metrics. The Daily Huddles along with Agenda and Issue log supported with action plans has played an important role in delivering high performance in 2012. 03/14/13 - Persons name'] //<--no trailing comma after very last image element!
],

displaymode: {type:'auto', pause:15000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 2000, //transition duration (milliseconds)
descreveal: "peekaboo",
togglerid: ""
})


</script>

Beverleyh
03-06-2015, 06:40 PM
The JavaScript description strings are defined inside quotes so you can't use quotes inside them without escaping them first. You do that with a backslash.


"The boy said \"I want my ball back!\" to the children who wouldn't let him join the game."

BorderTerroir
03-07-2015, 07:36 AM
You could use &ldquo; (left double quote) and &rdquo; (right double quote) in the mark up to replace ".

This line;
"The boy said "I want my ball back!" to the children who wouldn't let him join the game."

becomes:
"The boy said &ldquo;I want my ball back!&rdquo; to the children who wouldn't let him join the game."