Results 1 to 3 of 3

Thread: CMotion Image Gallery in PHP Include

  1. #1
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation CMotion Image Gallery in PHP Include

    1) CMotion Image Gallery

    2) http://www.dynamicdrive.com/dynamici...iongallery.htm

    3) Ok so I'm trying to add the CMotion Image Gallery to the masthead of a website (http://whartondesigns.com/cjfencing/test.php). When everything is on one page it works, however, I uses php includes to make things easier on myself and once I placed things in their seperate includes (ie header.php, footer.php, etc) the script stopped working.

    I believe it's loading all the photos I coded, but it's not accessing the js to scroll the images.


    Any thoughts?
    Last edited by jwharton3; 02-08-2008 at 07:18 PM.

  2. #2
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Im having the same problem with PHP require. Does anyone have any advise?

    Thanks

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Just off hand, scripts shouldn't really be includes, as the can simply be made to be external scripts. If you go that route, just make sure the paths to the images and for the links are either relative to the page that is using the script or make them absolute paths if pages from different folders will be using the same script.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •