Re: PHP intereferes with my Javascript
| From: | Steve Keller | Date: | Fri, 03 Jan 2003 17:53:33 +0000 |
| Subject: | Re: PHP intereferes with my Javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130134@lists.php.net to get a copy of this message | ||
At 1/3/2003 05:21 PM, you wrote:
I have split a page up into three sections, header, content and footer. Header and footer are included in content via PHP. Header contains Javascript functions. Content and header both call the javascript functions. When i look at the source generated it looks exactly like before it was split. BUT the javascript generates errors. Does anyone have any idea why this might happen?When you include these headers, are all the files that are accessing them in the same directory? Are your references in your javascripts absolute or relative? If they're relative, and you change directories, the code breaks. But again, I haven't seen the code so I can't say. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org