Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 20th, 2005, 10:13 AM
Friend of Wrox
 
Join Date: May 2004
Location: , , .
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.
Reply With Quote
  #2 (permalink)  
Old January 20th, 2005, 12:56 PM
Friend of Wrox
 
Join Date: May 2004
Location: , , .
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Its ok, I figured it out!:D

Thanks anyhow
interrupt

Reply With Quote
  #3 (permalink)  
Old April 2nd, 2010, 05:06 PM
Registered User
 
Join Date: Apr 2010
Location: Planet Earth
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?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:06 PM
DateDiff Weirdness SerranoG Access VBA 1 July 16th, 2004 12:38 AM
Image Filters SerranoG Access 2 January 21st, 2004 07:59 AM



All times are GMT -4. The time now is 04:41 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.