+ Reply to Thread
Results 1 to 3 of 3

Thread: InfiniPhoto collection trouble [PHP, Javascript]...

  1. #1
    toddart65 is offline x10Hosting Member toddart65 is an unknown quantity at this point
    Join Date
    May 2010
    Posts
    7

    Exclamation InfiniPhoto collection trouble [PHP, Javascript]...

    Here's the page i'm currently working on: toddyoungart.elementfx.com/collection.html

    Here's the tutorial i followed and attempted to adapt to my page: How to Create an Infinite Scroll Web Gallery | Net Tuts+

    Note: view the Demo HERE on the tutorial page to understand how the InfiniPhoto script is supposed to work.

    Problems:
    1] The "My Collection" nav button is way off it's original position, causing the other buttons to bunch up and not be all lined up. Is it the CSS that's causing it to go crazy?
    2] Where did i go wrong in creating the Infinite "effect"? I am not good at reading javascript and i SUCK at php...
    3] The "Top" link [just below a single set of 9 images] that's supposed to go to the top of the page doesn't work either...

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: InfiniPhoto collection trouble [PHP, Javascript]...

    1. You used the id "collection" twice. The CSS is meant to be applied to the other usage, but it is being applied to the link too. Change the id on that <li> (not sure why you gave id's to those anyway...).

    Will look at the other stuff...but if you gave multiple items the same id, that can cause javascript to break.

    Edit/Add...

    Yup, looks like using the id "collection" for both the link <li> element and the content div is the culprit. Change/delete it from the link <li> and that might solve some if not all the problems.
    Last edited by descalzo; 05-18-2010 at 05:19 PM.
    Nothing is always absolutely so.

  3. #3
    toddart65 is offline x10Hosting Member toddart65 is an unknown quantity at this point
    Join Date
    May 2010
    Posts
    7

    Re: InfiniPhoto collection trouble [PHP, Javascript]...

    okay, i got the collection nav button back to normal, but i still have no "infinite effect" being applied and nor does my "top" button work to take me back to the top...

    and i have one question from a friend;

    How do I make a CSS3 Background Gradient, using two colors, going from top to bottom, for the body of my HTML...

+ Reply to Thread

Similar Threads

  1. Trouble getting a Javascript to wrok
    By calenna in forum Programming Help
    Replies: 5
    Last Post: 05-30-2009, 06:20 AM
  2. portable applications collection
    By allinone in forum Computers & Technology
    Replies: 10
    Last Post: 05-09-2008, 09:41 AM
  3. Collection of C programs
    By sumitmehta in forum Tutorials
    Replies: 0
    Last Post: 03-03-2008, 03:23 AM
  4. Oni's Video Collection!
    By Oni in forum Off Topic
    Replies: 0
    Last Post: 11-25-2005, 12:20 PM
  5. Having trouble with a javascript block...
    By oab in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 05-31-2005, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers