Previous Next blank.gif blank.gif

Class Href - Generate a hyperlink.


SYNOPSIS

import HTMLgen
class Href
  def __init__(self, url='', text='', **kw)
  string __module__ = 'HTMLgen'
  def __str__(self)
  def append(self, content)
alias A = Href
alias HREF = Href

DESCRIPTION

Argument 1 is the URL and argument 2 is the hyperlink text.

Keyword arguments

target
is an optional target symbol
onClick
is the script-code which is executed when link is clicked.
onMouseOver
the script-code which is executed when the mouse moves over the link.
onMouseOut
the script-code which is executed when the mouse moves off the link.

SEE ALSO

HTMLgen


Previous Next blank.gif blank.gif
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999