473,756 Members | 5,129 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is javascript useful for creating powerpoint like presentation of html pages

I am accumulating over 80 pages per day into an archive that I
will need to be able to present sequentially to viewers. Using
html to viewing a page, then click on back to return to my archive
index is so awkward it is not useful for my presentations.

Can javascript be used to create a powerpoint like presentation of
html files (with gif hyperlinks)sequ entially from html page to page?

Is so, could someone suggest where I could find a sample of how to
use a javascript program to efficiently navigate viewer through
a date based archive or suggest how to solve my problem?

Harry
Jul 23 '05 #1
9 2797
Ok Harry, I don't have a link but depending how the naming of the
files in your archive, yes you can do this, easily.

-If the files are named sequentially with a number
EXAMPLE (page1.html, page2.html, page3.html)
Would be the most effective, least error prone and with the least
amount of code

-If the names are random and have to patterns
EXAMPLE (page1.html, two.html, lastPageInList. html)
This would make the code a lot more error prone and you would have to
create an index of pages that exist to then direct you in the right
direction when you click on the link.

I am willing to write the code for this application if you provide me
with the information about the pages in the archive.

E-mail me, Yvon
fc***@ncf.ca.
Jul 23 '05 #2
OK, Yvon -- of course you would need more details:
I'm storing files in an archive such as the site below.
http://www.fxblogs.com/USDJPY0601.HTM

I need to edit my current presentations so that backward and forward
buttons will be able to help users better navigate thru the archive
(see below). http://www.fxblogs.com/ARCHIVE/F040602/GBPUSD1.htm

I may get rid of the buttons and use text button since I'm not happy
with them. See this example for:
http://www.fxblogs.com/ARCHIVE/F040602/GBPUSD6.htm

Both Powerpoint and PDF files load way too slow because my archive
generates huge files so I need to stick with html. My program
assigns url names using a a simple sequentially date based scheme
every 15 minutes 24 hours per day.

If you can give up special treatment to the two outer first and last
buttons then something along the following lines should work.

# For the first page in the archive only have a next button referring
to the next session.
# For subsequent pages within the first day have a previous and next
button referring to sessions within the day.
# For the last page no next button is needed.
# Then continue the series.

Regards,
Harry
Ok Harry, I don't have a link but depending how the naming of the
files in your archive, yes you can do this, easily.

-If the files are named sequentially with a number
EXAMPLE (page1.html, page2.html, page3.html)
Would be the most effective, least error prone and with the least
amount of code

-If the names are random and have to patterns
EXAMPLE (page1.html, two.html, lastPageInList. html)
This would make the code a lot more error prone and you would have to
create an index of pages that exist to then direct you in the right
direction when you click on the link.

I am willing to write the code for this application if you provide me
with the information about the pages in the archive.

E-mail me, Yvon
fc***@ncf.ca.

Jul 23 '05 #3
Wow I didn't expect this to be for a market theory. But with the
information you have given me and the information I have acquired this
should be real simple. I should have this script done by the same time
tomorrow. That's about 2 A.M. Eastern Time if you wouldn't mind posting
your email address to send the script, or if you prefer to recieve it
here? Let me know.

And as a suggestion, you should keep the button concept because it
stands out. For simplicity reasons, the user understands that you can
maneuver around the current information.
If you don't really have any artistic talent?, I can ask my friend to
draw you some simple slick buttons.

So to make sure the naming of the files goes
"http://www.fxblogs.com/ARCHIVE/F" + year + month + day + "/F" + year +
month + day + 0 to 20 + 1 to 4 + "/USDJPY.HTM"

http://www.fxblogs.com/ARCHIVE/F0406...001/USDJPY.HTM
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #4
JRS: In article <40************ **********@news .newsgroups.ws> , seen in
news:comp.lang. javascript, Yvon Kephren <fc***@ncf.ca > posted at Sat, 19
Jun 2004 06:10:51 :

So to make sure the naming of the files goes
"http://www.fxblogs.com/ARCHIVE/F" + year + month + day + "/F" + year +
month + day + 0 to 20 + 1 to 4 + "/USDJPY.HTM"


Perhaps 20 should read 23.

For many locations, year month day should be GMT/UTC, if there is to be
no Autumnal duplication; month & day need 2 digits, otherwise 11 Jan & 1
Nov are indistinguishab le.

If the need is just for a name that changes every 15 minutes, consider
new Date().getTime( )/9e5 | 0 which as a string is seven characters
long and remains so until spring of 2255.

The name of the next/previous page can then be determined from that of
the current page by adding/subtracting one.

--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demo n.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
Jul 23 '05 #5
Thanks for your very informative comments on usage of date and time
info. I'll consider those changes in updated version of my forex
archive/blogger. I've just add a way for users to go back and forward
once they've entered the index page of the archive.
http://www.fxblogs.com/

Now instead of clicking to get out of a trading session users are able
to go forward or backward depending on their preferrence to the
subsequent sessions.

Currently, the forex blogger archives 5 markets in 15 minute trading
sessions. I'm looking to develop user friendly ways to present future
version of archive to viewers that might perhaps include a drop down
horizontal menu in which I would have each of 5 columns provide access
to market.

I would appreciate any constructive comments that would improve the
ability of users to navigate my archive including how to add a
javascript dropdown menu. The archive is viewable using the index at
http://www.fxblogs.com/ because individual page links are temporary
due to the nature of the blogger.

Regards,
Harry
Jul 23 '05 #6
Hi Harry,

Do you have access ot your server with ASP or something server-side?
It'll be dead easy to go thru the fold and list the files on a dropdown list.

Kien
ap*******@yahoo .com (Harry) wrote in message news:<e6******* *************** ****@posting.go ogle.com>...
Thanks for your very informative comments on usage of date and time
info. I'll consider those changes in updated version of my forex
archive/blogger. I've just add a way for users to go back and forward
once they've entered the index page of the archive.
http://www.fxblogs.com/

Now instead of clicking to get out of a trading session users are able
to go forward or backward depending on their preferrence to the
subsequent sessions.

Currently, the forex blogger archives 5 markets in 15 minute trading
sessions. I'm looking to develop user friendly ways to present future
version of archive to viewers that might perhaps include a drop down
horizontal menu in which I would have each of 5 columns provide access
to market.

I would appreciate any constructive comments that would improve the
ability of users to navigate my archive including how to add a
javascript dropdown menu. The archive is viewable using the index at
http://www.fxblogs.com/ because individual page links are temporary
due to the nature of the blogger.

Regards,
Harry

Jul 23 '05 #7
"Kien" <ca*********@ho tmail.com> schrieb im Newsbeitrag
news:16******** *************** ***@posting.goo gle.com...
Hi Harry,

Do you have access ot your server with ASP or something server-side?
It'll be dead easy to go thru the fold and list the files on a dropdown list.
Kien


I agree to that. If you use ASP or PHP or something similar you can just
create a small script that does the following:

- Read all the file names in the directory into an array
- Sort the array by date, file name or whatever
- Include the file that is indicated in the Request URI for output
- Output a back and forward button with URIs that look something like:
index.php?displ ay=[filename]
- And/or output a dropdown list as Kien suggested for direct access to every
page

Like that you don't have to edit all your pages but just write one script.

HTH
Markus
Jul 23 '05 #8
Thank you for your comments. Yes, I know I have access to my server
with PHP.
Do you have access ot your server with ASP or something server-side?
It'll be dead easy to go thru the fold and list the files on a dropdown
list.
But let me recap what I've done since the start of this post and where
I'm at now so you have a better understanding of where I'm headed.

On my computer I've developed an effective method to: - Read all the file names in the directory into an array
- Sort the array by date, file name or whatever
- Include only file that exist as candidates for a link (obviously to avoid problems with dead links) - Output a back and forward buttons that leads to the previous or next page.


If you've reviewed the archive type forex blogger at my site you'll
notice it does not lead back to the home page, other archives or
markets. To me this means there much room for improving navigation.
I favor a adding a drop down menu because it will fit into a small
space - while providing better alternatives for navigation.

If I leave the existing back and forward button where it is since it
will be used more frequently (making it usage less efficient in a drop
down menu) and add a horizontal drop down menu at the bottom of the
page then I could have three dropdown segments that allow navigation
for less frequent alternatives.

My three drop down segments might be as follows:

A. Home page B. Archive C. Markets
to home page goes to 1 of 5 markets goes to 1 of 5 markets
for the same day for the same trading
session

I'm using a high level programming language but one that is not
supported by many servers. How do I add javascript code to handle the
menu related tasks (as it is supported by most servers)? And do the
accumulation of huge files in my archive, if I decide to develop a
webserver that is supported by my language what do I need to do to
have it work with the javascript drop down menu.

I'm assuming here that is makes the most sense to use javascript for
such a menu and that it's easy to run it on almost any platform (since
it so widely used for that purpose). I'm not proficient in javascript
programming - but with all the menu proto-type available I might not
have to be. Right?

Regards,
Harry
Jul 23 '05 #9
It's occurred to me that instead of a horizontal drop down menu at the
bottom of the page with three dropdown segments for navigation of less
frequent alternatives -- a vertical drop menu could be more effective.

Drop down segments might be as follows:

1st section = Home page
2nd section = Archive 5 alternatives
3rd section = Market 5 alternatives

An example of how this might look like can be found at:
http://www.fxblogs.com/menu.htm

The links are not active in the example provided. Any suggestion on
javascript code that would make this possible would be highly
appreciated.

Regards,
Harry
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10213
by: WillRead | last post by:
I have a VB.Net application and a PowerPoint presentation explaining how each form in the application works, etc.. I would like to select and display the slide appropriate for each form by pressing the F1 key. In other words, I want to use the powerpoint presentation for my help system. I am calling the SlideShow from the applications menu, and it works great; however, the same techniques are not working for selecting individual slides. ...
15
4229
by: binnyva | last post by:
Hello Everyone, I have just compleated a JavaScript tutorial and publishing the draft(or the beta version, as I like to call it) for review. This is not open to public yet. The Tutorial is avaliable at... http://www.geocities.com/binnyva/code/javascript/advanced_tutorial/ If any of you could spare the time, please have a look at my tutorial
4
42146
by: Joseph | last post by:
I am trying to open a 3 powerpoint presentation simultaneously afte each other without interruption, the operator of the application doe not need to notice anything or interfere in the operation of th transition between the 3 presentations. Let us say I have three powerpoint presentation Presentation 1 Presentation 2, and Presentation 3. I like to fire them from a window form on the click event of a butto on the form. The sequence of...
8
7077
by: Rut | last post by:
Does anyone know how to start powerpoint from vb.net without the ppt screen appearing. I want to keep it hidden? Using this code: Try pp = New PowerPoint.Application pp.Visible = Office.MsoTriState.msoTrue pp.WindowState = PowerPoint.PpWindowState.ppWindowMinimized Application.DoEvents()
1
4193
by: sizz1 | last post by:
Hi, I am creating a training manual but i find using pictures slightly boring. I have created Shockwave/flash files showing in detail how to use certain things. I have tried to embbed the shockwave file into powerpoint and it kind of works. What i want is to create a link which opens the shockwave file in a new window, but just the shockwave file without any toolbars or anything. I noticed javascript files open in a new window which...
1
22776
by: ellenh | last post by:
I have read postings on the similar subject including the posting from 2003 shown below. This process works fine to display a single page snapshot report in PowerPoint. I need to display subsequent pages from the same snapshot file in subsequent slides in PowerPoint. I realize that it is possible to add VB code to the Snapshot Viewer Control and that there are properties such as .FirstPage, .NextPage, .LastPage, etc, But I can't find...
1
2281
by: bsg92150 | last post by:
i have a task that requires me to provide a web use with the ability to send teh current page to a power point slide. and to further complicate matters. the user may want to put the whole site into a slide. the problem is that the information is database driven and the user may not have visted the pages tha/ thankst he is requestion to download. my question is is this possable and is there an example out there that i can look at
22
2941
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created using Perl on the backend, with Javascript providing limited frontend functionality. As an example, an expanding tree would be fully populated on the server-side and then presented to the browser, with Javascript and CSS being used to vary the...
0
9455
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9271
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10031
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9869
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9838
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8709
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5140
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3354
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.