NetTalk Central

Author Topic: Timer  (Read 3272 times)

zolinovak

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Timer
« on: August 20, 2007, 07:05:43 AM »
I want display a different picture every 15 second from my image list.

How the timer function  work in the nettalk?

Thanks for any help.

Zoltan Novak

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: Timer
« Reply #1 on: August 22, 2007, 07:45:51 AM »
Hi Zoltan,

ok, let's break the problem down slightly.

a) you need a netWebSource procedure to hold the image.
Inside this, use the .CreateImage method to create the HTML for the image, or just hard-code the <img> tag yourself.
This is the bit where you'll find the image name from your data file etc.

b) make sure this netWebSource has the
Generate Ajax Div ticked on, and fill in a timer.

c) "embed" this procedure on another page, using the
<!-- Net:procedurename -->
syntax.

Cheers
Bruce


Vic

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: Timer
« Reply #2 on: October 19, 2007, 10:10:59 PM »
Hi,

Is there a way to auto update a browse using a timer?

Thanks for any help,
Vic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: Timer
« Reply #3 on: October 21, 2007, 11:18:31 PM »
yes, see advanced tab in browse settings.

Cheers
Bruce