View Single Post
  #5 (permalink)  
Old July 26th, 2004, 08:36 AM
madhukp madhukp is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

Thanks for the responses. I agree with Vijay that there are no components (I searched for two days). So I am forced to use the following rude method.

The HTML is using only fixed pixels for widths and heights. So, I scan the HTML and replace all widths and heights in pixels by a reduced value (10% of what it is there now). This replacement was done with the help of a regular expression. Only tables, texts and images are involved. So I could do it. Then I am showing it in an inline frame. It is a ghost preview (images are all completely distorted) of what is created by the visitor.

The requirement that On clicking the reduced one, it should open the full HTML is dropped.

This is not a professional method, I agree. I hope I may be able to post a more brilliant method after some time.
Reply With Quote