Re: Webclipping - Frame and stylesheet
Nicolas POIRIER <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Organization | AQL - Groupe SILICOMP |
| Message-ID | <[email protected]> |
Ok for stylesheet. I put css link into <body> tag.
But for the frame, if Jahia use only the subcontent of the tag body, how
does it work with tag <frameset> (<frameset> should replace tag <body>
in a HTML page). I try with a simple example, but it doesn't work.
page "frame.html" :
<html>
<head><title>Test frame</title></head>
<frameset rows="*,*">
<frame name="page1" src="page1.html">
<frame name="page2" src="page2.html"
</frameset>
<noframes>
<body> no frame </body>
</noframes>
</html>
When I put the url of "frame.html" page into webclipping component, I've
the next result into web application :
[set rows="*,*">
src="http://p-docvisite.rd.francetelecom.fr/frames/page1.html"
name="page1" > name="page2" src="page2.html"]
Cédric Mailleux a écrit:
> Nicolas POIRIER a écrit :
>
>> Hi,
>>
>> I want to include some HTML pages from a another server into a Jahia
>> page. I use the component "webclipping-1.0", but I've two problems :
>> - include page's stylesheet seems not to be use into the Jahia page ?
>
>
> Jahia use only the subcontent of the tag body from the html returned
> by a webapp, if your stylesheet are defined inside the body tag there
> will be no problem to have them loaded in jahia (check there's no
> conflict). The webclipping component only moved the script tag from
> the original source into the body to avoid script error.
>
>> - component is not able to use <frame> tag ?
>
>
> The component can work with frame, if the src attribute is a non
> absoluite url the componet rewrite it in an absolute way.
>
>>
>> Of other component allows to resolve these problems
>>
>> Thanks,
>> Nicolas Poirier
>>
>>
>>
> Regards,
>
> Cédric Mailleux
>