Forum Moderators: open

Message Too Old, No Replies

Dreamweaver: DHTML Timeline won't play

Works fine on my mac and pc locally, not online

         

stockstreet

2:58 am on Nov 6, 2004 (gmt 0)

10+ Year Member



Hi everyone,

I'm using the timeline panel in DW MX 2004 and got it all working locally. Works fine in Safari, IE 6, etc. But when I upload it to the server, the slideshow doesn't start. I've applied the onLoad behaviour for the timeline so I'm stumped. Any ideas anybody? - you can see an example at <Sorry, no example URLs. See TOS [webmasterworld.com]>

Thanks

[edited by: tedster at 3:49 am (utc) on Nov. 6, 2004]

tedster

3:52 am on Nov 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've applied the onLoad behaviour for the timeline...

My guess is that the onLoad calls a javascript function that is defined in an external file - and you may not have uploaded that file. Any possibility of that scenario?

stockstreet

4:04 am on Nov 6, 2004 (gmt 0)

10+ Year Member



Alas, no. I've uploaded just the one page (index.htm) the stylesheet and the images in a separate folder.

tedster

5:21 am on Nov 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not sure whether that means we have answer for you, or not.

If it still isn't working, is your timeline function defined in the <head> rather than an external file? How have you applied the timeline function onload -- or in other words, what does your <body> tag look like?

stockstreet

6:30 am on Nov 6, 2004 (gmt 0)

10+ Year Member



Sorry about this, I've only started looking at code in DW in the past 2 weeks. Looking at the code the timeline appears to be defined in the head of the index.htm page. It's about 300 lines! Do you want me to show you a sample?

As far as the <body> goes this is what I've got:

<body onLoad="MM_preloadImages('images/whyrio_over.gif','images/getting_over.gif','images/wedding_over.gif','images/social_over.gif','images/contact_over.gif','images/home_over.gif');MM_timelinePlay('Timeline1')">

[edited by: tedster at 9:25 am (utc) on Nov. 6, 2004]
[edit reason] remove extra code [/edit]

tedster

9:38 am on Nov 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No thanks, we don't need to see all 300 lines (at least I hope not)

Your timeline function is MM_timelinePlay() and in your <body> tag, you've assigned the parameter Timeline1 to it.

So two things must be present in the <head> - a definition for the function and a definition for the parameter. Are they there?

Also note - this is a Dreamweaver issue, so I am moving the thread over to the WYSIWYG Forum, where all the Dreamweaver users hang out.