| Author |
Message |
mercurybds
Joined: 19 May 2006 Posts: 4 Location: Naperville, IL USA
|
Posted: Fri May 19, 2006 2:26 pm Post subject: action on rollover instead of click |
|
|
| I'm using a CooljsMenu on a page with an I-frame. Eack click on a menu subitem changes the content of the I-frame. I want to do this by just mousing over the menu sub-item instead of clicking. How to do this ? |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Fri May 19, 2006 5:07 pm Post subject: |
|
|
| What version of the script do you use? Answer depends on this. |
|
| Back to top |
|
 |
mercurybds
Joined: 19 May 2006 Posts: 4 Location: Naperville, IL USA
|
Posted: Sat May 20, 2006 3:01 am Post subject: action on rollover instead of click |
|
|
| Using CooljsMenuPro - freshest version, just purchased and downloaded this week |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Sat May 20, 2006 5:02 am Post subject: |
|
|
| Please, specify exact version number. You can find it in the header of coolmenupro.js fil. |
|
| Back to top |
|
 |
mercurybds
Joined: 19 May 2006 Posts: 4 Location: Naperville, IL USA
|
Posted: Sat May 20, 2006 1:55 pm Post subject: action on rollover instead of click |
|
|
| Version 2.1.4 |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Sat May 20, 2006 2:34 pm Post subject: |
|
|
Try this:
| Code: |
var menu1 = new COOLjsMenuPRO(...);
menu1.oldOnmouseover = menu1.onmouseover;
menu1.onmouseover = function (_item)
{
window.open(_item.url, _item.targ);
return menu1.oldOnmouseover(_item);
}
|
|
|
| Back to top |
|
 |
mercurybds
Joined: 19 May 2006 Posts: 4 Location: Naperville, IL USA
|
Posted: Sat May 20, 2006 9:54 pm Post subject: action on rollover instead of click |
|
|
| this code show potential. However, I need the rollover to only effect the subitems and NOT the top level item. This code only gave me the rollover action for the top level item and I can't figure out how to modify it to do just the sublevel items. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Sun May 21, 2006 6:44 am Post subject: |
|
|
| This means that you need more advanced customization which is not free. You can order it here: javascript@cooldev.com. |
|
| Back to top |
|
 |
|