TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: HTML: call an anchor in a frameset From:holmegm -at- attbi -dot- com To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Fri, 27 Sep 2002 20:23:22 +0000
>But I'm not trying to create a link on an HTML page
>to a place in a frameset. I want to create an
>HTTP-style address, e.g.
>f i le://help/[html file of frameset]#[html file in
frame in frameset]#[anchor name of place in html file in
frameset]
>
>(spaces added so your mail client doesn't try to
>interpret HTML)
If I understand what you are trying to do, and you
want to do it all client-side, then I think you'll
need to pass the HTML page and anchor name you want
loaded in the frameset as a variable, and have JS
in the frameset doc parse out the "framedpage.htm#dest"
value and load it into the desired frame.
var url = unescape(location.search.split('=')[1]);
document.frames.mycoolframe.window.location=url;
Again, this is off the top of my head, so make sure you
get the syntax right, etc.
Good luck,
Greg Holmes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Enhance, optimize and automate your FrameMaker-to-PDF workflow with TimeSavers:
Define all PDF features in your source FrameMaker files ONCE, distill MANY.
Bookmark Controller, Link Controller, UnBloat & more : http://www.microtype.com
Experience RoboHelp X3! This new RoboHelp release combines single sourcing,
print-quality documentation, conditional text and much more, into the most
monumental release of RoboHelp ever! http://www.ehelp.com/techwr-l
---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.