WordPress.org

Ready to get started?Download WordPress

Forums

Google Doc Embedder
Open different documents in one viewer at different times. (2 posts)

  1. maryabs
    Member
    Posted 1 year ago #

    I am currently using iframe to show the documents on my website. I have the iframe in one page and links to each document on the same page pointed to the iframe. When someone wants to open a document, they click the link and it shows on the same page. If they want to choose a different document, they click a different link and it replaces the previous document in the viewer. I use the following code to point the document to the viewer: <a href="http://absincometax.com/wp-content/uploads/2012/10/Part-I.pdf" target="mainframe">Part I

    Is something like this possible with GDE?

    http://wordpress.org/extend/plugins/google-document-embedder/

  2. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    At present each shortcode references one instance of the viewer. The iframe doesn't have a name or ID to be targeted to other links, and though one could easily be added, that wouldn't resolve how to create multiple shortcodes that only result in a single shared viewer. I'll have to put some thought to that but at present it's not possible with GDE. Sorry.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.