Solved

javascript div message

Posted on 2008-10-30
5
1,077 Views
Last Modified: 2008-11-14
I have <input type="text" name="txtname"> that I want to show <div>Alert Message</div>
on top of the input box when it is onfocus(). However, I want to make it look good. like when the user's cursor is focus or change, it will show a div from bottom to the top...like a movie screen.

Do you know any scripts can make it happen?
0
Comment
Question by:Webboy2008
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:SRigney
ID: 22847265
Scriptaculous, which requires prototype can do this kind of sliding display.

http://script.aculo.us/

http://www.prototypejs.org/
0
 

Author Comment

by:Webboy2008
ID: 22848194
i need some sample how it works. Look difficult to me.
0
 
LVL 15

Expert Comment

by:SRigney
ID: 22851085
Here's an example of growing something.

http://github.com/madrobby/scriptaculous/wikis/effect-grow
0
 

Author Comment

by:Webboy2008
ID: 22869552
I do not like those javascript object thing plus it is not free.
do you have somthing else?
0
 
LVL 15

Accepted Solution

by:
SRigney earned 500 total points
ID: 22869569
I'm sorry, you don't like them.   But they are free.  http://github.com/madrobby/scriptaculous/wikis/License

The pricing page you were looking at is likely the pricing to use gitHub to host your project.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now