Results 1 to 8 of 8

Thread: HV & Accordian style

  1. #1
    Join Date
    Apr 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV & Accordian style

    I'm looking for an Accordian Menu style that can have a menu array javascript file like the HV Menu has where you only have to change menu items in one file instead of on every page of your website. I use the HV Menu on my own website, but I'm building a site for someone where the Accordian Menu will work better. But one note, also, is that the menu will be in a table. Any suggestions? Thanks ahead of time for your help!

  2. #2
    Join Date
    Apr 2009
    Location
    London
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    If the whole website was a table would it be possible to use an iFrame in one cell to view your content and use the <a href>'s target attribute. I know everyone says not to use frames but I think that if you don't want to update the menu on every page that iFrame's are the only option. Contact me for more help if needed. Good luck.
    Hope this helps. Dan.

  3. #3
    Join Date
    Apr 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'll have to look into the iFrame thought. Thanks for the suggestion.

  4. #4
    Join Date
    Apr 2009
    Location
    London
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    I can help you with iFrames if you need any help, to my opinion they can be very useful since I am using them on the website I am building currently and I have used them on webpages I have made previously. Dan.

  5. #5
    Join Date
    Apr 2009
    Location
    London
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    These codes may be useful to you:
    The actual iFrame:
    Code:
    <iframe id="iframe1" src="http://www.dynamicdrive.com" frameborder="0" width="100%" height="100%"><p>To view this content, please upgrade your browser.</p></iframe>
    I'm pretty sure you are familiar with this coding if not contact me.
    In the menu:
    Code:
    <a href="http://www.dynamicdrive.com/forums" target="iframe1" style="bold">DD Forum</a>
    Good luck.
    Dan.

  6. #6
    Join Date
    Apr 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The Accordion Menu I was looking at is this one: http://www.dynamicdrive.com/dynamici...enu-bullet.htm

    And I was wondering if it would work with a Javascript menu array being called in instead of having the menu listed on every page with <ul> and <li> tags.

    I'm not sure if iFrames would work for this or if I actually want to use frames. The website will be set up in tables so I can get the desired look and layout.

  7. #7
    Join Date
    Apr 2009
    Location
    London
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    It will work becuase in the section where it is coded with "<a href"'s. e.g.
    Code:
    <li><a href="http://www.cssdrive.com/index.php/news/">Web Design News</a></li>
    <li><a href="http://www.cssdrive.com/index.php/examples/">CSS Examples</a></li>
    <li><a href="http://www.cssdrive.com/index.php/main/csscompressor/">CSS Compressor</a></li>
    <li><a href="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6">CSS Forums</a></li>
    </ul>
    You could still easily add the target attribute and it should work:
    Code:
    <li><a target="iframe1" href="http://www.cssdrive.com/index.php/news/">Web Design News</a></li>
    <li><a target="iframe1" href="http://www.cssdrive.com/index.php/examples/">CSS Examples</a></li>
    <li><a target="iframe1" href="http://www.cssdrive.com/index.php/main/csscompressor/">CSS Compressor</a></li>
    <li><a target="iframe1" href="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6">CSS Forums</a></li>
    </ul>
    Hope this helps. Dan.

  8. #8
    Join Date
    Apr 2009
    Location
    London
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    I know you want a table each page and not have to adjust the menu on each page every time you add a page or link. The way I see would be easier is to have on your main page a table lets say 2 columns by 3 rows. In the top row you have your header or whatever you want. In the second row, in the 1st column you have the menu and in the same row but 2nd column you have the iFrame where the content is viewed. And in the third, a footer or whatever you want. And you'd have no hassle with the menu.
    But it's your website and this was just an example.
    Good luck with your website. I hope this helped. Dan.

Bookmarks

Posting Permissions

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