Solved

JQuery slide effect

Posted on 2013-11-04
1
155 Views
Last Modified: 2014-11-14
Hi,

I have a list of 6 client logos which i have changed so that they have jquery popups as you hover over them.

http://www.bluebean.org.uk/sites/bigcreative/

I have them working but as floated <a> links. The issue i have is that the box appears above the centre of each one, so if you hover over the first or last logo then the box could be cut off by the screen, depending on how its being viewed. Is there a way i can prevent this also add in the same effect that is used on the bottom of the following page, so it follows the cursor and has a bounce to it?

https://www.tsohost.com/

Thanks,
0
Comment
Question by:Andy6350
[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
1 Comment
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39624242
Instead of reinventing the wheel as they say, I have used qtip for a number of years http://qtip2.com/   There is a function to keep the tip inside the viewport http://qtip2.com/plugins#viewport

$('.selector').qtip({
    content: {
        text: 'If I go off-screen, my positioning corners will adjust. Resize your browser window to see!'
    },
    position: {
        viewport: $(window)
    }
});

Open in new window


You can style the tip as you like with css.   It is worth checking out.
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
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…

631 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