Ok i got the tag i wanted, but my code is still not working...here is my
code, the files are in the dir but but they don't show the images or ccs
files. It i try the same thing in just html file it works fine.... here is
the complete code: 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>

        <head>
                <meta http-equiv="content-type"
content="text/html;charset=iso-8859-1">
                <title></title>
                <link rel="stylesheet"
href="<@CGI><@APPFILEPATH>styles.css">
        </head>
        <body>
                <div align="center">
                        <table border="0" cellpadding="0" cellspacing="0"
width="450" cols="1">
                                <tr>
                                        <td>
                                                <div align="center">
                                                        <img
src="<@CGI><@APPFILEPATH>images/image1.gif" alt="image" width="441"
height="93" border="0">
                                                        <table border="0"
cellpadding="0" cellspacing="0" width="430" cols="1">
                                                                <tr>
                                                                        <td
width="52"></td>
                                                                        <td
width="378">
        
<p><span class="class10"><b><@VAR Resultset[1,1] scope=local></b></span></p>
        
<p><span class="class7"><@VAR Resultset[1,2] scope=local></span></p>
        
<p></p>
        
</td>
                                                                </tr>
                                                        </table>
                                                </div>
                                                <div align="left">
                                                        <div align="left">
                                                                <p></p>
                                                        </div>
                                                </div>
                                        </td>
                                </tr>
                        </table>
                </div>
                <p></p>
        </body>

</html>

-----Original Message-----
From: Dost, Farzana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 10:05 AM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Application Root


Does anyone know what is the tag for getting application dir? 
My taf is in test dir and i have images dir inside the test dir. 
the path to my image src is images/img.gif but on my taf file the image is
not shown. Is that because i don't have path specified or something else...

Farzana...

-----Original Message-----
From: Dost, Farzana [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 5:39 PM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Error writing to a file. Error #%d


I get the above error when I save my tango file. It appears in a pop up
message box. I can't do anything except closing my Tango Editor. The worset
thing is that after this error all the tafs that were open will be lost. The
files are there but are empty! I lots my tafs twice! :( ofcouse had no back
up!
Does anyone know why this caused. All i was doing was creating a longin taf,
using search and if tools, nothing fancy. I am useing tango 2000 trial
version. 
Any idea why I get this????

Thanks

Farzana

-----Original Message-----
From: Dave Shelley [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 8:55 PM
To: Multiple recipients of list witango-talk
Subject: RE: Witango-Talk: Javascript Question -- upload file size


Thanks Scott, that was what I was missing.

The attached .TML file demonstrates how to get the size of an image without
uploading it to the server. I wanted to do it generically for all files, but
I could only get it to work with images. Anthony was right, you can't get
the properties of a document with a different host and prottcol. That would
be too big a security hole.

In a nutshell, it works like this. The top frame has INPUT TYPE=FILE tag. An
onChange handler writes an IMG tag to the bottom frame which loads the file
locally. 200ms later (to give the image time to load) it gets the
image.fileSize.


Thanks everyone for your help.
Dave Shelley

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Cadillac
> Sent: Monday, June 24, 2002 5:16 PM
> To: Multiple recipients of list witango-talk
> Subject: Re: Witango-Talk: Javascript Question
>
>
> Hi Dave,
>
> I haven't tried it, but there is a 'document' property called 'fileSize',
> so maybe:
>
> var txt = parent.otherFrame.document.fileSize;
>
> Of course, this may be an MSIE extension. More information is available
> here:
> http://msdn.microsoft.com/library/default.asp?url=/workshop/author
> /dhtml/re
> ference/properties/filesize.asp
> (Above URL may word-wrap).
>
> Good luck and let us know how it goes. Cheers...
>
> Scott Cadillac
> http://xml-extra.net
> [EMAIL PROTECTED]
>
> http://witango.org
> [EMAIL PROTECTED]
>
> VP, Research and Development
> Plus International Corp.
> 604-460-1843
> [EMAIL PROTECTED]
> http://www.plusinternational.com
>
> Vancouver, BC, Canada
>
> Does your company have an Enterprise Information Portal? Check
> out Salsa at
> www.plusinternational.com/flash/salsa.htm
>
> ----- Original Message -----
> From: "Dave Shelley" <[EMAIL PROTECTED]>
> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
> Sent: Monday, June 24, 2002 1:55 PM
> Subject: RE: Witango-Talk: Javascript Question
>
>
> > Maybe I should explain what I'm trying to do.
> >
> > I'd like to check the size of an upload file on the client
> machine before
> > it's uploadad. I realize it's been said that it can't be done,
> but that's
> > never stopped me from trying before. ;)
> >
> > Starting with [input type=file name=theFile size=50>
> > and an onChange handler that says:
> >    parent.hiddenFrame.location='file:\\'+theFile.value;
> > This loads the file in the hiddenFrame. (Also works for
> previewing gif's)
> >
> > Next I want to figure out how big it is. If I could get the contents, I
> > could do a .length on it.
> >
> > So I can't user <@url>. The host and protocol are different from the
> parent
> > frame. I think I'm stuck.
> >
> > Thanks.
> > Dave
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Johansen
> > > Sent: Monday, June 24, 2002 3:48 PM
> > > To: Multiple recipients of list witango-talk
> > > Subject: RE: Witango-Talk: Javascript Question
> > >
> > >
> > > Just a thought, haven't thought it all the way
> > > Using the @URL and populating a hidden object that JS can get to
> > >
> > > Ben Johansen - http://www.pcforge.com
> > > Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
> > > Latest downloads & List Archives @ http://www.witango.ws
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Shelley
> > > Sent: Monday, June 24, 2002 9:27 AM
> > > To: Multiple recipients of list witango-talk
> > > Subject: Witango-Talk: Javascript Question
> > >
> > > Is it possible to read the entire contents of one frame from within
> > > another
> > > frame? Something like:
> > >  var txt = parent.otherFrame.document.innerHTML;
> > >
> > > I have my doubts as this would open a huge security hole, but
> I thought
> > > I'd
> > > ask anyway.
> > >
> > > Dave Shelley
>
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to