Article View: borland.public.cppbuilder.internet.web
Article #413Re: Avoid messages form script error in TCppWebBrowser
From: Eduardo Jauch
Date: Thu, 01 Feb 2007 16:22
Date: Thu, 01 Feb 2007 16:22
71 lines
2928 bytes
2928 bytes
Hans Galema escreveu: > It is unclear to me what you are speaking about. Please > dig into the htmlcode to show us what you ment. > > Say there is a htmlpage that contains frames. The sourcecode > of such a htmlpage is usually very minimal as it only contains > something like: > > <frameset> > <frame src="top.html"> > <frame src="left.html"> > <frame src="main.html"> > </frameset> > > Now tell us what did you load ? main.html? You did not > load a frame then but the contents for a frame. > > Hans. > So, sorry :) I look at the html code and don't find <frameset> I only find this: <td width="587" valign="top" class="td_bege"> <iframe src="/agendamento-web/index-content.jsp" id="iContent" name="iContent" scrolling="no" frameborder="0" width="588" height="0"></iframe> </td> But the main page have too a flash menu... One of the options of this menu, change what I see on the frame. Really, if I use the right button of the mouse to load the frame in another tab (I'm using firefox), the page that is load is this: index-content.jsp (it's what appear at adress bar) When i click a certain button on the flash, the contents of the frame change, and if I do the same, the result at adress bar is: login?redirect=/agenciadores.do If I use this adress diectly, in Firefox, i don't have any errors... But in my program, if I load this direct, It's loaded, but always show a popup asking for continue running scripts. The error is caused for this line: <body onLoad="parent.PreparePage(document.body.scrollHeight,''); addLocale();"> Because The parent page (main page) was not loaded. There a way to stop this message from been show? The url is: http://www.visto-eua.com.br/agendamento-web/index.jsp?locale=pt_BR The option that I click in the flash menu is: "Ag๏ฟฝncia de viagens" The 4 from botton :) Thanks :)
Technical Details
Message-ID:
<45c21376@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45c0f5e5@newsgroups.borland.com> <45c1a425$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,d4120cbab82a6e5c X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII Date: Thu, 01 Feb 2007 14:22:17 -0200 From: Eduardo Jauch <eduardo.jauch@gmail.com> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: Avoid messages form script error in TCppWebBrowser References: <45c0f5e5@newsgroups.borland.com> <45c1a425$1@newsgroups.borland.com> In-Reply-To: <45c1a425$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 200.193.161.111 Message-ID: <45c21376@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1170346870 200.193.161.111 (1 Feb 2007 08:21:10 -0800) Lines: 71 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail