Thanks for the reply, amit_g.
That appears to do the same as my original code, though it also stops the slider from operating for some reason :-(
Main Topics
Browse All TopicsHi Folks,
I'm *very* new to JQuery, and Javascript for that matter.
I've bolted something together that gives a 'slide' effect to a button, and would also like to trigger a popunder window on the same click. I've managed to get it to open a new window, however (in Firefox, at least) it shows the new window in view rather than the original page - hence, the sliding effect is missed (and the workflow of the design means the user needs to see the sliding bit first, then go to the new window later).
I haven't been able to find any documentation that comes close to doing what I need, so any pointers would be very much appreciated!
Existing code below;
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
What browser are you testing? The open window code may not always work as expected in tabbed browsers e.g. FF. For me, the links open in new tab instead of new window (my personal setting) and so the rest of the code doesn't apply. However, in IE, the opened window goes down. It may come up again if any code within it, sets the focus. If you are in control of both window HTML, make sure that the popunder window is not setting focus.
Business Accounts
Answer for Membership
by: amit_gPosted on 2009-10-05 at 10:53:11ID: 25497611
Try changing
href"));
href"));
window.open($(this).attr("
to
var oPopUnder = window.open($(this).attr("
oPopUnder.blur();
window.focus();