Results 1 to 3 of 3

Thread: wordpress and simple gallery

  1. #1
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default wordpress and simple gallery

    1) Script Title:
    Simple Controls Gallery v1.3
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...plegallery.htm
    3) Describe problem:

    Ive bein trying to get this script to work on a wordpress index.php
    I double checked/reloaded all scripts and js files but no luck, nothing shows up in the banner space on the page. I also checked path to images which is fine too. I would have thought this was maybe a problem with wordpress but I have gotten the same script to work fine in three other sites build around it. Are they're any known issues regarding wordpress?

    site add: www.rentafriend.ie

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    the links to jquery and to simplegallery.js do not work right now. This is from your sourcecode:

    <script type="text/javascript" src="simplegallery.js">

    I think you need something like this instead:

    <script type="text/javascript" src="/wp-content/themes/rent_a_friend_theme/simplegallery.js">

    or you could begin with the absolute path

    <script type="text/javascript" src="http://www.rentafriend.ie/wordpress/wp-content/themes/rent_a_friend_theme/simplegallery.js">

    that should work, and you can cut it from the beginning to get the relative path that works

    The same goes for the "jquery-1.2.6.pack.js"

  3. #3
    Join Date
    Sep 2009
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    ah, that solved it, I had thought the path would read from wherever the index.php was located but I guess not. Thanks a million for the help Azoomer, had me rightly confused.

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
  •