Skip navigation
seebConnect7
Currently Being Moderated

XML Code Support & Help Needed for Background Slideshow Effect

Aug 9, 2012 8:21 AM

Tags: #help #javascript #xml #support #activate

Hello,

 

Asking for some support on the following code.

 

XML driven site to display the background with the page image and an image placeholder with has the text displayed inside.

 

Trying to add code for Background images to have a slide show effect.

     The Javascript triggers the Background slider to locate the images folder and select the images at the set time + effect.

 

The javascript activation code is at the bottom of this thread.

 

Question: How does the Javascript code become incorporated in this XML code below?

                    *Would <page picture="src"> need to be changed?

 

 

<!--XML Website-->

 

<xml version="1.0" encoding="utf-8">

     <channel>

          <global>

               <data>

                    <page picture="data/images/slide1.jpg">

                         <object type="text" bgcolor="0xFFFFFF">

                              <title><![CDATA[<font color="#545454">OUR PHILOSOPHY</font>]]></title>

                                   <texte><![CDATA[<font color="#8E8E8E">THE <font color="#ff9900">EVE<font color="#666666">™ applies the basic transition from a single dusk to twilight to help our clients reach their customers. <font color="#ff9900">We all find ourselves from sunrise to sunset embracing victories and facing challenges. <font color="#666666">The evening encompasses the longest principal timeframe of our day.  Our agency knows how to address the questions your business or personal ideas may be facing daily.  <font color="#ff9900">We will deliver the finest class of advertising through print solutions, motion graphics, web development and imaginative design.  <font color="#666666">THE <font color="#ff9900">EVE<font color="#666666">™ is all in house production which removes all the complications allowing our clients to internally address directly to us.

</font>]]></texte>

                              </object>

                         <object bgcolor="0x000000" type="picture" path="data/img/about/01.jpg" />

                    </page>

               </data>

          </global>

     </channel>

</xml>

 

 

 

<!--Javascript Trigger-->

 

<script type="text/javascript">

 

           $(document).ready(function(){

      $('#bs0').backslider({

           mode:'timer',

                effect:'slidefade',

                effectTime: 2000    

           });

      });

</script>

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points