Dynamic HTML

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
robin@squiredeck.com.au
Beginner
Beginner
Posts: 7
Joined: Wed Jul 07, 2004 8:28 am
Location: Perth, Australia
Contact:

Dynamic HTML

Post by robin@squiredeck.com.au »

My HTML is currently localhost but can make available if neccessary. Basically I build my pages dynamically (using rexx say statements). If I do this for a basic page then the DHTML menu comes out ok. If I try this for a fairly hefty page then it does not. However if I save the source and access it as a statiic page then the DHTML menu shows. My pages are built from MySQL data under Apache, so I guess in HTML terms they are slow to be generated.

Do I have a timing problem?
Robin Whitlock
Director - Squiredeck
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,
I'm not sure about mySQL, there's a sample/demo for php/mySQL here http://milonic.com/forum/viewtopic.php?p=23523 As to the code, probably a page to be able to see what's happening would be easier for someone who knows about dynamically built menus.

Ruth
robin@squiredeck.com.au
Beginner
Beginner
Posts: 7
Joined: Wed Jul 07, 2004 8:28 am
Location: Perth, Australia
Contact:

Post by robin@squiredeck.com.au »

Thanks for replying Ruth. I have got a bit further and narrowed it down. I built a small dummy program that basicaklly does the same as the real thing for elimination purposes and found that if I executed it from Apache root then the menu was loaded. However all my scripts execute from an Apache submenu and my small dummy program does not work when executed from there either. I have tried moving the Milonic .js files into this sub directory still without success. Perhaps this may be a clue for someone who has come across this before. I am on Linux of course.
Robin Whitlock
Director - Squiredeck
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Dynamic HTML

Post by John »

robin@squiredeck.com.au wrote:My HTML is currently localhost but can make available if neccessary.
Please do. I think we need to take a look.
John
robin@squiredeck.com.au
Beginner
Beginner
Posts: 7
Joined: Wed Jul 07, 2004 8:28 am
Location: Perth, Australia
Contact:

Post by robin@squiredeck.com.au »

Ruth, John
Thanks for your patience. I have gotten this to work by putting the Milonic stuff into my subdirectory, which is also where my menu data resides. My mistake was that I assumed that the src= parm started at the Apache root, but my html comes from the subdirectory, silly me.

Thanks
Robin
Robin Whitlock
Director - Squiredeck
Post Reply