Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Soooo many html links..

    Hey guys,

    To begin with, I know hmtl, css, a little bit a jquery. I've done a little bit of php but wouldn't even bet a sandwich on my ability to code it.

    I've taken up a project that seemed easy at first, but has turned out to be an epic quest to figure out how to do it (like most ambitious projects turn out to be).
    The idea is to have a series of lists that nest within themselves and at the end of a nest would be a link. It's to help children choose what kind of book they would like.

    Example:


    adventure
    -boats
    -A book about a boat
    -link to a review
    -link to a review
    -link to a review
    -link to a review

    -Some other book about a boat
    -link to a review
    -link to a review
    -link to a review
    -link to a review
    -cars
    -A book about a car
    -link to a review
    -link to a review
    -link to a review
    -link to a review

    -Some other book about a car
    -link to a review
    -link to a review
    -link to a review
    -link to a review
    -animals
    -
    -

    action

    mystery

    _____
    I would normally just link all of the reviews directly through the html but there could be several hundred links (which I'm organizing with jquery nested accordion) and I was wondering if the 'brute force' method was the best/only way to do it and would having so many direct links be "good coding."

  • #2
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    I recommend dynamic webpage.

    This may help: http://lmgtfy.com/?q=dynamic+php+page - "PHP dynamic page title and Heading" website.


  •  

    Tags for this Thread

    Posting Permissions

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