Page Transition.

P

Phil

How do I get a page to fade to new page.

For example, someone get to page 1 and have about 10 seconds to view page 1, then after 10 seconds, it will automatically fade to page 2

Another question on transition. Is it possible to have pictures to pop up and fade away(in the enter of the page) one at a time. Then after all the pictures are up and fade away, the page automatically bring the viewer to another page. ?

Anyone? Thanks
 
J

Jim Buyens

-----Original Message-----
How do I get a page to fade to new page.

For example, someone get to page 1 and have about 10
seconds to view page 1, then after 10 seconds, it will
automatically fade to page 2?

Add a meta refresh tag like this to the <head> sectionof
the first page:

<meta http-equiv="refresh" content="10; url=page2.htm">

and then open page2.htm, and choose Page Transition from
the Format menu. However, the transition will only work
in IE.
Another question on transition. Is it possible to have
pictures to pop up and fade away(in the enter of the
page) one at a time. Then after all the pictures are up
and fade away, the page automatically bring the viewer
to another page. ?

You would have to program this in JavaScript.


<head>
<script>
function cyclePics(picNr){
if (picNr == 1) {
magicPic.src = "picture1.jpg";
}
if (picNr == 2) {
magicPic.src = "picture2.jpg";
}
if (picNr == 3) {
window.location="page2.htm";
}
setTimeout("cyclePics(" + (picNr+1) + ");", 5000);
}
</script>
</head>
<body onload="cyclePics(0);">
<img name="magicPic" src="picture0.jpg">

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top