[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [GUI] Change link?
- Subject: Re: [cobalt-users] [GUI] Change link?
- From: "Leslie Herps" <herps@xxxxxxxxxxxx>
- Date: Fri Apr 25 10:51:03 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Yes,
but that is so every time you click on something it loads the "on" image and
stuff.
I mean the links to the .cgi scripts and such - THAT I can't find :(
Any clue?
Thanks all for your help...
Leslie
----- Original Message -----
From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, April 25, 2003 7:19 PM
Subject: RE: [cobalt-users] [GUI] Change link?
> > Hi,
> >
> > I have a question about the HTML in the Cobalt RAQ4 GUI.
> > In the /admin (brown section), the left menu HTML looks like this:
> >
> > <A HREF="javascript: top.selectMainMenu( 0 );"
> >
> > (for instance).
> > But I do not see any javascript code that refers to
> > selectMainMenu, which links to a certain file in the right frame.
> >
> > Does anyone have a clue on where to find this (to modify
> > where it links to...)?
> >
>
> It's frames. So if you view source for the main frameset you'll see the
> script.
> <snip>
> selectMainMenu( mainItemIndex );
> if( subItemIndex!=0 ) selectSubMenu( mainItemIndex, subItemIndex );
> }
>
> function selectMainMenu( itemIndex ) {
> var path='/.cobalt/sysManage/menu'+itemIndex+'.html';
>
> if( navigator.appVersion.indexOf( 'IE 3.0A' )!=-1 ) {
> frames[ 0 ].frames[ 0 ].location.pathname=path;
> }
> else {
> frames[ 0 ].frames[ 0 ].location.replace( path );
> }
>
> --
> C2003 Dan Kriwitsky
>
> Please reply to the list only. Off list replies are not read.
>
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>