I had removed the convertStylesToInline call some time ago for the comx search..  If you are seeing it in your comx.xml, it is most likely an old one..

I think the calendar and the help window needs to use it as it has legitimate use for the imported styles...  I dont believe any other popups would make use of them..

FWIW,

Mont

Kim Gräsman wrote:
Hi Shawn,

Lost this in the stream of messages these past days... 

  
Part of the problem with popup windows is that they all use 
convertStylesToInline, where they read the main document's 
stylesheet...
      
Is there a particular reason for the convertStylesToInline function?
    

I don't know, it's from before my time.

  
It seems like this would be a lot 
more effective code in searches requiring those styles applied:

<style type="text/css">
@import url("search.css");
</style>
    

That looks reasonable to me, I don't know what benefit the inline styles
bring here. Comment above convertStylesToInline says:

	// Used by the calendar and the menu (or anything that uses 
	// IE window.createPopup method), which cannot call the 
	// stylesheet directly.

Does that ring a bell with anyone?

Kim



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel




  

Reply via email to