P
prabhjot singh
Hey there,
I've a particular requirement in which I need to link stylesheets
already included in a parent html. In that HTML file, another iframe
is being on the fly and I need to link same stylesheets into the child
iframe. I can't link those stylesheets individually into the child
iframe because in the parent frame it is being included using an HTMLF
file (using java include directive).
I don't want to hardcode names of the individual stylesheets (as I'm
currently doing) in the child frame,
So, the options are
1.) Dynamically check the stylesheets linked to the parent frame and
link them to child frame
OR
2.) Need a way to include an HTMLF file using javascript.
I've a particular requirement in which I need to link stylesheets
already included in a parent html. In that HTML file, another iframe
is being on the fly and I need to link same stylesheets into the child
iframe. I can't link those stylesheets individually into the child
iframe because in the parent frame it is being included using an HTMLF
file (using java include directive).
I don't want to hardcode names of the individual stylesheets (as I'm
currently doing) in the child frame,
So, the options are
1.) Dynamically check the stylesheets linked to the parent frame and
link them to child frame
OR
2.) Need a way to include an HTMLF file using javascript.