Now the another problem is setting window.location will change the content of this window...but what i want is i want to change content of particular tab only.
One way i could think of is...instead of script tag...use IFrame, so i added
<IFRAME SRC="" href="http://www.google.com">http://www.google.com" frameborder="no" scrolling="auto" width="100%" height="338"></IFRAME>
Can anyone suggest any other better way.
thanks
Rakesh
On 9/12/06, Rakesh Midha <[EMAIL PROTECTED]
> wrote:
Hello In Lenya 1.4, I am not able to add script tag in xhtml document.
I get following error message, Any idea whats the problem or _javascript_ is not allowed in xhtml pages.
unknown element "script" from namespace " http://www.w3.org/1999/xhtml"
thanksrakeshOn 9/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:On 9/10/06, Rakesh Midha <[EMAIL PROTECTED]> wrote:
> Is there a way to look open external web page as one of the tab in lenya?
>
> Either show a page as a browser in one of the tab.
In 1.2, I manually edited the live sitemap.
FILE: {pub}/content/live/sitetree.xml
<node href="" href="http://solprovider.com" target="_blank" > http://solprovider.com" id="solprovider" visibleinnav="true">
<label xml:lang="en">Solprovider</label>
</node>
Another method is to create a Document, and put some _javascript_ on the
page in Source mode:
<SCRIPT LANGUAGE="_javascript_">
window.location = "http://solprovider.com";
</SCRIPT>
In 1.3, external links are just another Resource. The editor for the
"link" Resource type works well, but you want to wait until the XML
editor (for documents) and Structure editor (for hierarchical
sitetrees) are ready before using 1.3.
Someone else can answer for 1.4.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
