Solved

javascript / jquery

Posted on 2011-09-16
4
324 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 500 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

856 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