Solved

javascript / jquery

Posted on 2011-09-16
4
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Scroll 5 news at a time using vticker 2 41
Diff of the day 2 43
JQuery Data Table Default Sort 2 34
How to strip HTML from this JS code using regex 29 46
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
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…

751 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