Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

javascript / jquery

Posted on 2011-09-16
4
Medium Priority
?
331 Views
Last Modified: 2012-05-12
I am looking for java-script or jquery for my popup
like View all, when it is mouse over it will show
<div>
data from sql server
<a href=>city</a>
<a href=>city 2</a>....
</div>

The web application is in classic asp


0
Comment
Question by:Webboy2008
  • 3
4 Comments
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 36552599
Simple hover effect in jquery. When you hover over an element with class showMe, the modalWindow div is made visible. It goes away when the mouse leaves showMe. But I'm sure you want something more sophisticated than that. Please be more specific.


the jquery:

<script>

$(function(){

$(".showMe").mouseenter(function(){
 $("#modalWindow").show();
}).mouseleave(function(){
 $("#modalWindow").hide();
});
});

</script>

Open in new window


the CSS:

 
#modalWindow{display:none;}

Open in new window

0
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 2000 total points
ID: 36552603
here's a link to a nice simple jquery modal tut:

http://www.queness.com/post/77/simple-jquery-modal-window-tutorial
0
 

Author Comment

by:Webboy2008
ID: 36552637
kozaiwaniec: I never use Jquery, and would like to get completed working codes if you don't mind.
Thanks
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 36552667
This is not really a place to ask people to do free work, but to get help with code you're working on.

However... since this is already done, I like to share. (it's based on the above tut)

View source in this file. It's all there:

http://www.candpgeneration.com/EE-modal.php

If you have specific questions I'll be happy to answer...
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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…
Suggested Courses

783 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