开发者

How do I create an "iframe popup" when I hover over an <a> tag?

开发者 https://www.devze.com 2022-12-27 20:37 出处:网络
Here is the scenario: a User will see a list of company names, each wrapped in antag.He is able to see dynamic information and as he hover over each name and then make a request.

Here is the scenario: a User will see a list of company names, each wrapped in an tag. He is able to see dynamic information and as he hover over each name and then make a request.

So Given a list of companies, each wrapped in an tag.

When the cursor hovers over an tag

Then a "pop-up" appears that contains an -based, dynamic content.

Given the pop-up When the User clicks on t开发者_如何学Pythonhe "submit" button in the pop-up Then the form (based on the framework" is submitted and ajax displays "request succesful"

So, because I am using a php-framework, I'd like to use iframe to contain the form.

Some challenges:

When the cursor is no longer hovering over the tag, the hover disappears. How do I keep it operating?

How do I make it appear in an so I can have full form-submission and POST-ing dynamic values through the URL?

How do the "popup" disappear when the cursor is no longer on either the -tag or the pop-up itself?

Can I do it without loading a bunch of 's onto the page, because the list of companies could be long.

for an example:

http://browseusers.myspace.com/Browse/Browse.aspx hover over one of the link.


jQuery with the clueTip plugin is something I have used for this in the past.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号