This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2005 > Dhtml tree menus right to left





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Dhtml tree menus right to left
tal@l

2005-03-28, 6:26 pm

:confused;

as some of you know,Dreamweaver has this feature which easily generate
hierarchal menus (sub-menus and sub-submenus with an indent)
it works Ok with left to right horizontal menus ,opening the sub-menu to the
right,but when tried to create a right to left menu,
with sub menu opening to the left i encountred a wee problem.
DW was ok opening submenu to the left with the the (manual,i must admit)
changing of the X and Y values on the code
and even the wee arrow pointing to the right could be easily changed with a
quick flip on Photoshop and nowpoints to the left
the only challenge i am left with is to chagne the location of the arrow
(defined as ChildMenuIcon) from right to left
no matter how hard i tried searching for an appropriate Javascript
command,nothing seem to work on the wee thing and it's still stuck on the right
and won't go left
i "suspect" the problem lies within this piece of code:

if (childMenu) content += ( dTag + dText + '<div id="childMenu'+ countItems
+'" style="position:absolute;left:10px;top:3px;"><img src="'+
menu.childMenuIcon +'"></div>\n' + dClose);

any ideas or suggestions on the subject are welcome
and i'll keep googling
off course
(and is there a better time to complain about lack of support for
right-to-left features on all of Macromedia's products?)



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews