Beyond Pop-Up Menus
i generated set of pulldown menus using dreamweaver 8 behaviors. trying modify them. first moved onmouseover link table cell. during onmousover want table cell turn same color pulldown menu (similar pulldown menus on adobe site above).
test page
http://www.triodisplay.com/company/about2.php
i gave cells ids , added javascript. first link (catalog) works correctly while others don't during onmouseout.
here javascript created change color of cell.
here cell calls code.
here link javascript
http://www.triodisplay.com/company/mm_menu.js
the problem having onmouseout="mm_starttimeout('1') . mm_starttimeout calls function , i've inserted variable pass equal id. problem mm_menu.js list of functions , can't figure out how variable new function.
i looking either easy way pass variable or if has suggestions change color of cell pulldown menus i'd appreciate it.
thanks in advance.
test page
http://www.triodisplay.com/company/about2.php
i gave cells ids , added javascript. first link (catalog) works correctly while others don't during onmouseout.
here javascript created change color of cell.
quote:
function changestylebyid(id){
if (document.getelementbyid)
{
var nodeobj = document.getelementbyid(id)
nodeobj.style.background = '#333333';
}
}
function changestylebackbyid(id){
if (menuid != 0) {
var nodeobj = document.getelementbyid(id)
nodeobj.style.background = '#b2b2b2';
}
}
here cell calls code.
quote:
<td align="left" id="1" onmouseover="mm_showmenu(window.mm_menu_0425152551_0,-2,9,null,'image1', '2')" onmouseout="mm_starttimeout('1');"> <a href=" http://www.triodisplay.com/ps/ps.php" class="topnav"> <img src="testbutton/blank.gif" alt="design" name="image1" width="1" height="1" border="0" id="image1">retail design</a></td>
here link javascript
http://www.triodisplay.com/company/mm_menu.js
the problem having onmouseout="mm_starttimeout('1') . mm_starttimeout calls function , i've inserted variable pass equal id. problem mm_menu.js list of functions , can't figure out how variable new function.
i looking either easy way pass variable or if has suggestions change color of cell pulldown menus i'd appreciate it.
thanks in advance.
> first moved onmouseover link table cell
bad choice. selection of dw pop-up menus. here's
person adapted code macromedia has method
are using -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
could possibly consider 1 of several other ways
this? way, these ways allow want
easily....
check uberlink , macfly tutorials @ pvii -
http://www.projectseven.com/
and navbar tutorial/articles @ thierry's place
http://tjkdesign.com/articles/dropdown/
or 1 (more recent article):
http://tjkdesign.com/articles/pure_css_dropdown_menus.asp
or done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
--
murray --- icq 71997575
adobe community expert
(if *must* email me, don't laugh when so!)
==================
http://www.dreamweavermx-templates.com - template triage!
http://www.projectseven.com/go - dw faqs, tutorials & resources
http://www.dwfaq.com - dw faqs, tutorials & resources
http://www.macromedia.com/support/search/ - macromedia (mm) technotes
==================
"cczernia1" <webforumsuser@macromedia.com> wrote in message
news:f1nj4g$jba$1@forums.macromedia.com...
>i generated set of pulldown menus using dreamweaver 8 behaviors.
>i
> trying modify them. first moved onmouseover
> link
> table cell. during onmousover want table cell turn
> same
> color pulldown menu (similar pulldown menus on adobe
> site
> above).
>
> test page
> http://www.triodisplay.com/company/about2.php
>
> gave cells ids , added javascript. first link (catalog)
> works
> correctly while others don't during onmouseout.
>
> here javascript created change color of cell.
>
>
>
> here cell cell calls code.
>
>
>
>
> here link javascript
> http://www.triodisplay.com/company/mm_menu.js
>
> problem having onmouseout="mm_starttimeout('1') .
> mm_starttimeout
> calls function , i've inserted variable pass
> equal
> id. problem mm_menu.js list of functions , can't
> figure
> out how variable new function.
>
> looking either easy way pass variable or if has
>
> suggestions change color of cell pulldown menus i'd
> appreciate it.
>
> in advance.
>
bad choice. selection of dw pop-up menus. here's
person adapted code macromedia has method
are using -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
could possibly consider 1 of several other ways
this? way, these ways allow want
easily....
check uberlink , macfly tutorials @ pvii -
http://www.projectseven.com/
and navbar tutorial/articles @ thierry's place
http://tjkdesign.com/articles/dropdown/
or 1 (more recent article):
http://tjkdesign.com/articles/pure_css_dropdown_menus.asp
or done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
--
murray --- icq 71997575
adobe community expert
(if *must* email me, don't laugh when so!)
==================
http://www.dreamweavermx-templates.com - template triage!
http://www.projectseven.com/go - dw faqs, tutorials & resources
http://www.dwfaq.com - dw faqs, tutorials & resources
http://www.macromedia.com/support/search/ - macromedia (mm) technotes
==================
"cczernia1" <webforumsuser@macromedia.com> wrote in message
news:f1nj4g$jba$1@forums.macromedia.com...
>i generated set of pulldown menus using dreamweaver 8 behaviors.
>i
> trying modify them. first moved onmouseover
> link
> table cell. during onmousover want table cell turn
> same
> color pulldown menu (similar pulldown menus on adobe
> site
> above).
>
> test page
> http://www.triodisplay.com/company/about2.php
>
> gave cells ids , added javascript. first link (catalog)
> works
> correctly while others don't during onmouseout.
>
> here javascript created change color of cell.
>
>
quote:
function changestylebyid(id){
> if (document.getelementbyid)
> {
> var nodeobj = document.getelementbyid(id)
> nodeobj.style.background = '#333333';
> }
> }
>
> function changestylebackbyid(id){
> if (menuid != 0) {
> var nodeobj = document.getelementbyid(id)
> nodeobj.style.background = '#b2b2b2';
> }
>
> }
>
> here cell cell calls code.
>
>
quote:
<td align="left" id="1"
> onmouseover="mm_showmenu(window.mm_menu_0425152551_0,-2,9,null,'image1',
> '2')"
> onmouseout="mm_starttimeout('1');"> <a
> href=" http://www.triodisplay.com/ps/ps.php" class="topnav"> <img
> src="testbutton/blank.gif" alt="design" name="image1" width="1" height="1"
> border="0" id="image1">retail design</a></td>
>
>
> here link javascript
> http://www.triodisplay.com/company/mm_menu.js
>
> problem having onmouseout="mm_starttimeout('1') .
> mm_starttimeout
> calls function , i've inserted variable pass
> equal
> id. problem mm_menu.js list of functions , can't
> figure
> out how variable new function.
>
> looking either easy way pass variable or if has
>
> suggestions change color of cell pulldown menus i'd
> appreciate it.
>
> in advance.
>
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment