Solved

javascript / jquery

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

746 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

12 Experts available now in Live!

Get 1:1 Help Now