Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good afternoon, In our 8.5 environment, once we have published a doc using publisher, the IE document automatically opens up in a new window, which is perfect.
In 9.0, the same link opens up in the same window, does anyone know if you can change this?
James,
To do this, you just need to modify a couple lines in one of the files:
James,
To do this, you just need to modify a couple lines in one of the files:
Vlad, Thanks for that, it works perfect, but only if users select "Open With". Any way to force it into a new window if they click the thumbnail?
Thanks in advance
James
Step #3 will take care of the thumbnails
I guess I should have read past #2 🙂
Thanks!!!!
Is there any way to open the document in a new tab instead of a new window?
Nope, it's a user setting how to handle opening windows (New window or in tab) which is probably good since people have different preference in this matter.
Most newer browsers can be set to open links that target a new page in a new tab though so if a user wants to open everything in tabs they should be able to do so.
For IE7 this is set under:
1. Open IE7
2. Click Tools
3. Click Internet Options
4. Click Settings
5. Select Always open pop-ups in new tab
6. Click OK until you are back in your browser
Vlad, I've tried out your solution and it doesn't do quite what I was looking for. In QV 8.5, if you clicked on the small green page icon to open a document in a new window, the document opened in a window that had no browser toolbar or menubar. This was quite useful because it removed unneccesary things like the Back button and the address bar that the user could click on, and also gave me quite a bit more screen space to work with.
I've tried (with my zero knowledge of javascript) to add plugin.toolbar = no and plugin.menubar = no (and 0) to the plugin section of the script, but they make no difference.
Do you know of any way to remove the toolbar and menubar from the new window?
Thanks.
I was looking for the same thing, the new window with just QlikView....
I hope someone has a fix 🙂
Colin,
This is a more complicated solution:
function OpenLink(object) {
window.open(object.name,'mywindow','toolbar=no,location=no,directories=yes,status=yes,menubar=no,scrollbars=no,copyhistory=yes, resizable=yes');
}
<table width="100%">
<tr><td>
<span id="Menu_OpenWith">Open with</span>:
<ul>
<li><a name="#" href="#" onclick="javascript:OpenLink(this)" id="Menu_Client_Plugin">IE Plugin</a></li>
<li><a name="#" href="#" onclick="javascript:OpenLink(this)" id="Menu_Client_Java">Java</a></li>
<li><a name="#" href="#" onclick="javascript:OpenLink(this)" id="Menu_Client_Ajax">AJAX zero footprint</a></li>
</ul>
</td></tr>
<tr><td><a name="#" href="#" onclick="javascript:OpenLink(this)" id="Menu_Download">Download</a></td></tr>
<tr><td><a href="#" id="Menu_Favorite">Add to favorites</a></td></tr>
</table>
That should do the trick--all links will open in a new window, and that window won't contain any toolbars, address bars, scrollbars, or menu bars.
Regards,