Results 1 to 4 of 4

Thread: Dhtml Menu at right... WANTED :)

  1. #1
    Join Date
    Aug 2006
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Dhtml Menu at right... WANTED :)

    Hello,

    I'm looking for a Dhtml Menu and HV Menu v5.5 could be a good one... but I need to place the Menu to the right of the page and this script offers a position from left side only!
    I would like to build a full page Web site (100% main frame), thus I can't use a "large" value about the left position to force it to the right, because the page width will change according to the screen resolution... I have to use a position value from right only!

    For example, check the menu from ArtLogic Web site (http://www.artlogic.com/)... nice!
    This menu is from ypSlideOutMenusC (an OpenSource project), but I meet another problem with it... I need submenu and it doesn't offer this option

    I've to be honest with you, I'm really not a Web programmer, I know to integrate some scripts inside page, but no more!
    DynamicDrive is a fabulous tresor for people like me

    If someone can help me to upgrade this script to be able to set from the right page side... you are Welcome!

    Thanks a lot
    Christophe

    1) Script Title:
    HV Menu v5.5
    or
    Jim's DHTML Menu V5.7

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...menu/index.htm
    or
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem:
    Describe above.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    With HV, you can do something like so, at the top of exmplmenu_var.js insert this function like so:

    Code:
    /***********************************************************************************
    *	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
    *	For info write to menus@burmees.nl		          *
    *	You may remove all comments for faster loading	          *		
    ***********************************************************************************/
    
    function ietruebody(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;
    }
    
    	var NoOffFirstLineMenus=5;			// Number of first level items
    Then a little ways down, for the variable "StartLeft' do something like this:

    Code:
    var StartLeft=window.innerWidth?window.innerWidth-230:ietruebody().clientWidth-230;
    where 230 is the number of pixels from the right that you want the menu to appear. It should be at least the actual width of the menu.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2006
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks jscheuer1 for your help
    I've be able to set this menu via your script!

    But I saw that HV Menu doesn't offer CSS settings
    I can't use different colors between/each menus and submenus!

    Thus I'm looking for a great Dhtml Menu (non-commercial), including multi-level menus and CSS settings... which can be positioned/set from the right of the page... like on ArtLogic Web site (http://www.artlogic.com/).

    If you know a good one ir if another user knows a good one... please let me know!

    Thanks a lot
    Chris

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    HV will allow you to put <span></span> and probably other elements into its configuration fields. Once you've done that, you can add style, id's and/or classes to the items. About the same amount of work as what you are talking about but, less organized. There are tons of multilevel menus here at DD, I just noticed a few new ones added the other day (see the top of the list at the link below). I can't keep track of all the features:

    http://www.dynamicdrive.com/dynamicindex1/indexc.html
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •