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
    May 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help linking back to menu page

    This is the code I have currently:
    Code:
    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    <menu music="music/bad_loop-lumme.mp3">	
    	<nav type="gallery" name="PHOTOSHOOTS" url="xml/photoshoots.xml" firstGallery="true" />
    	<nav type="gallery" name="SPORTS" url="xml/sports.xml" />
    	<nav type="gallery" name="MISCELLANEOUS" url="xml/miscellaneous.xml" />
    	<nav type="swf" name="PRICES" url="pages/prices.swf" />
    
            <nav type="swf" name="CONTACT" url="pages/contact.swf" />
    </menu>
    How do I get the sports gallery page to link back to a menu page instead of the sports.xml page.. I tried using the name of the page, but I think the nav type should be changed also.. Any help?
    Last edited by Alex Vincent; 05-11-2010 at 07:31 AM. Reason: adding code tags

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts

    Question

    Not enough information, really. Who's using / transforming this XML into the format you have in mind? As-is, it's generic XML, with no particular meaning to any attribute.

    I'd've expected xlink:href if it was hyperlinks. But that's just my two cents.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog


  •  

    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
    •