0

Jquery image effect on page load

asked 2013-11-22 13:03:47 +0800

distelka gravatar image distelka
68 1

Hello, I need your help.When I load my page I want to add jquery slideDown effect to an image.

<script type="text/javascript">
    jq(document).ready(function() {
         jq("$t").hide();
         jq("$t").slideUp(1).delay(2000).slideDown('slow');
    });   
</script>
<window id="t">
   <image id="logo" src="/images/logo1.png"/>
</window>

But this is not working ....anyone with any idea to help me ...

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-11-22 14:28:33 +0800

distelka gravatar image distelka
68 1

updated 2013-11-22 14:28:56 +0800

I found solution :

<script type="text/javascript">
    jq(document).ready(function() {
         jq("$logo").slideDown('slow');
    });   
</script>
<window id="t">
   <image id="logo" src="/images/logo1.png"/ style="display:none;">
</window>
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-11-22 13:03:47 +0800

Seen: 24 times

Last updated: Nov 22 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More