1 person found this helpful
Try parent.frames.bsscright.document.location.href instead of parent.document.location.href
It works for Print buttons so it'll probably work for other uses as well, see: http://forums.adobe.com/thread/521408?tstart=0
no such luck, just reset the dropdown menu to the default option and doenst load anything....ill keep looking online for an answer......would love to get this working.
Can you post a small example project so we can play around with it?
I got it working, I had to remove the  tag where it said frame in the new code that you sent me Willam. Now it loads the pdf inside the topic pane perfectly.
so the code looks like this.
<form name="myForm" action="" style="width: 305px;">
<select name="jumpTo" class="SmallText" size="1" style="width: 190px;">
<option selected="selected">Select version...</option>
<option value="../36.pdf">Doc 36</option>
<option value="../35.pdf">Doc 35</option>
<option value="../34.pdf">Doc 34</option>
<input type="submit" value="View" class="SmallFormField" onclick="parent.frames.bsscright.document.location.href = myForm.jumpTo[myForm.jumpTo.selectedIndex].value; return false" style="width: 57px;" />
Very pleased with this. Thanks for the help.
I'm a bit puzzled with this thread. Why? Well, you seem to be desiring to reference a PDF.Normally this is quite straightforward.
What seems to be missing here is some background of exactly where this code lives. Are you inserting it in the main WebHelp Toolbar or just inside another topic? If it's just inside another topic, what is the reason for all the deducing of the frame? I mean, if you are already inside the frame where you will ultimately display the PDF, why doesn't the code simply look like this:
onclick="document.location.href = myForm.jumpTo[myForm.jumpTo.selectedIndex].value
Helpful and Handy Links
what can I say....my knowledge of JS is terrible.
much cleaner solution, thank you.
It's good that Rick's around. I thought you embedded the from in the button toolbar itself (whskin_tbars.htm)