Re: New URL for bibliograph

Alex Russell <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Organization netWindows.org
Message-ID <[email protected]>
On Monday 11 August 2003 10:39, Christian Boulanger wrote:
> My server is experiencing difficulties ... So I found a new home for our
> application:
>
> http://www.panyasan.de/bibliograph/
>
> In most folders you can now click on the table rows to get a pop-up window
> with the full entry. I wanted to do it with a netWindows-Window, but then I
> realized I did not know how to *write* to such a window via javascript, so
> I opened a new window, which might be better anyways for forms etc.
>
> But I need some input how to fill netWindows objects with text after they
> have been created...

netWindows provides an entire infrastructure for loading external content into 
page elements (including windows). The loaded pages must include a callback 
script, located in winScripts/load_page_callback.js. They do not need to 
preform any calls to methods defined in that script, as the callback setup is 
automatic.

To request that a URL be loaded into a window, you can do something like:

	windowObj.contentObj.loadURL("http://wherever.com/something.html");

There are several gotchas regarding loaded content. The first is that scripts 
and CSS includes defined in the <head> section of the loaded content will be 
essentially ignored.

A skeleton for a page loaded by this mechanism is available in the FAQ 
(http://netwindows.org/docs/FAQ.html#d45e860), but looks like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
        <head>
                <title>This is loadable in netWindows</title>
                <meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1" />
                <script 
                        
src="http://netWindows.org/winScripts/load_page_callback.js" 
                        language="JavaScript" type="text/javascript"></script>
        </head>
        <body>
             <!-- YOUR PAGE CONTENT HERE -->
        </body>
</html>

> ... And of course what the new syntax is for setting up the main window, so
> that the transparency problem can be removed with the CVS code.

I'm not sure I understand this problem. Can you clarify?

-- 
Alex Russell
[email protected]
[email protected]

_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.