Solved

javascript / jquery

Posted on 2011-09-16
4
323 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML5 Looping table certain Cell 11 43
PHP AJAX JSON 2 61
PHP Form Calculate Total Price 10 42
Mouse event to control image and transparency. 4 22
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

810 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