Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Jan 2008
    Posts
    149
    Plugin Contributions
    0

    Default Re: Embed php template within another php template based on drop-down menu selection?

    I haven't really messed with formatting, etc. since I'm still searching for my ideal solution, but you can see the page here: https://mcqueeneycoins.com/index.php...id=2&chapter=1

    You can see the existing site and format here (final product would be similar): https://www.mcqueeneycoins.com/store...in_page=page_4

    Any suggestions are greatly appreciated--thank you again for all of your help so far!

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Embed php template within another php template based on drop-down menu selection?

    You would need to install EZ-Page Improved TOC if you want to distinguish styling between the current page link and others. If you don't do that, you can still use this to make a dropdown:
    Code:
    #navEZPagesTOCWrapper {position: relative;}
    #navEZPagesTOCWrapper ul {display: none;}
    #navEZPagesTOCWrapper:hover ul {
        display: block;
        position: absolute;
        background: #ffffff;
        border: 1px solid #aaaaaa;
        width: 100%;
        margin-left: -1px;
        }
    These selectors will also be available with the Improved TOC:
    Code:
    #navEZPagesTOCWrapper .currentPage {}
    #navEZPagesTOCWrapper .notCurrentPage {}
    Also, the current page name in the menu will not be a clickable link, as there is no point in linking to where you are. This text can be styled differently to highlight that it is the current page.

  3. #13
    Join Date
    Jan 2008
    Posts
    149
    Plugin Contributions
    0

    Default Re: Embed php template within another php template based on drop-down menu selection?

    Thanks again for all the assistance. I've added the code you provided but have not installed the TOC add-on. Everything seems to be working alright, but if you don't mind I have a few more formatting questions I'm having trouble with:

    1) How can I remove the <li> indention? I tried using margins on css without any success.

    2) This may be a long shot, but is there anyway to make it appear like the select options dropdown? Where there is a box that says "Select Article..." and then when you click/hover the list appears. Maybe I could change the TOC text to read Select Article and create a border around that or something?

    Thanks again!
    Last edited by mcqueeneycoins; 21 Jan 2012 at 06:49 PM.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 8 Feb 2011, 02:07 AM
  2. Image after selection drop down menu
    By badeend22 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Dec 2008, 03:55 PM
  3. Product drop down menu selection?
    By fusionsp in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 20 Jun 2008, 07:22 PM
  4. Drop Down Menu for Selection
    By bajanboost in forum General Questions
    Replies: 0
    Last Post: 6 Jul 2007, 01:42 AM
  5. Template not showing on the drop down menu
    By ebbie in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Jun 2006, 02:00 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
  •  
disjunctive-egg