Support » Plugins and Hacks » Open it New Tab

Open it New Tab

Viewing 2 replies - 1 through 2 (of 2 total)
  • kcrao.bsnl@gmail.com


    this is what i usually do to get doc in a new tab …

    step 1: create –> viewer.php and paste the following code

    Doc Downloader
    	<center><b><a href="<?php echo $_GET["url"]?>">Download This Document </a></center><b>
    	<iframe src="http://docs.google.com/viewer?url=<?php echo $_GET["url"]?>&hl=&embedded=true" class="gde-frame" style="width:100%; height:110%; border: none;" scrolling="no"></iframe>

    Step 2: place the following code where ever you want

    <a href="http://www.YOURWEBSITE.com/PATHtoFILE/viewer.php?url=http://www.YOURWEBSITE/filename.pdf"  target="_blank">Click here to view </a>

    Hope this helps you

    Plugin Author k3davis



    The full screen viewer can open in a new tab without any special code. Is this not what you want?


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Open it New Tab’ is closed to new replies.