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: standard or PRO
relmiami
Newbie

Posts: 1
Registered: 4/19/2003
Member Is Offline
posted on 4/19/2003 at 05:26 AM Reply With Quote
standard or PRO


I want to fully play around with the standard version before buying the pro (i already but some other items from you) - but i am wondering, what's the trick to calling a javascript function when a leaf is clicked. Ex.
['leaf1','javascript:alert();'] -- works but
['leaf1','javascript:my_func();'] -- does not work. i tried to read the docs, but no go.
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 4/21/2003 at 09:43 AM Reply With Quote

In standart version you can set only default target window, so your script will be executed in that frame you've declared as default target. Try to manipulate this settings, according to comments included.
Note: Pro version provides custom parameter to define target for each item independently.
View User's Profile View All Posts By User U2U Member
Xnuiem
Junior Member

Posts: 3
Registered: 3/1/2003
Location: Dallas, Texas
Member Is Offline
posted on 5/28/2003 at 07:32 PM Reply With Quote
Any Further Progress


Was there any progress on this one?

I too am looking to use custom functions inside of the menu, that have nothing to do with opening a window.
View User's Profile View All Posts By User U2U Member
Xnuiem
Junior Member

Posts: 3
Registered: 3/1/2003
Location: Dallas, Texas
Member Is Offline
posted on 5/28/2003 at 07:36 PM Reply With Quote

NM I got it.
View User's Profile View All Posts By User U2U Member
jonas.gunnarsson
Junior Member

Posts: 5
Registered: 3/25/2008
Location: Huskvarna
Member Is Offline
posted on 3/25/2008 at 09:29 AM Reply With Quote

Quote:
Originally posted by rock
In standart version you can set only default target window, so your script will be executed in that frame you've declared as default target. Try to manipulate this settings, according to comments included.
Note: Pro version provides custom parameter to define target for each item independently.

So the tw = target window only work i the Pro-version?
I have iframes caled 'frame_app1', 'frame_app2', and want do do like,
Code:
['Welcome Page', 'http://www.softcomplex.com/ReadMeFirst.html', {'tw':'frame_app1', 'tt':'Welcome Page','sb':'Welcome Page'}],


The menu works fine 2-5 times, after that it opens in new tab, both in ie7 and ff2
So I do need the Pro version, to solve this?

Best /Jonas
View User's Profile View All Posts By User U2U Member
jonas.gunnarsson
Junior Member

Posts: 5
Registered: 3/25/2008
Location: Huskvarna
Member Is Offline
posted on 3/25/2008 at 09:31 AM Reply With Quote

Hi!
This works for me, note works only in same js-file(menu_items.js)
Code:
function doLogout() {
alert('Utloggad');
}
['Logga ut', 'javascript:doLogout();', null]


Best /Jonas
View User's Profile View All Posts By User U2U Member
jonas.gunnarsson
Junior Member

Posts: 5
Registered: 3/25/2008
Location: Huskvarna
Member Is Offline
posted on 3/25/2008 at 12:23 PM Reply With Quote

Quote:
Originally posted by jonas.gunnarsson
The menu works fine 2-5 times, after that it opens in new tab, both in ie7 and ff2


Got the same result using inline javascript in the menu
Code:
function doOpen(url, tw, param) {
window.open(url, tw, param);
}
function doOpenApp01() {
doOpen('http://www.softcomplex.com/support.html', 'frame_app1', '');
}

var MENU_ITEMS = [
['Applikationer', null, null,
['Report test results', 'javascript:doOpenApp01();', null],
],
];

So there seems to be something with the browsers, not a standart or Pro issue.
Best /Jonas
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   

Go To Top


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