Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 20th, 2005, 11:13 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default DX Image Transform Filters Weirdness With Marquees

Hi all,

Here is the code for the whole page:

<html>
<head>
<link rel="stylesheet" href="zen.css" type="text/css">
<title>
File Not Found
</title>
</head>

<body>
<div id="Layer1" style="position:absolute; left:60px; top:100px; width:238px; height:20px; background-Color ='#B9D3EE'; visibility:hidden; filter:progid:DXImageTransform.Microsoft.GradientW ipe(duration=0.3, GridSizeX=20, GridSizeY=20)"><table width = "100%" id = "tab1" cellspacing = 0 cellpadding = 0 border =1 bordercolor = "black" bgcolor = "#E0FFFF"><tr><td><marquee behavior ="slide" direction = "left" scrollamount = 10>This link will take you to the post screen.</marquee></td></tr></table></div>

<div id="Layer2" style="position:absolute; left:390px; top:100px; width:280px; height:20px; background-Color ='#B9D3EE'; visibility:hidden; filter:progid:DXImageTransform.Microsoft.GradientW ipe(duration=0.3, GridSizeX=20, GridSizeY=20)"><table width = "100%" id = "tab2" cellspacing = 0 cellpadding = 0 border =1 bordercolor = "black" bgcolor = "#E0FFFF"><tr><td><marquee behavior ="slide" direction = "left" scrollamount = 10>This link will take you back to the search screen.</marquee></td></tr></table></div>

<H5>Details not found!</H5>

Unfortunately the delivery details you requested are not available, or you did not enter a delivery number to retrieve. This is probably due to the fact that they have not yet been entered. To enter them yourself please click <a href = "post.htm" onmouseover = "unhidediv1()" onmouseout = "hidediv1()"> here </a>. Please click <a href ="external.html" onmouseover ="hidediv2()" onmouseout = "unhidediv2()">here</a> to try the delivery number again.

<script language ="javascript">

function unhidediv1(){
Layer1.filters[0].Apply()
Layer1.style.visibility="visible";
Layer1.filters[0].Play();
}
    function hidediv1(){
    Layer1.filters[0].Apply()
    Layer1.style.visibility="hidden";
    Layer1.filters[0].Play();
    }
        function unhidediv2(){
        Layer2.filters[0].Apply()
        Layer2.style.visibility="hidden";
        Layer2.filters[0].Play();
        }
            function hidediv2(){
            Layer2.filters[0].Apply()
            Layer2.style.visibility="visible";
            Layer2.filters[0].Play();
            }
                </script>
</body>
</html>

The strange thing here is that the marquees buried within the tables within the divs only work on the first onmouseover. After that, the image transforms still work but the marquee doesn't. Anyone any idea whats going on? What I need is for the marquee behavior to trigger after the wipe effect, but it only works once on one of the onmouseovers!

Thanks in advance
interrupt

__________________
\'sync\' &lt;cr&gt;
The name specified is not recognized as an internal or external command, operable program or batch file.
 
Old January 20th, 2005, 01:56 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Its ok, I figured it out!:D

Thanks anyhow
interrupt

 
Old April 2nd, 2010, 05:06 PM
Registered User
 
Join Date: Apr 2010
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by interrupt View Post
Its ok, I figured it out!:D

Thanks anyhow
interrupt
can you tell us how?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Array weirdness? oldmainframehack Beginning PHP 1 September 5th, 2007 03:24 PM
Selecting Text Weirdness Aaron Edwards ASP.NET 2.0 Basics 4 January 16th, 2006 03:06 PM
DateDiff Weirdness SerranoG Access VBA 1 July 16th, 2004 12:38 AM
Image Filters SerranoG Access 2 January 21st, 2004 08:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.