• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Redirection of web pages

 
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have prepared slide show in microsoft presentation which i save as webpage. Now when slide show finished, i want to redirect to other html page. I used following code:
<html>
<head>
</head>
<body bgcolor="#000000">
<center>
<OBJECT classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=Untitled WIDTH=600 HEIGHT=450>
<PARAM NAME=movie VALUE="Presentation1.htm.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#000000>
</OBJECT>
<script language="javascript" type="text/javascript">
<!--
window.location="http://www.yahoo.com/";
// -->
</script>
</center>
</body>
</html>

But the problem is, it will redirect to www.yahoo.com before slide show finished. I want to redirect to www.yahoo.com once slide show finished.

Please let me know,
Angela
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JavaScrip has no clue when the slideshow is done, looks like you need to figure that out on flash if that is what you are using.

Eric
 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it. I have timeset for each slide. So I figured out how may second it will take and based on that I used Javascript SetTimeOut function before it redirect to other web page.

Thank you,
Angela
 
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic