ftrudeau
Newbie
Posts: 1
Registered: 2/11/2005
Member Is Offline
|
| posted on 2/11/2005 at 05:16 PM |
|
|
target multiple iframes
URGENT PLEASE.
We are in a rush, and I must transpose and existing custom javascript menu to Tigra's, since the custom buld version is not fully compatible with
all browsers.
This is the HTML code for a child node, in the custom javascript menu :
<li
OnClick="javascript:ouvre('rvcqc.php?command=displayTextPage&text=INFOS_GRILLE&titre_img=T_info_GRILLE.gif');"><a
href='rvcqc.php?command=displayMoviesSearchFrame' target='context_menu'>Grille horaire interactive</a></li>
As you can see, there are 2 actions happening when a use clicks a submenu.
1. Custom JS ouvre() commands is fired, which targets the link to the iframe 'context'.
2. The link 'rvcqc.php?command=displayMoviesSearchFrame' is targeted to the iframe context_menu.
Can I do this with Tigra Menu (standard edition).
If so, please provide example.
Thanks.
|
|
|
olga
Administrator
Posts: 84
Registered: 11/22/2004
Member Is Offline
|
| posted on 2/15/2005 at 07:11 PM |
|
|
yes, you can call custom javascript function from tigra menu item:
| Code: |
["my item", "javascript:mycustomfunction('some_prarams')"]
|
in that function you do both actions:
| Code: |
function mycustomfunction(my_param) {
ouvre(...);
window.open(...)
}
|
|
|
|