logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 04-27-2009, 08:21 PM   #1
vayumahesh
 
Join Date: Apr 2009
Posts: 2
Default Start with a state of display:none

I am trying to get Spry Slide Effect to work on an element that is initially hidden using display:none.

I am using :

.hideInitially{
display: none; //If I set it to display:block, spry effect works fine.
}

as recommended here though there is no working example using display:none; only visibility: hidden

http://labs.adobe.com/technologies/spry/samples/effects/slide_sample.html

Using initial state of dispay: none it displays NOTHING! onclick. Is this a bug in IE 7 ? It works in Firefox.

Anyone came across this problem. What is the solution to this issue ?
vayumahesh is offline   Reply With Quote
Old 04-27-2009, 09:35 PM   #2
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

EDITED: I'm probably misinterpreting but I assuming the spry effect resets the visibility from hidden to visible. So unless you edit the javascript to reset dispaly, the object still has the display:none property. Any reason you can't just hide it using visibility: hidden?

Last edited by DWcourse; 04-27-2009 at 09:52 PM..
DWcourse is offline   Reply With Quote
Old 04-27-2009, 09:59 PM   #3
vayumahesh
 
Join Date: Apr 2009
Posts: 2
Default

If I use visibility:hidden, the content does not appear but blank space appears as it is in the page flow. If I set display:none, the content is removed from the page flow. I will try your suggestion on editing the file.
vayumahesh is offline   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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:03 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com