hreinart
asked on
Using outlines: how to define a window size
hi,
i'm using outlines for web navigation.
by cklcikcing on an entry a predefined page is displayed
in the web browser.
question:
how can i define the size and scrollbar/resizing?
i asked a similar question befor by clicking on a hotspot.
there i could use a java script do realize this.
in the outline designer i can't find something similar like this.
thanks
hreinart
i'm using outlines for web navigation.
by cklcikcing on an entry a predefined page is displayed
in the web browser.
question:
how can i define the size and scrollbar/resizing?
i asked a similar question befor by clicking on a hotspot.
there i could use a java script do realize this.
in the outline designer i can't find something similar like this.
thanks
hreinart
Make your OutlineEntry of type URL.
Place into entry formula this:
DbPath:=@Replace(@Subset(@ DbName;-1) ;"\\";"/") ;
"javascript:window.open(\' /"+DbPath+ "/myPage?O penPage\', \'title\', \'height=2 00,width=2 00\')"
Extend the parameters of new window as you like.
Cheers,
zvonko
Place into entry formula this:
DbPath:=@Replace(@Subset(@
"javascript:window.open(\'
Extend the parameters of new window as you like.
Cheers,
zvonko
Am I lost Zvo ?
Hi Arun :-)
How do you think should I pass you before 100K <|;-)
Sorry hreinart, little Schoenheitsfehler :-)
Use this one:
DbPath:=@Replace(@Subset(@ DbName;-1) ;"\\";"/") ;
"javascript:nw=window.open (\'/"+DbPa th+"/myPag e?OpenPage \',\'title \',\'heigh t=200,widt h=200\');w indow.relo ad"
And do not be disturbed by the conversations with my buddy Arun :-)
How do you think should I pass you before 100K <|;-)
Sorry hreinart, little Schoenheitsfehler :-)
Use this one:
DbPath:=@Replace(@Subset(@
"javascript:nw=window.open
And do not be disturbed by the conversations with my buddy Arun :-)
Well,
Dont get carried by Zvonko hreinart.. Did you try my suggestion ? IF zvo is onto something complicated then i think i am right at the first instance !
;-)
Dont get carried by Zvonko hreinart.. Did you try my suggestion ? IF zvo is onto something complicated then i think i am right at the first instance !
;-)
That is what I meant hreinart :-)
ASKER
hi all,
thanks for the very very quick response.
arunkumar:
i use a frameset and the outline is viewable in the left frame, everything started from there will be displayed in the right frame.
if i would follow your suggestion, all pages will be displayed in the same way.
i'm looking for a solution to determine this individually frame by frame.
zvonko:
i'll try it out now.
thanks for the very very quick response.
arunkumar:
i use a frameset and the outline is viewable in the left frame, everything started from there will be displayed in the right frame.
if i would follow your suggestion, all pages will be displayed in the same way.
i'm looking for a solution to determine this individually frame by frame.
zvonko:
i'll try it out now.
ASKER
hi zvonko:
which variables will i have to replace with the real names?
i found "mypage".
which variables will i have to replace with the real names?
i found "mypage".
Whatever!
This is the only used name you have to set.
Additionally you have to adapt the new window parameters to your needs.
Additionally you have to adapt the new window parameters to your needs.
If you are looking for window.open parameters here is a good description:
http://www.netzwelt.com/selfhtml/javascript/objekte/window.htm#open
http://www.netzwelt.com/selfhtml/javascript/objekte/window.htm#open
ASKER
hi zvonko:
if i paste your suggestion in the url option at the outline, the browser returns: page cannot be displayed.
the brower url show: dbpath:=@Replace(@Subset(@ DbName;-1) ;
???
if i paste your suggestion in the url option at the outline, the browser returns: page cannot be displayed.
the brower url show: dbpath:=@Replace(@Subset(@
???
what Type is your OutlineEntry?
ASKER
URL
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello hreinart, still problems with this?
ASKER
hi zvonko,
i had to leave for some hours.
it's working great!!!
in case i should have pasted this into the formual window before, this could be the reason for the first problem i had.
thanks a lot
hreinart
i had to leave for some hours.
it's working great!!!
in case i should have pasted this into the formual window before, this could be the reason for the first problem i had.
thanks a lot
hreinart
ASKER
works exactly as needed.
the rest of the needed parameters should be available on the mentioned web site.
thanks again
hreinart
the rest of the needed parameters should be available on the mentioned web site.
thanks again
hreinart
You are welcome :-)
Thanks,
zvonko
Thanks,
zvonko
ASKER
hi zvonko,
it's really strange...
i send now about 2 hours and can't get it to work again.
i tried to enhance the open parameters.
now whenever i paste the code, it never says "computed " anymore. if i look into the formular i see this:
"
at the beginning and end of the line.
if i delete it, it says computed.
but by pressing the link it says: http 404 not found.
the link contains :
javascript:nw=window.open( '/Test\hom e.nsf/kont akt?OpenPa ge','title ','height= 200,width= 200');wind ow.reload
where is the problem???
thanks
hreinart
it's really strange...
i send now about 2 hours and can't get it to work again.
i tried to enhance the open parameters.
now whenever i paste the code, it never says "computed " anymore. if i look into the formular i see this:
"
at the beginning and end of the line.
if i delete it, it says computed.
but by pressing the link it says: http 404 not found.
the link contains :
javascript:nw=window.open(
where is the problem???
thanks
hreinart
ASKER
...oh.. i spend ofcourse 2 hours and didn't sent them ;-)
are you embedding the page in a frame on a frameset ?
Are you looking at these scrolls or something else ?