Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: oh & oo event handlers
ppohler
Newbie

Posts: 1
Registered: 6/17/2004
Member Is Offline
posted on 6/17/2004 at 04:53 PM Reply With Quote
oh & oo event handlers


Hello, I have a question regarding the 'oh' & 'oo' event handlers in Tigra Menu Gold 2.5. I'm trying to build a menu system that on a rollover changes the image on the page. To do this however I have to pass the image path as a parameter to my function (the image path is generated off of a database query). Here is an example of the menu item I'm creating.

[wrap_prodhtml("HERITAGE SERIES", "", "True"), "javascript:findCategory('0110H');", {'sb' : 'Heritage series window', 'oh' : SwapMultiCategoryImg("heritageseries.jpg","","HERITAGE SERIES"), 'oo' : ResetMultiCategoryImg}

First question, do the event handlers support javascript functions with parameters? The only example I've seen of 'oh' & 'oo' being used was on the Effects demo, and the event handler functions did not pass parameters (an array was to swap the icon images, which will not work for my implimentation).

The second question is something I've noticed when I've tried to implement the 'oh' & 'oo' event handler. When the menu loads it appears as if the 'oh' handler of the last menu item built in the array gets fired. When I mouse over the other menu items their events do not fire. Have you guys seen this behaviour?

If you need some code samples I'll be happy to put together a short demo package. Thanks for your help!
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 6/18/2004 at 06:30 PM Reply With Quote

Your Tigra Menu GOLD example has been deleted from the thread for it's a commercial product. We'll investigate the issue and let you know the results.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004