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 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2009
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts

    XSLT Search Links! Help! :(

    Just wondering how you would create a XSLT search.

    Like on the top of a page

    optionA | optionB | option C|

    all the data is displayed on the page. but when i click optionA i want it to scroll to a particular part on the page.

  • #2
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,471
    Thanks
    13
    Thanked 361 Times in 357 Posts
    I can’t see where XSLT comes into play here. what you describe looks like an anchors behaviour.
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer

  • #3
    New Coder
    Join Date
    Aug 2009
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Well i just want to apply it
    should it be done in html?
    with just <a href=#optionA/>?

  • #4
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,471
    Thanks
    13
    Thanked 361 Times in 357 Posts
    yes, although
    PHP Code:
    <a href="#optionA">Option A</a// link

    <a id="optionA" name="optionA"/> // target 
    Last edited by Dormilich; 04-13-2010 at 10:24 PM.
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer

  • #5
    New Coder
    Join Date
    Aug 2009
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts
    thanks mate


  •  

    Posting Permissions

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