Home / Forums / DynamiX Support / Top Level Menu Item to Open Lightbox?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • Ken Kniskern
    Participant

    OK, so here is a question… I would like Top Level Menu option to open an iframe in a lightbox instead of opening a new page. What will this take to accomplish?

    Andy
    Andy
    Keymaster

    Hi Ken,

    If you could add rel tag to the menu you would be able to easily. 

    You might be able to add a class to the menu link and then change the DynamiX/footer.php to listen to that class. How good is your web dev? 


    Ken Kniskern
    Participant

    I am fairly new to all of this… I am actually a designer that has been forced into some bits of coding.  I don't mind getting into the code and editing, just need to have a step by step as to what to type and within which files.  Is this something that might be addressed somewhere else that I can read up on and attempt myself?

    Andy
    Andy
    Keymaster

    Hi Ken,

    Actually WordPress have added link relationship to their custom menus so this makes it very easy. Goto Appearance -> Menus and click on Screen Options (Top Right) and enable 'Link Relationship (XFN)'. Then add a 'Custom Link' with the URL of the site you want and add a bit of code to the end. e.g.

    http://google.com?iframe=true



    Then within the link relationationship add prettyPhoto

    That should fire up the lightbox with the iFrame in. 

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.