PDA

View Full Version : OnUnload advanced and custom animations


Ever1234
12-10-2001, 03:03 PM
I have seen this done before. When you click a link the browser loads it in an Iframe, but the Iframe has a little custom animation that kinda of folds over and then folds out. How can this be done (Im going for a page flip animation)

Mark
12-10-2001, 05:17 PM
I have seen this done before. When you click a link the browser loads it in an Iframe<a href="http://www.yahoo.com" target="main">yahoo</a>

<iframe name="main" width="400" height="400" scrolling="yes" marginwidth="0" marginheight="0"></iframe>

but the Iframe has a little custom animation that kinda of folds over and then folds out. How can this be done (Im going for a page flip animation)P.S. can only be seen in a Dynamic browser (IE4, not sure about others)

Your page inside the iframe must be having something like this (change the bolded part to whatever it says below):

<html>

<head>
<title>New Page 1</title>
<meta http-equiv="Page-Enter" content="revealTrans(Duration=1.0,Transition=8)">
</head>

<body bgcolor="#800000" text="#FFFF00">

--------------------------------------------------------
- http-equiv="Page-Enter" could be:
- http-equiv="Page-Exit"
- http-equiv="Page-Exit"
- http-equiv="Site-Enter"
- http-equiv="Site-Exit"
- Transition=8 (8 could be any number from 1 -23)

Jon Hanlon
12-10-2001, 05:50 PM
Well spotted Mark. There I was thinking it must be a Java applet & forgetting all about transitions.
The syntax Mark gave is the IE4 syntax. It was changed in IE5.5, although the old syntax will still work.
Read all about Filters and Transitions at
http://msdn.microsoft.com/workshop/author/filter/filters.asp#CSS_Filters

Ever1234
12-10-2001, 07:25 PM
thanx

Dr. Web
12-10-2001, 07:31 PM
is there a link to show an example of these transitions? I'm just curious, as I dont remember seeing one.

Jon Hanlon
12-10-2001, 07:37 PM
Here's a link to the IE4 version:
http://msdn.microsoft.com/workshop/samples/author/dhtml/overview/trnswzrd.htm

Ever1234
12-11-2001, 04:24 PM
That is not what I was looking for. It uses C++ I think.

It uses custom images that you make that rollover each other to create a tileing effect

Jon Hanlon
12-11-2001, 04:40 PM
Well if it uses C++ then

It's going to end up as an ActiveX control.
It'll only work properly in IE.
It's going to be complicated.


My first thought was that it may have been done in Java.
If that's the case, then look at sites like http://www.codelifter.com/main/java/ for some ideas.

Ever1234
12-11-2001, 05:57 PM
I know C++, Iv just never used it as a web language

Ever1234
12-11-2001, 08:29 PM
I think I found a link that would help, can anyone make any sence of it?

http://www.planet-source-code.com/xq/ASP/txtCodeId.1159/lngWId.3/qx/vb/scripts/ShowCode.htm

scoutt
12-11-2001, 10:28 PM
It sounds like you need to add a file to the server for this to work. which means you need rights to your server.