Help - Search - Members - Calendar
Full Version: Problem with menus after downloading now DHTML Ap
xFX JumpStart Public Forums > DHTML Menu Builder > Frames Implementation > Using HotSpots
jordan2318
Since ive upgraded to te New DHTML 3.5.001 I cant get my menus to work.

I get the error:

Line: 88
Char: 1
Error 'cFrame' is undefined
Code: 0
url: http:///www.firstpeoplesolutions.co.uk/DHT...ndidatebar.html

any help would be great
xfx
Have you manually modifed the loader code on your pages?

Please post your .dmb project.
Also, is your server down? I tried to follow the link you posted but I got a "server not found" error.
jordan2318
Oh the addess had an extra /.

http://www.firstpeoplesolutions.co.uk

Ive not modified the code except to put the path to the menus. Heres the project file too.
xfx
Everything looks just fine...

Your project appears to be properly setup and the menus on your web site appear to be working.

If the menus on the web site are working because you reverted everything back, then follow these steps to properly upgrade to the latest 3.5 release (note that the latest release is 3.5.004):

- Open the project in DMB
- Recompile the project (Tools->Compile)
- Update the loader code on the "candidatebar.html" file (Tools->Install Loader Code)
- Update the frames loader code on all the pages that will be loaded/displayed on the "mainpage" frame (Tools->Install Frames Loader Code)
jordan2318
ive updated the software and still i get the same error.

cFrame error in my candidatebar.html.

if you goto http://www.firstpeoplesolutions.co.uk and you should see the error im getting.
xfx
You're hardcoding the location of the .js files on your loader code:

CODE
function LoadMenus() {if(!rjsPath){window.setTimeout("LoadMenus()", 10);return false;}document.write('<' + 'script language="JavaScript" type="text/javascript" src="' + rjsPath + '[b]http://www.firstpeoplesolutions.co.uk/DHTML/menus/menu.js[/b]"><\/script>');}LoadMenus();</script>


This is why the menus are not working.

You should never try to modify the code generated by DMB.
Update the loader code and post back the results.

If the suggested loader code from DMB doesn't work is because:

a) You have not uploaded the .js files to the correct folder
cool.gif The directory structure of your local copy of the web site is different from that on the server
c) Your configuration is not properly setup

-------

NOTE #1:
Remember to update the loader on all your pages:
- The loader code must be updated on the "canditatebar" document.
- The frames loader code must be updated on all the documents that are going to be displayed on the "mainpage" frame.

NOTE #2:
Make sure you're using DMB 3.5.004
jordan2318
thanks, restructured my local files and works fine.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.