?
Solved

How do you display Hidden Text on Webpage before creating Thumbnail of page

Posted on 2014-11-14
4
Medium Priority
?
82 Views
Last Modified: 2014-11-28
I am trying to get thumbnails of webpages to show content of the page.

I have the code to obtain string of HTML and use that to create jpg thumbnail.

The problem is on the pages are tabs, links with "show more.." to JavaScript which then displays more text.

How can I determine in .net c# which text is hidden in this way?

and secondly how do I change page in .net c# before thumbnail generation to display the hidden text behind tabs and links on page?

Thanks
0
Comment
Question by:stephenwilde
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 36

Expert Comment

by:Kimputer
ID: 40442305
This requires a LOT OF CODING on your part. You have to deconstruct the current working code, and reprogram it to include what you want. You will have to insert a routine that picks up the css code and interpret it to see if it has the hide/show elements.
0
 

Author Comment

by:stephenwilde
ID: 40442317
Thanks I thought it may be very bespoke and heavy code.

If I can in code identify there is a tab with text behind it that was not showing

Is there some code in .net that I can sent in the HTML request that is acts like a "click tab" on the identified tab and then the text would show on the returned string?

Effectively like if I did it manually the HTML page would change.
0
 
LVL 36

Accepted Solution

by:
Kimputer earned 1500 total points
ID: 40442327
No, the code are put in the .Net libraries as it is (interpret and show webpage). Everything as exotic as what you like, needs to be programmed by yourself (and you maybe you have to code stuff that's already in the library, but because it's slightly diifferent, you have to start from scratch)
0
 

Author Closing Comment

by:stephenwilde
ID: 40470779
Thanks for the honest answer.
It is going to be a lot of code!
0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question