Thank you - yeah, relative URL is ok - whole thing was a conflict
between jQuery and Prototype - they both use '$' to shorten code
footprint; working now Thanks Again

On Feb 25, 3:40 pm, Matt Foster <mattfoste...@gmail.com> wrote:
> Your URL is relative, you sure this is correct?
>
> >     new Ajax.PeriodicalUpdater('clock', 'required/clock/gettime.php',
>
> Try testing it out with a regular Ajax.Request and listening to the
> onSuccess/Failure/Exception events and see what is going on.
>
> --
>
> http://positionabsolute.net
>
> On Feb 25, 10:10 am, Bhudda Ben <benjamin.rud...@gmail.com> wrote:
>
>
>
> > I am newbie to AJAX and scriptaculous (I know and use php & js) with
> > what I hope is easy question.  I am building a new homepage for my
> > company with the idea that a basic shell of links and other widgets is
> > always in browser, but center section changes to provide other
> > commonly used company widgets.  I have not yet started to play with
> > center section - the main use of AJAX - but, and here is problem:
>
> > Company desires  automatically updating time widget at bottom of page
> > - this feature was already in use implemented in scriptaculous at our
> > London office; this is why I am starting with scriptaculous rather
> > than some other AJAX implementation.  I stole the following code:
>
> > Head section:
> > <script src="required/scriptaculous/lib/prototype.js" type="text/
> > javascript"></script>
> > <script type="text/javascript">
> >     new Ajax.PeriodicalUpdater('clock', 'required/clock/gettime.php',
> > {asynchronous:true, frequency:60});
> > </script>
>
> > And of course, brought all the scriptacous code over to required/lib.
>
> > At bottom of page London original was:
>
> > <div id="clock" align="center"><?php include ("required/clock/
> > gettime.php"); ?></div>
>
> > I used that and also tried:
>
> > <span id="clock">
> >                         <?php
> >             //include clock footer
> >             include ("required/clock/gettime.php");
> >             ?>
> >             </span>
>
> > (since I had the whole in table, thought I might need to go to span
> > instead of div)
>
> > That's it - works in London, does not work in NY for me and London guy
> > who did original long gone.
>
> > The only other difference is London site runs on Windows; mine runs on
> > Linux - is that a prob?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to