Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting pages & switching

Status
Not open for further replies.

michel777

Technical User
Sep 23, 2009
11
CH
Hi Forum,

to develop a "Digital Signage" applikation we need:

1) After loading the (main) html page get all the pages (.html, .pdf, .xls, .jpg) as members of the paylist.

- Is there a way to get the appr. 15 pages into the browser (as DOM Objects) ? Or rather to load in 15 iFrames ?

2) The mentionde pages should be displayed in a certain order (in ca. 20 sec tact).

- A possible solution would be to hide / unhide. Any other wy ?

Thanks in advance

Michel
 
Do you need all pages or just one at a time? If you just need one, you can use only one iframe and change the src of it

Cheers,
Dian
 
Hi Dian,

thanks a lot. Yes we need because we wont wait for the next page. The application will be started wit all of documents (load once) and only certain documents will be updated.

Michel
 
Your question isn't clear - are you asking IF it can be done with AJAX, or HOW it can be done?

If it's IF it can be done, then "Yes" is the answer.

If you're asking HOW it can be done, perhaps something like the jQuery "load" method might help (
Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Hi Dan,

you are right, my questions were not clear.

Actually I have already successfuly loaded and handled html pages, injected into the DOM. But I have still problems with PDF: simply loading anywhere in the DOM resulted, that teh first characters (%PDF ...) appeared there.

The question is: how to "inject" a PDF documents ?

Thanksk in advance,

Michel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top