DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IE window size by opening a hyperlinks in DWF

1 REPLY 1
Reply
Message 1 of 2
a_salembier
226 Views, 1 Reply

IE window size by opening a hyperlinks in DWF

Hi, Can anyone help me with the following problem. I have the Autodesk Express viewer embed in a HTML file. By opening a DWF drawing, and click on a hyperlink, it opens a new Internet Explorer window,using the "?target_blank" functionality in the URL of my hyperlink (example : http:///name of the hyperlink.html?target_blank . So everything works fine, only the size of the new Internet Explorer window is not always good, and i always need to resize it. Is there any way to add a commando in each hyperlink's URL target(a same kind of commando as ?target_blank) in order to give a width to the window by opening the hyperlink. So not, is there a way to solve that problem by writing a VBscript or HTML commando inside my html target file. I guess i can't solve this inside the index.html where my viewer is embed, because there is no referencies inside that html file about my hyperlink inside my DWF drawing. Thanks really really a lot to anyone who could help me with that...i get crazy about this!! Arnaud.
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: a_salembier

In your HTML, you could write a function such as this:




In the DWF file, your like will have to look like this:

javascript:open_window('http://www.google.com')


Each time a user clicks on a link, the javascript will be called, this will
open a new window. You can also specify the window to have it's own unique
name, this way all links that use this function will open in the same
window, that way you are not spawning lots of new windows.

For more information on the window.open function, please refer to:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/methods/open_0.asp?frame=true


John Schmier
Autodesk, inc.

"a_salembier" wrote in message
news:f16e1cb.-1@WebX.maYIadrTaRb...
> Hi, Can anyone help me with the following problem. I have the Autodesk
Express viewer embed in a HTML file. By opening a DWF drawing, and click on
a hyperlink, it opens a new Internet Explorer window,using the
"?target_blank" functionality in the URL of my hyperlink (example :
http:///name of the hyperlink.html?target_blank . So everything works fine,
only the size of the new Internet Explorer window is not always good, and i
always need to resize it. Is there any way to add a commando in each
hyperlink's URL target(a same kind of commando as ?target_blank) in order to
give a width to the window by opening the hyperlink. So not, is there a way
to solve that problem by writing a VBscript or HTML commando inside my html
target file. I guess i can't solve this inside the index.html where my
viewer is embed, because there is no referencies inside that html file about
my hyperlink inside my DWF drawing. Thanks really really a lot to anyone who
could help me with that...i get crazy about this!! Arnaud.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report