Subversion Repositories wimsdev

Rev

Rev 5736 | Rev 13594 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5736 Rev 6576
Line 1... Line 1...
1
 
1
 
2
!if $wims_read_parm!=slib_header
2
!if $wims_read_parm!=slib_header
3
!goto proc
3
!goto proc
4
!endif
4
!endif
5
slib_title=Mathcalc
5
slib_title=Mathcalc
-
 
6
slib_out=Javascript Math Calculator
6
slib_parms=0
7
slib_parms=1\
-
 
8
,option: basic
7
slib_example=  
9
slib_example= &nbsp\
-
 
10
basic
8
 
11
 
9
 
12
 
10
slib_author=Joke, Evers
13
slib_author=Joke, Evers
11
 
14
 
12
!exit
15
!exit
13
 
16
 
14
:proc
17
:proc
15
slib_dir=scripts/authors/jm.evers
18
slib_dir=scripts/authors/jm.evers
-
 
19
slib_dir2=scripts/js
-
 
20
!if $wims_read_parm != basic
-
 
21
  slib_calc=$slib_dir/html/mathcalc.html
16
 
22
!else
-
 
23
  slib_calc=$slib_dir2/basicalc.html
-
 
24
!endif
17
slib_out=<a onclick="window.open('$slib_dir/html/mathcalc.html','calculator','width=280,height=370,left=0,top=0')">\
25
slib_out=<a onclick="window.open('$slib_calc','calculator','width=280,height=370,left=0,top=0')">\
18
<img src="$slib_dir/gifs/xcalc.png" width="50" height="70" alt="calculator"/>
26
<img src="$slib_dir/gifs/xcalc.png" style="width:50px; height:70px" alt="calculator" /></a>