PDA

View Full Version : Large Document to Put on Intranet


Neil
10-11-2002, 11:23 AM
Hi,

I am new setting up an Intranet.

Where I work, we use the Microsoft Office Suite of programs, with this in mind, it was thought best to create the Intranet pages using Front Page 2000.

All well so far.

However I need to get a document in its entirity onto the web page, this is a combination of Word Documents with embedded Excel and Powerpoint attachements.

The document comes to about 100 pages and 1.4 MB

What I normally do is put the wod and Excel documents together into a single Word document and convert it within Front Page to an HTML document. However due to the size this would not be practical with the current document.

The best thing may be to have hyperlinks that open new windows with the powerpoint and Excel content within thier own windows. I would also like to print off all documents should that be needed. Therefore I have 2 questions in this relation.

1 How do I open a new window of a smaller size than the one open to display the Excel / PowerPoint content?

2 I know about Alternate Printing, but that seems to be for 1 document only, therefore I would have to try and print 1.4 MB over our WAN if I had to do it all together. Is there any way I can give a list of documents to print when the user presses the Print button at the top of the browser?

Finally, can you let me know how any of you prepare a large single document onto your web pages so that it is managemeble? All Ideas welcome.

Thanks in advance,

Neil

Mhtml
10-11-2002, 12:05 PM
Here is a popup window code. Insert it into the <head> of your page.

<script>
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
if(popUpWin)
{
if(!popUpWin.closed) popUpWin.close();
}
popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
</script>

Then in the link you want to have the window open up from do this Just change the following with you prefered data!, I have color coded it so you can easily change it.:


<a href="javascript:popUpWindow('http://www.here.com',X,Y,Width,Height)">Open new window</a>

page url
distance from left of monitor
distance from top of monitor
width of popup window
height of popup window
text of link

As for the printer bit I think that maybe re-making your pages to include a "Print page" function would be appropriate, I'm not sure on this though so I think I should leave it to someone else who may have done something like this before.

Neil
10-11-2002, 03:06 PM
Thanks for that. I will use it on the page I have.

It leads me to another question, How to I incorporate 2 java scripts on the same page.

I have one I already put on the page to protect if from right clicking on the mouse.

Can I put the 2 of them together or not.

Thanks,

Neil

tommysphone
10-11-2002, 03:14 PM
as seperate scripts it will be fine.

tommysphone
10-11-2002, 03:16 PM
Give the document providers access to Frontpage editor. get them to build document using that tool. That way its all done in html. They'll need a bit of training but it works a treat for me.

15 thousand users worlwide and 200 contributors. Makes my job very easy, especially when I get similar situations as yours.
You could also look at developing a content management system, in the end they'll be building their own pages. You simply make sure it all works.

murphyz
10-11-2002, 03:34 PM
Just a couple of points...

Why disable the right mouse click? Pressing the right mouse button on the keyboard or 'shift F10' will get the menu up for them.
Why not create your own right click menu so you can put your own commands in? Take the source code from my work-in-progress page http://www.murphyz.co.uk/pages/xfiles/episodes.htm - of course they can also turn java off so nothing works 100%.

Secondly, have you considered converting the word document to .pdf format?

Mxx

Mhtml
10-13-2002, 11:55 AM
Hey I found something that may be of use to you in relation to your printing problem!
It is meant to print a different document when a user prints the page or something to that effect.
<link rel=alternate media=print href="printversion.doc">

here: http://www.dynamicdrive.com/dynamicindex9/printstyle.htm

I only glanced at it but it may work. Check it out!

Neil
10-14-2002, 07:40 AM
Thanks for that.

I currently use the Alternate Media to print a specific document. What I really need to find out is if you can specify a number of documents within the alternate media. If I were to put the complete document together it would be about 1.5+ MB. If I could print bits at a time, it would be better.

Thanks for the tip though.

Neil

Mhtml
10-14-2002, 08:36 AM
Ok, I have plenty of free time so I will go on a treasure hunt for the requiered info I'll let you know if I find anything.

Mhtml
10-14-2002, 08:39 AM
Actually come to think of it I believe that there is support for management of microsoft office documents in ASP, I'm not sure about CGI PHP though... Can you support ASP?

Neil
10-14-2002, 08:43 AM
I have never tried to load an active server page, however I have the FrontPage Extensions 2002 running on the server. The server is running NT 4.0 SP6a with IIS 4.

So I think I should be able to support asp.