- Create Account

Animations dont work in PHP

Forums > FreeStyle Menus > Animations dont work in PHP
Author
Message

1) John Aspinall Group: Guests
IP: 88.96.--.--
Hi Angus,

Ive got my menu working exactly how I want it to in HTML, however when I simply rename exactly the same file to PHP the animations and arrows both fail?

Ive checked the error console in Firefox and I get two errors. 1 'addEvent is not defind' 2. FSMeniu is not defined.

Pretty weird huh - works spot on in HTML but not when I just rename to PHP? I need to have it working in PHP.

Any thoughts?

Cheers...John

2) JohnAsp Group: Members
Posts: 3 Joined: 23 Apr 2008 Location: Blackpool, UK IP: 88.96.--.--
To follow up, it also loses the animations and arrows when I rename the original HTML to an ASP file. The server its running on is my companys internal IIS server.

I've  got a web host which runs an Apache web server so I tried uploading the same PHP file (the one that animations+arrows don't work on) onto that server and it worked fine! See link. I guess its something to do with the server it's running on - I know bugger all about server configerations so I was wondering what questions I should be asking the server admin to get this sorted?

http://www.towerscape.co.uk/fsmenu2.php

3) JohnAsp Group: Members
Posts: 3 Joined: 23 Apr 2008 Location: Blackpool, UK IP: 88.96.--.--
PS - Sorry I was being thick, NO animations or arrows work (HTML,PHP or ASP) when I upload to my internal IIS server. HTML file works 100% when I preview on my local hard drive though.

4) JohnAsp Group: Members
Posts: 3 Joined: 23 Apr 2008 Location: Blackpool, UK IP: 88.96.--.--
Forget all the above - was being thick, again! and it's now working OK

5) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.173.--.--
Cool, glad to see that you have fixed it :).

-  Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.