Sigal Posted November 24, 2007 Share Posted November 24, 2007 Hi,I'm trying to create a function that can be called from different pages on my site.How would I do that?If I create the function in one page, the other page does not recognize it.The reason I need it is I use a software I bought to create Javascript menus. The problem is that with this software I can't pass php parameters, so the page my menu opens doesn't get the paramters it needs to operate. So I want to create a function this page can call to receive these parameters.Any ideas how to do that?Thanks,Sigal Link to comment Share on other sites More sharing options...
mc_keny Posted November 24, 2007 Share Posted November 24, 2007 hmmm creat a file call core.php and creat the function in that file then include("core.php"); on the pages you want to use the function on Link to comment Share on other sites More sharing options...
boen_robot Posted November 24, 2007 Share Posted November 24, 2007 software I bought to create Javascript menus.Are you kidding?!?!?! There are tons of free menu templates you can use, most of which are pure CSS, meaning they'll work even with users that have JS off. There are also many free JS ones. All require you to only add the items in the menu, while they take care of the styling.Why would anyone buy a software to do that with all free stuff that's out there? Link to comment Share on other sites More sharing options...
mc_keny Posted November 24, 2007 Share Posted November 24, 2007 lol maybe he is rich Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.