[system] / trunk / pg / macros / PGbasicmacros.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/PGbasicmacros.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5208 Revision 5209
1595 htmlLink($url, $text) 1595 htmlLink($url, $text)
1596 # Places a reference to the URL with the specified text in the problem. 1596 # Places a reference to the URL with the specified text in the problem.
1597 # A common usage is \{ htmlLink(alias('prob1_help.html') \}, 'for help') 1597 # A common usage is \{ htmlLink(alias('prob1_help.html') \}, 'for help')
1598 # where alias finds the full address of the prob1_help.html file in the same directory 1598 # where alias finds the full address of the prob1_help.html file in the same directory
1599 # as the problem file 1599 # as the problem file
1600 appletLink( { name => "xFunctions",
1601 codebase => '', # use this to specify the complete url
1602 # otherwise libraries specified in global.conf are searched
1603 archive => 'xFunctions.zip', # name the archive containing code (.jar files go here also)
1604 code => 'xFunctionsLauncher.class',
1605 width => 100,
1606 height => 14,
1607 params => { param1 =>value1, param2 => value2},
1608 }
1609 );
1610 helpLink() allows site specific help specified in global.conf or course.conf
1611 the parameter localHelpURL must be defined in the environment
1612 currently works only for 'interval notation' and 'units'
1613 NEEDS REFINEMENT
1614
1615 ########################
1616 deprecated coding method
1600 appletLink($url, $parameters) 1617 appletLink ($url, $parameters)
1601 # For example 1618 # For example
1602 # appletLink(q! archive="http: //webwork.math.rochester.edu/gage/xFunctions/xFunctions.zip" 1619 # appletLink(q! archive="http: //webwork.math.rochester.edu/gage/xFunctions/xFunctions.zip"
1603 code="xFunctionsLauncher.class" width=100 height=14!, 1620 code="xFunctionsLauncher.class" width=100 height=14!,
1604 " parameter text goes here") 1621 " parameter text goes here")
1605 # will link to xFunctions. 1622 # will link to xFunctions.

Legend:
Removed from v.5208  
changed lines
  Added in v.5209

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9