Autodesk DWF Viewer
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Robert
Problem with code
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
53 Views, 1 Replies
03-04-2003 06:16 AM
I've got a XML listing of sheets which I've created a XSL stylesheet to
render in IE. The XSL creates links to the DWFs. My problem is, I want to
have the links open a new browser window OR open the DWF in just the Express
Viewer. Sounds pretty simple, exept that when the link opens a new window,
the parent window changes to have "[object]" written on it instead of
keeping my sheet listing.
This is my current code
javascript
pen("
select="./@name"/>.dwf","dwfWin","toolbar='0',loca tion='no',menubar='0'...
I've treid using just the target="_blank" attribute, but I can't keep the
new window from having toolbars, menus, ect. Any one else have a clue? If
there's a way to have the link open the express viewer by itself, that'd
work also.
Befuddled,
Robert
render in IE. The XSL creates links to the DWFs. My problem is, I want to
have the links open a new browser window OR open the DWF in just the Express
Viewer. Sounds pretty simple, exept that when the link opens a new window,
the parent window changes to have "[object]" written on it instead of
keeping my sheet listing.
This is my current code
javascript
select="./@name"/>.dwf","dwfWin","toolbar='0',loca
I've treid using just the target="_blank" attribute, but I can't keep the
new window from having toolbars, menus, ect. Any one else have a clue? If
there's a way to have the link open the express viewer by itself, that'd
work also.
Befuddled,
Robert
*Lone, Peter
Re: Problem with code
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-06-2003 12:35 PM in reply to:
*Robert
This is a known is with AEV. As I
understand it, Autodesk was going to fix that "target" problem in this latest
release. Try updating your AEV to the latest relase that just came out a
week or so ago.
understand it, Autodesk was going to fix that "target" problem in this latest
release. Try updating your AEV to the latest relase that just came out a
week or so ago.
In the meantime, why not just direct the link to an
HTM or ASPX page that enbeds an instance of the AEV object that is waiting to
fill in it's parameters from the QueryString? Your link could be generated
like this:
HTM or ASPX page that enbeds an instance of the AEV object that is waiting to
fill in it's parameters from the QueryString? Your link could be generated
like this:
<a>
<xsl:attribute
name="href">/mydwf.aspx?dwf=<xsl:value-of select="./@name/"
/>.dwf</xsl:attribute>
</a>
name="href">/mydwf.aspx?dwf=<xsl:value-of select="./@name/"
/>.dwf</xsl:attribute>
</a>
I'd use ASPX, but you can also use regular HTM and
JavaScript to get and use the QueryString values. On the MYDWF.ASPX page,
you'd embed the object like so:
JavaScript to get and use the QueryString values. On the MYDWF.ASPX page,
you'd embed the object like so:
<object id="AdView"
classid="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575 DF" border="0"
codebase="
size=2>http://www.autodesk.com/global/expressviewe r/installer/ExpressViewerSetup.cab
face="Courier New" size=2>">
<param name="Src"
value="
size=2>http://myserver/mydir/<%=Response
face="Courier New">.Write(
size=2>Request.QueryString("dwf"))%>">
classid="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575
codebase="
size=2>http://www.autodesk.com/global/expressviewe
face="Courier New" size=2>">
<param name="Src"
value="
size=2>http://myserver/mydir/<%=Response
face="Courier New">.Write(
size=2>Request.QueryString("dwf"))%>">
... add
other parameters here ....
</object>
other parameters here ....
</object>
You could still use XML and XSL to render the page
that contained a list of links, but you'd have better control of the AEV object
if you directed the link to a page that was designed for that very
purpose.
that contained a list of links, but you'd have better control of the AEV object
if you directed the link to a page that was designed for that very
purpose.
HTH,
"Robert" <
href="mailto:engrtech@johnsoncitytn.org">
size=2>engrtech@johnsoncitytn.org> wrote
in message
href="news:1E43B0B9024816DCAD53E7E42525E1AE@in.Web X.maYIadrTaRb">
face=Arial
size=2>news:1E43B0B90...
face=Arial size=2>...
> I've got a XML href="mailto:engrtech@johnsoncitytn.org">
size=2>engrtech@johnsoncitytn.org> wrote
in message
href="news:1E43B0B9024816DCAD53E7E42525E1AE@in.Web
face=Arial
size=2>news:1E43B0B90...
face=Arial size=2>...
listing of sheets which I've created a XSL stylesheet to
> render in
IE. The XSL creates links to the DWFs. My problem is, I want
to
> have the links open a new browser window OR open the DWF in just the
Express
> Viewer. Sounds pretty simple, exept that when the link
opens a new window,
> the parent window changes to have "[object]" written
on it instead of
> keeping my sheet listing.
> This is my current
code
> <a>
> <xsl:attribute
name="href">
>
javascript
> select="
href="mailto:./@name"/>.dwf","dwfWin","toolbar='0'
face=Arial
size=2>....
face=Arial size=2>")
>
</xsl:attribute>
> <xsl:value-of
select="
size=2>./@name"/>
>
</a>
>
> I've treid using just the target="_blank" attribute,
but I can't keep the
> new window from having toolbars, menus, ect.
Any one else have a clue? If
> there's a way to have the link open
the express viewer by itself, that'd
> work also.
>
>
Befuddled,
> Robert
>
>
