That does the trick. Thank you for that. I intended to do something
similar but I don't have the Javascript background to do what you
did.

Vivat Jesus,
Paul

On Feb 2, 1:31 pm, Jeremy Geerdes <[email protected]> wrote:
> I took the liberty of making the modifications with the switch, etc. You can 
> find it at the link below:
>
> http://jgeerdes.home.mchsi.com/gfslideshow-with-marketing.html
>
> You will notice that there are two slideshows on the page. The first controls 
> the caption/marketing message, while the second is just along for the ride.
>
> Hope this helps someone!
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> [email protected]
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> Church!
>
> On Feb 2, 2010, at 11:39 AM, ptcruiser wrote:
>
>
>
> > Ok I got it, check it out:
>
> > GFslideShow.prototype.setNextPhoto = function() {
> >  if (this.images.length == 0) {
> >    return;
> >  }
> >  var ci = this.photo_index;
> >    document.getElementById('splash-menutst').innerHTML = this.entries
> > [ci].title;
>
> > I think I can work with this now. What do you think?
>
> > On Feb 2, 12:08 pm, Jeremy Geerdes <[email protected]> wrote:
> >> And actually, the more I think about it, you're going to want to put that 
> >> innerHTML code in the method that switches the images out, or you'll just 
> >> end up with that element containing the last feed entry's information. 
> >> You'll also probably want to wire it to a switch (probably an additional 
> >> option) so that, if it's not provided, the show will just go on, rather 
> >> than having all of the different shows on your page do the same thing on 
> >> their different timers and/or having to include both versions of the 
> >> gfslideshow.js and the mess that would involve.
>
> >> Jeremy R. Geerdes
> >> Effective website design & development
> >> Des Moines, IA
>
> >> For more information or a project quote:http://jgeerdes.home.mchsi.com
> >> [email protected]
>
> >> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> >> Church!
>
> >> On Feb 2, 2010, at 10:58 AM, ptcruiser wrote:
>
> >>> Ok,
> >>> I think I have figured everything out except how to get the value to
> >>> display. Apparently I need the "title" field from the rss feed so I
> >>> modified the code to look like this:
> >>> image.setAttribute('alt',this.entries[i].title);
> >>> That works good. Now the value is placed into the elements "alt"
> >>> property on the page.
> >>> The next problem is that I thought this should work to get the value
> >>> in the document for display purposes like you suggested:
> >>> document.getElementById('marketingMessage').innerHTML = this.entries
> >>> [i].title;
>
> >>> That seems to kill the script and it stops working all together.
>
> >>> Paul
>
> >>> On Feb 2, 8:32 am, Jeremy Geerdes <[email protected]> wrote:
> >>>> Sure. The easiest way, of course, would be to make sure that your feed 
> >>>> includes the appropriate content tag (e.g., description for rss, summary 
> >>>> for atom) and then use something similar to what I suggested in this 
> >>>> post:
>
> >>>>http://groups.google.com/group/google-ajax-search-api/browse_thread/t...
>
> >>>> Alternatively, you could set up a JS array of the messages you want to 
> >>>> include and then change the code suggested at the link above to 
> >>>> something like this:
>
> >>>> image.setAttribute('alt',messageArray[i]);
>
> >>>> Finally, if you wanted to make sure that the user saw the messages 
> >>>> (i.e., they didn't have to mouseover the image), you could always change 
> >>>> that line completely to put the message in a different element on the 
> >>>> page which would then be visible for all to see. For example:
>
> >>>> document.getElementById('marketingMessage').innerHTML = messageArray[i];
>
> >>>> Then #marketingMessage would have only to be in the same neighborhood on 
> >>>> the page as the slideshow (e.g., the element directly to the right of 
> >>>> your large slideshow now).
>
> >>>> Jeremy R. Geerdes
> >>>> Effective website design & development
> >>>> Des Moines, IA
>
> >>>> For more information or a project quote:http://jgeerdes.home.mchsi.com
> >>>> [email protected]
>
> >>>> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> >>>> Church!
>
> >>>> On Feb 2, 2010, at 7:20 AM, ptcruiser wrote:
>
> >>>>> Hi Jeremy,
> >>>>> Thanks for the help on this issue. I saw your other post about
> >>>>> captioning and I think I understand it but my question is: Is there a
> >>>>> way to add caption "snippets" to the rss feed coming in. Perhaps they
> >>>>> wouldn't have a direct connection to the picture but they could have
> >>>>> some sort of sales messages with them and cycle through a generic set
> >>>>> of pitches.
>
> >>>>> Just a thought,
>
> >>>>> Paul
>
> >>>>> On Jan 31, 10:23 pm, Jeremy Geerdes <[email protected]> wrote:
> >>>>>> In your CSS, you have a rule that sets all .gss1 to display: 
> >>>>>> inline-table; Firefox doesn't like this, and IE is even more picky 
> >>>>>> about the display style. Both are choking here. If you make the line 
> >>>>>> of divs into a table with a single row of td's with the appropriate 
> >>>>>> ids, you should be able to get the look you're trying to accomplish. 
> >>>>>> Otherwise, you could use floated divs, but that can be pretty finicky 
> >>>>>> in and of itself.
>
> >>>>>> Jeremy R. Geerdes
> >>>>>> Effective website design & development
> >>>>>> Des Moines, IA
>
> >>>>>> For more information or a project quote:http://jgeerdes.home.mchsi.com
> >>>>>> [email protected]
>
> >>>>>> If you're in the Des Moines, IA, area, check out Debra Heights 
> >>>>>> Wesleyan Church!
>
> >>>>>> On Jan 31, 2010, at 8:12 PM, ptcruiser wrote:
>
> >>>>>>> I cant seem to figure this one out. Check the slideshow feed out at
> >>>>>>> the following website in Chrome, IE and Firefox.
>
> >>>>>>>http://www.raleighpaving.com/index4.shtm
>
> >>>>>>> In Chrome multiple feeds seems to work while in Internet  Explorer and
> >>>>>>> Firefox there is some disconnect.
>
> >>>>>>> Can anyone tell me what I am doing wrong?
>
> >>>>>>> --
> >>>>>>> You received this message because you are subscribed to the Google 
> >>>>>>> Groups "Google AJAX APIs" group.
> >>>>>>> To post to this group, send email to 
> >>>>>>> [email protected].
> >>>>>>> To unsubscribe from this group, send email to 
> >>>>>>> [email protected].
> >>>>>>> For more options, visit this group 
> >>>>>>> athttp://groups.google.com/group/google-ajax-search-api?hl=en.-Hidequotedtext
> >>>>>>>  -
>
> >>>>>> - Show quoted text -
>
> >>>>> --
> >>>>> You received this message because you are subscribed to the Google 
> >>>>> Groups "Google AJAX APIs" group.
> >>>>> To post to this group, send email to 
> >>>>> [email protected].
> >>>>> To unsubscribe from this group, send email to 
> >>>>> [email protected].
> >>>>> For more options, visit this group 
> >>>>> athttp://groups.google.com/group/google-ajax-search-api?hl=en.-Hidequoted
> >>>>>  text -
>
> >>>> - Show quoted text -
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups 
> >>> "Google AJAX APIs" group.
> >>> To post to this group, send email to 
> >>> [email protected].
> >>> To unsubscribe from this group, send email to 
> >>> [email protected].
> >>> For more options, visit this group 
> >>> athttp://groups.google.com/group/google-ajax-search-api?hl=en.-Hide 
> >>> quoted text -
>
> >> - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google AJAX APIs" group.
> > To post to this group, send email to 
> > [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-ajax-search-api?hl=en.- Hide quoted 
> > text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to