close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Blind/slide effect- start closed

Thread began 2/05/2010 10:47 pm by dieu_fera400337 | Last modified 3/02/2010 3:40 pm by dieu_fera400337 | 4465 views | 5 replies

Jason ByrnesWebAssist

see the Spry Blind sample page here:
blind_sample.html

  The target element can initially be hidden. To hide an element you can use one of two CSS properties: display and visibility. The difference between these two properties is the way it will alter the flow of the page. While using the display: none; the element is completelly removed from page and the other elements take its place on the page. The visibility: hidden will leave the element in the page flow but the element is simply not seen.

In the following sample we will use the visibility: none; to initially hide the element and using the Blind effect, the element will appear on the page.

<style type="text/css">
.animationContainer{
height: 220px;
}
.hideInitially{
visibility: hidden;
}
</style>
...
<form method="get" action="blinds_sample.html">
<input type="button" onclick="blind_hidden.start();" value="Blind Example Hidden" />
</form>

<div class="animationContainer">
<div class="hideInitially" id="slideItDown_hidden">
...
</div>
</div>

<script type="text/javascript">
var blind_hidden = new Spry.Effect.Blind("slideItDown_hidden", {duration: 2000, from: '0%', to: '100%', toggle: true});
</script>  

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...