Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AbrahamR, AndrewAMD, ozgur), 763 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Multi strategy HTML page #457399
01/16/16 23:18
01/16/16 23:18
Joined: Jan 2016
Posts: 122
V
Veratyr Offline OP
Member
Veratyr  Offline OP
Member
V

Joined: Jan 2016
Posts: 122
I wrote up a very basic bit of HTML that shows multiple Z strategy logs on the same page:

Code:
<html>
<head>
<title>Zorro Panel</title>
<style type="text/css">
    iframe {
        width: 33%;
        height: 100%;
    }
</style>
</head>
<body>
    <iframe src="Z12.htm"></iframe>
    <iframe src="Z3.htm"></iframe>
    <iframe src="Z7.htm"></iframe>
</body>
</html>



If you're running multiple Z strategies on a VPS or something, using IIS to serve the log folder, you can put this in a .htm beside the Z1/2/3/7/12.htm files and open it instead.

Pretty basic and probably something only a few people will care about but thought I'd share it nonetheless.

Last edited by Veratyr; 01/16/16 23:25.
Re: Multi strategy HTML page [Re: Veratyr] #457429
01/18/16 10:38
01/18/16 10:38
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Thanks! Very useful when you don't want to have your status on different pages.

Re: Multi strategy HTML page [Re: jcl] #457470
01/18/16 22:07
01/18/16 22:07
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline
Senior Member
nanotir  Offline
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
Really useful nice one!
What about doing that each Z is bellow the other ones in the htm? No idea how to code that.

Re: Multi strategy HTML page [Re: nanotir] #457493
01/19/16 19:33
01/19/16 19:33
Joined: Jan 2016
Posts: 122
V
Veratyr Offline OP
Member
Veratyr  Offline OP
Member
V

Joined: Jan 2016
Posts: 122
If you set width to 100% as well you'll get them stacked one above the other but you'll have to scroll:

Code:
<html>
<head>
<title>Zorro Panel</title>
<style type="text/css">
    iframe {
        width: 100%;
        height: 100%;
    }
</style>
</head>
<body>
    <iframe src="Z12.htm"></iframe>
    <iframe src="Z3.htm"></iframe>
    <iframe src="Z7.htm"></iframe>
</body>
</html>



If you want them all visible but half height, you can set width to 100% and height to 33%:

Code:
<html>
<head>
<title>Zorro Panel</title>
<style type="text/css">
    iframe {
        width: 100%;
        height: 33%;
    }
</style>
</head>
<body>
    <iframe src="Z12.htm"></iframe>
    <iframe src="Z3.htm"></iframe>
    <iframe src="Z7.htm"></iframe>
</body>
</html>


Last edited by Veratyr; 01/19/16 22:18.
Re: Multi strategy HTML page [Re: Veratyr] #457497
01/19/16 22:07
01/19/16 22:07
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline
Senior Member
nanotir  Offline
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
Thanks laugh


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1