Open Document To Specific Page From App.openDoc?

Apr 20, 2009

I have a pdf document  toolkit.pdf (202.81K)Number of downloads: 81 that serves as a home page or table of contents for reference materials. This is NOT a web-based document. We use this as a reference tool in a face-to-face classroom setting. Each item on the list or table of contents is a button that the user clicks on to see a dropdown menu of reference documents. Javascript is used to execute the individual documents in the dropdown menus. I am trying to get a document sfract.pdf (112.5K)Number of downloads: 72 in the dropdown menu to open at a certain page. I don't want to set this at the document level, because we have several references that open the same document at different pages.

The javascript is:

if (cChoice=="Boating Infrastructure Grant Program")
var otherDoc = app.openDoc
("sfract.pdf", this);
else

How can I get the document to open "sfract.pdf" to a certain page (like page 30)? I have attached the home page/table of contents (toolkit.pdf) and the document I want to open to a certain page (sfract.pdf).

View 1 Replies


ADVERTISEMENT

Open Page To A Specific Slide From Another?

Nov 10, 2010

I have a slideshow on the "Projects" page. The javascript is external.

There's a link on the homepage that when clicked needs to open the Projects page with the appropriate slide loaded. How do I do that?

Here's the code I have for the slideshow code...

View 1 Replies View Related

JQuery :: Make An Image Map Area Link To Another Page And Open A Specific According Section Via Slide Toggle?

Oct 31, 2011

How to make an image map link to another page AND open a specific accordion section?I guess I need a script that knows which area of the image map was clicked and not only navigate to page 2 but opens the section via slide toggle I need it too.Here is the the page with the image map (although image map version not upload yet so I have what will be uploaded below)[URL] ...and the page I need to navigate to based on the area of the image map clicked and also slidetoggling the div I need it [URL] Here is the image map:

<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<img src="/Img/Illustrations/kicktalkv2.jpg"" alt="Kick Talk" usemap="#kicktalk_map" />

[code]....

View 2 Replies View Related

Thru Window.open Open A Word Document In Print Preview Mode

Jul 23, 2005

Through window.open or window.showmodaldialog, I want to open a word
or excel document in Print Preview mode. Bcos I don't want the user to
make any changes or save it but the user can ONLY VIEW OR take a print
out.

View 1 Replies View Related

JQuery :: Select A Specific Class Inside A Specific Div Based On The ID From A Button Elsewhere On The Page

Mar 10, 2010

<div class="box top"></div>
<div class="box main">
<div class="box header">
<div class="badge"><ul><li class="active"><span>60</span></li></ul></div>

[Code]....

What is happening is $(this) is no longer based on .expand being the (this) that is clicked.

like if i have a button SOMEWHERE randomly on the page with this

<div onclick="Minimize('_alerts');">Click Here</div> this will minimize alerts but because the (this) in minimize function doesn't actually point to the right button that I want to add a class to.

Is there a way to modify the minimize function so that it finds the <div id="mytoggle"><ul> <li class="expand boxminimize" rel="_alerts"> using the rel toggle, and then changes the class of the li from expand boxminimize to boxexpanded??

just like the .expand click function I posted on the top of the post that works?

View 1 Replies View Related

JQuery :: Open A Specific Tab Via An External Link?

Jan 27, 2011

How to open a specific tab via an external link?

View 3 Replies View Related

Open And Close Window, With Specific Address?

Mar 31, 2011

I am a beginner and I am trying to make a script that will open a window when mouse hovers over an image and close when mouse leaves the image

So far I only have the open window part,

<div>
<img id='buttons' src="buttons/buttons.png" onmouseover="window.open ('http:DreamInCode.net');" />
</div>

PS: im using DIV so i can CSS it later(which is probably obvious, but still)

View 2 Replies View Related

Document.write Writing To A Specific Division Or Location

Jul 23, 2005

In searching answers to my quest, I have been looking for a method using
document.write to display the thumbnails in one division while showing text
about the thumbs in another division.

All I've seen so far is that document.write('does this') and that's it.
Nobody expands on this and explains what else you can do with it.
It's like they're more interested in showing you the ads than the
information you need.

View 2 Replies View Related

Ajax :: Open A Link From Tree Into A Specific Frame?

Nov 16, 2010

Code... I can open it up in the current page, but the menu is in a frame and I need to open it in a fram called "home".

How can I do that?

View 5 Replies View Related

Open A Html Document?

Aug 9, 2011

how to open a html file using javascript.

View 5 Replies View Related

Open Writer Document Not In The Browser

Mar 2, 2006

I want to developp a intern tool for my compagny. Thos tool is a web
page in HTML and I have a problem with because I'm not able to open a
document writer
Open Office ( or a winword document) with write access. The link :

<a href="file://X:empsbouchardcookiepythonDOc.odt">lien</a>

open my document in a browser and I don't have the write access. It is
possible to open my document in the application associcated.
In my case, I want that it's Openoffice open my file.

Do you konw the property of <a href> that I supposed to use or the
method to realize this??

Do you have a alternate method to accomplish this??

View 1 Replies View Related

Simple OnClick Open Document

Nov 16, 2004

I need a simple javascript call for onClick Open Document to use in a director movie.

View 2 Replies View Related

Perform A Find In Page Search That Looks At A Specific Link, Opens The Page In A New Window?

Mar 29, 2011

It is possible to perform a find in page search that looks at a specific link, opens the page in a new window and finds the text within that document?? Basically I regularly use an html page in work that has a list of people and their telephone numbers. I want to be able to type in a searchbox on my main page and it open the target page and find the name I am looking for? Is this possible or can you only Find In Page on the same page or another frame?

View 1 Replies View Related

Loading External JS Before Page Page Load (specific Span Element)

Jul 19, 2010

My goal is to load the JS for a specific element before displaying that element. I integrated a third part script, and it works well. I set the timer here:

The JS is in my heading as <script type="text/javascript" src="countdownpro.js"></script>

About mid-body I have: <span id="countdown1">2010-07-20 00:00:00 GMT+00:00</span> which allows for the setting of a target date to countdown to.

When the page first loads it shows the above long format target time, until the js/meta tags kick in to modify it to just show the actual countdown as 00:00:00.

I have attached countdownpro.js to this post. I tried shifting the function CD_Init() to the top of the script, and also appended it inline with the .html. I tried setting the big external script to "defer", but neither arrangement worked. I also tried placing the src file right at the top.

View 2 Replies View Related

Object Document Display - When The Data Is Loaded To The Jsp Page It Displays [object Document] In Front Of My Output?

Mar 2, 2011

I have created a servlet that does nothing more than create a XML file.i have got some JQuery code that reloads the servlet to get the XML data.This works fine and i am able to load the data i want, the problem i have is that when the data is loaded to the jsp page it displays [object Document] in front of my output.

Code JavaScript:
$(document).ready(function() {
setInterval(function() {[code]....

XML file only has one value, called row 1 with the data, "wow this is cool", but my output is: [object Document]

View 1 Replies View Related

Script To Close Old Window And Open New Window With New Link And Specific Size

Jan 29, 2006

I need a script that will open a new window (popup / new link) in a specific size, but will also close the old window (where the popup came from). I know the popup window is easy but finding a work-able close window script as the new window is opened is impossible!!

View 3 Replies View Related

Making Document.write Write Into A Specific Location ?

Mar 24, 2011

I have a client that has ads on her website that really slow down the site. These ads are called by an off site javascript file and I want to use a jQuery(document).ready or similar method to call these files after all of the site content has loaded. But these files contain document.write functions to add more javascript files. Since I want to load the files after everything else has loaded, this in turn makes the page blank and then loads the ad. Is there a way to position where document.write will write to?

View 1 Replies View Related

Open URL In A Box - Open An External Page ?

Mar 5, 2009

I need a script that can open an external page, or some type of content, in a box. This is kind of hard to explain, but here's what I mean, go to facepunch . com (I'm not a spambot dammit) and click on that litte face at the top.

View 1 Replies View Related

Where To Put Page-specific JavaScript

Feb 26, 2007

I have a little menu system which essentially takes HTML like:

<div id='foo'></div>

and retrieves foo.shtml from the server and inserts it inside the
<div>. But sometimes I'd like foo.shtml to look like:

<script language='JavaScript'>
...do something AJAX-y
</script>
<div></div>

so that the script fills in the page. I've hacked together something
that inserts the foo.shtml into foo's div then does a
fooDiv.getElementsByTagName('script') and uses eval() on them and it
works most of the time in some brossers but it seems hackish and
somewhat dangerous and it doesn't work everywhere. Surely there's an
AJAX idiom (or even a DOM built-in) to execute scripts as parts of
pages load.

View 22 Replies View Related

Go To Specific Page Using Backspace?

Feb 28, 2011

I have to go back to specific page(html page) using backspace button in javascript n html.

View 4 Replies View Related

Problem With Html Page Using Cached Page In Window.open(url) Call

Jul 20, 2005

I have an html page that uses javascript to open a new window and
display a file that gets created when a button is pressed.

My problem is when the file is changed and the display button is
pressed, the old file is still displaying. I have tried using

<META HTTP-EQUIV=expires CONTENT=0><META HTTP-EQUIV=PRAGMA CONTENT=NO-CACHE>, but doesn't work 100% of the time.

View 1 Replies View Related

JQuery :: Ensure Links In A Page(a Page From Any Possible Website) To Open In A New Tab?

Jan 8, 2012

I want to develop a multi-tab browser plugin, which requires all links in a page could open in new tabs within this multi-tab browser plugin. It's very similar to Multi-Tab functions of Firefox/IE, when opening a page in one tab, then any links in that Tab will open in another new tab(after setup from pref), i want to know this principle(how to implement this). I am thinking try this:$('a').click(...), while i am not sure whether it's good/enough.

View 5 Replies View Related

Pull Specific Content From One Page To Another?

Jul 31, 2008

Does anyone know if there are any ajax functions that would allow me to pull certain content from one page and display on another in a named <div>?

I currently have some code that pulls all the content and works very well. I am looking to enhance this to say only pull the first <div></div> content.

View 3 Replies View Related

Best Practice For Page-Specific JavaScript?

Jun 29, 2007

I just wanted to get your opinions on this: I have several pages with page-specific JavaScript (i.e. script I know cannot be reused...it can only be run against elements found only on that page).

My question is, would you recommend just putting it in SCRIPT tags in the header, or should I create thispage.js so that the code is separated into another file? It slows the request because the browser has to ask for another external file, but keeps code out of the HTML doc.

View 5 Replies View Related

Set A Cookie So A Specific Page Can Access It?

Dec 4, 2010

just needed to know this because I'm setting the path of the cookie and the path on my browser isn't matching what I set it as.

var the_cookie="file_address~"+x+";path=gallerylogin.php";

...it still doesn't set it so "gallerylogin.php" can access it.

View 1 Replies View Related

Script To Reload Page And Go To Specific Anchor

May 20, 2011

I have created a very very simple javascript that displays random text quotes. It is in Greek but here it is anyway: [URL]. It is in blogger and shows up as a gadget. My problem is that I need to make it reload by a button and at the same time go to the top of this gadget (using an anchor). The reason I want to do this is that I have been sharing this with other bloggers, but if they don't put it on top of their page, as soon as they press the button that reloads the page, they are in the top of the page and they would have to scroll down to find the quote.

I have tried to use window.location.reload with window.location.hash.
It works in Firefox, but not in IE.
I have been trying something like that:
<input type="button" value="Click to refresh" style="width: 130px" onclick="window.location.hash='#something';window.location.reload()" />
As I said, this works with Firefox, but not with IE9
Also, I can't define urls beforehand because I want other people to be able to use it to their own blog or website.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved