Curious, why do you think that you had to add the src attribute after the
onload event? BTW, I tested successfully using the latest versions of
Firefox and IE7.
On 9/27/07, Jason Lee <jason_at_steeplesoft.com> wrote:
>
> On 9/27/07, Jason Lee <jason_at_steeplesoft.com> wrote:
> >
> > On 9/26/07, Jason Lee <jason_at_steeplesoft.com> wrote:
> > >
> > > I will take a look when I get a chance.
> > >
> >
> > This is interesting:
> >
> > https://jsftemplating.dev.java.net/nonav/index.html
> >
>
> OK. I think I fixed it. It's working for me, at least, in FF 2.0.0.7,
> Safari 3 and IE 6. Here's what I did:
>
> * In index.html , I removed the src attribute from the iframe and add
> id="calendar".
> * In site.js, I added the following:
> window.onload = function() {
> var i = document.getElementById ("calendar");
> i.src = "http://www.google.com/calendar/embed?src=qdrqt481g8sbgbnbsbg0m3ukf8%40group.calendar.google.com
> ";
> }
> which basically adds the src attribute back after the page loads.
> Fancy, eh?
>
> Let me know if that doesn't work in some browser/OS config and we'll try
> to work through it.
>
> --
> Jason Lee, SCJP
> Software Architect -- Objectstream, Inc.
> JSF RI Dev Team
> http://blogs.steeplesoft.com
>