Scroller Genie Support Product Page
This topic is locked
This topic was archived
JavaScript error...
Asked 10 Mar 2004 15:11:13
1
has this question
10 Mar 2004 15:11:13 Dave Arcari posted:
HiDownloaded and installed Scroller Genie no problem. When I click OK in Scroller Genie (to build the scroller, I guess) I get a JavaScript error message in a Macromedia Dreamweaver MX2004 window as follows:
While executing onClick in dmxScrollGenie.html, the following JavaScrip error(s) occurred: At line 40 of file "C:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration\Shared\FlevDMX\scripts\flevDOM.js": TypeError: I_sLibPath has no properties
The only option to click is 'ok' - if I click OK, the same box appears. If I click OK it disappears and the Scroller Genie window says "Please wait while Scroller Genie builds your scroller..."
If I close the Scroller Genie window, there appears to be a scroller on the page, but if I preview the web page in a browser I see the scroller but get an immediate error dialogue window saying 'a runtime error has occurred. Do you wish to Debug? Line:92 Error: Object expected.
I can close the box, but get the same message if I mouseover the scroll buttons (a different line number if i go over the top arrow).
I'm running Windows XP Pro and Dreamweaver MX 2004.
Can you help?
Cheers!
Dave
Replies
Replied 10 Mar 2004 15:52:14
10 Mar 2004 15:52:14 Marja Ribbers-de Vroed replied:
Hi Dave,
Some questions for you:
1) Did you go through the registration wizard? And if you did, did you restart DW afterwards?
2) Are you working in a "defined Dreamweaver site"?
3) Do your DW site files have a proper disk location (other than your desktop)?
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Some questions for you:
1) Did you go through the registration wizard? And if you did, did you restart DW afterwards?
2) Are you working in a "defined Dreamweaver site"?
3) Do your DW site files have a proper disk location (other than your desktop)?
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 10 Mar 2004 17:31:04
10 Mar 2004 17:31:04 Dave Arcari replied:
Hi
1) Did you go through the registration wizard? And if you did, did you restart DW afterwards?
...yes
2) Are you working in a "defined Dreamweaver site"?
...mmm...not really - I just created a quick test site/page....I'll try dropping the scroller into a 'defined' site....
3) Do your DW site files have a proper disk location (other than your desktop)?
...just a test folder in 'My Documents'
....
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
1) Did you go through the registration wizard? And if you did, did you restart DW afterwards?
...yes
2) Are you working in a "defined Dreamweaver site"?
...mmm...not really - I just created a quick test site/page....I'll try dropping the scroller into a 'defined' site....
3) Do your DW site files have a proper disk location (other than your desktop)?
...just a test folder in 'My Documents'
....
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 10 Mar 2004 17:48:20
10 Mar 2004 17:48:20 Marja Ribbers-de Vroed replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
1) Did you go through the registration wizard? And if you did, did you restart DW afterwards?
...yes
2) Are you working in a "defined Dreamweaver site"?
...mmm...not really - I just created a quick test site/page....I'll try dropping the scroller into a 'defined' site....
3) Do your DW site files have a proper disk location (other than your desktop)?
...just a test folder in 'My Documents'
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Please pay special attention to points 2 and 3.
ad 2) Scroller Genie needs to be used in a defined site, because it needs to copy some files from the DW configuration folder to your site folder.
To be able to do that it asks DW where the site resides on the computer. If you're not working in a defined site, then DW doesn't give a proper answer to that question (in fact it doesn't know the answer) and thus the copy action will fail.
ad 3) As for the proper disk location: the desktop and folders like 'My Documents' are "virtual" directories which are potentially problematic. In such cases it may well be that DW again is not capable of returning the correct location and again the copy action will fail.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
1) Did you go through the registration wizard? And if you did, did you restart DW afterwards?
...yes
2) Are you working in a "defined Dreamweaver site"?
...mmm...not really - I just created a quick test site/page....I'll try dropping the scroller into a 'defined' site....
3) Do your DW site files have a proper disk location (other than your desktop)?
...just a test folder in 'My Documents'
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Please pay special attention to points 2 and 3.
ad 2) Scroller Genie needs to be used in a defined site, because it needs to copy some files from the DW configuration folder to your site folder.
To be able to do that it asks DW where the site resides on the computer. If you're not working in a defined site, then DW doesn't give a proper answer to that question (in fact it doesn't know the answer) and thus the copy action will fail.
ad 3) As for the proper disk location: the desktop and folders like 'My Documents' are "virtual" directories which are potentially problematic. In such cases it may well be that DW again is not capable of returning the correct location and again the copy action will fail.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 10 Mar 2004 18:00:25
10 Mar 2004 18:00:25 Dave Arcari replied:
Hi again Marja
Thanks for the help I've now defined a proper site that's sitting in mywwwroot folder. The scroller now builds OK, but when I open the finished page/s in IE I'm getting an error dialogue box saying A runtime error has occurred. Line 44. Error: 'flv53' is undefined. If I ignore the 'do you wabnt to debug' box and close the window, the scroller looks OK but doesn't work. I get visual rollovers over the arrows but they don't do anything and tghe slider soesn't work.
Cheers!
Dave
Thanks for the help I've now defined a proper site that's sitting in mywwwroot folder. The scroller now builds OK, but when I open the finished page/s in IE I'm getting an error dialogue box saying A runtime error has occurred. Line 44. Error: 'flv53' is undefined. If I ignore the 'do you wabnt to debug' box and close the window, the scroller looks OK but doesn't work. I get visual rollovers over the arrows but they don't do anything and tghe slider soesn't work.
Cheers!
Dave
Replied 10 Mar 2004 19:07:41
10 Mar 2004 19:07:41 Marja Ribbers-de Vroed replied:
Hi Dave,
I can't reproduce that.
Can you give me the exact steps that lead to this situation, including the options you have chosen in the Scroller Genie dialog?
Sorry for the inconvenience.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
I can't reproduce that.
Can you give me the exact steps that lead to this situation, including the options you have chosen in the Scroller Genie dialog?
Sorry for the inconvenience.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 11 Mar 2004 01:27:08
11 Mar 2004 01:27:08 Dave Arcari replied:
Hi Marja
...I created and defined a new site as normal. On the home page I clicked the scroller genie icon and the dialogue box came up. I just clicked OK so guess I got the default scroller...a dialogue box came up saying some functions were written to the external JS file 'ScrollerGenie.js" in your ScriptLibrary directory and a reminder to upload the file to the web server to the it all seemed to build OK.
AAAHHHH! I thought if it was in the ScriptLibrary folder on the server it'd be OK...but I copied it out the folder and left it 'loose' and it seems to work OK now!!!
Thanks so much for your help...and sorry if I made a stupid mistake/assumption. I'm away all day tomorrow, but will try incorporating into new design on Friday and let you if I have any hassles!
Thanks again
Dave
...I created and defined a new site as normal. On the home page I clicked the scroller genie icon and the dialogue box came up. I just clicked OK so guess I got the default scroller...a dialogue box came up saying some functions were written to the external JS file 'ScrollerGenie.js" in your ScriptLibrary directory and a reminder to upload the file to the web server to the it all seemed to build OK.
AAAHHHH! I thought if it was in the ScriptLibrary folder on the server it'd be OK...but I copied it out the folder and left it 'loose' and it seems to work OK now!!!
Thanks so much for your help...and sorry if I made a stupid mistake/assumption. I'm away all day tomorrow, but will try incorporating into new design on Friday and let you if I have any hassles!
Thanks again
Dave
Replied 18 Mar 2004 11:04:38
18 Mar 2004 11:04:38 Marja Ribbers-de Vroed replied:
Glad it's okay now <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
