forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <>
Subject [jira] Commented: (FOR-637) Inserting an html document into a project
Date Wed, 17 Aug 2005 20:45:54 GMT
    [ ] 

Ross Gardler commented on FOR-637:

Oops, sorry, to fast, I answered a question you didn't ask - not very helful.

To have the page display when you click the button you simply need to use a javascript call
to open the page when the button is pressed, for example:

However, you can't use the onclick event since this is not valid in the doc1.2 DTD, in fact
neither is the form element needed to create a button. If your button is an image then it
will work. You will need to surrond it with an <a> element and se the javascript: psuedo
protocol in the href attribure to open your window.

> Inserting an html document into a project
> -----------------------------------------
>          Key: FOR-637
>          URL:
>      Project: Forrest
>         Type: Test
>   Components: XML grammars & validation
>     Versions: 0.7
>  Environment: Windows XP Professional
>     Reporter: William Buker
>     Assignee: Ross Gardler
>     Priority: Minor

> I have this code below. Right below the code that says Admin Documentation I want to
insert an html documement that will open on the webpage for users to follow, by pushing the
'Admin Documentation' button. The file is called Users_doc.html and is found in the same directory
where the code below is found. 
> <?xml version="1.0"?>
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "">
> <document> 
> <header> 
> <title>Administrative Documentation</title> 
> <authors><person name="Jeremy Wilson" email=""/>

> </authors> 
> <notice>Initial documentation</notice> 
> </header> 
> <section>
> <title>Admin Documentation</title>
> <p> Push the blue "Admin Documentation" bar above for user information on the Adminstration
> </section>
> <footer> 
> <legal>© 2004 ESRG LLC.</legal> 
> </footer>
> </document>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message