herghost Posted November 29, 2009 Share Posted November 29, 2009 Hi all, I think this is either going to be super simple or one of those things you cannot do! Basically I have this: <a href="reg.php" title="Register" rel="gb_page_center[1000, 500]" ><img src="images/logo.jpg" width="200" height="200" alt="logo" /></a> Which opens a link in an ajax box, however, this is launched from a slide down menu which covers the top 1/3 of the screen. What I want it to do is autoclose the slide down box. This is a link on the slide down which closes it: <a id="close" style="display: none;" class="close" href="#">Close Panel</a> So basically I just want this to run when the user clicks the link! Thanks Quote Link to comment Share on other sites More sharing options...
JustLikeIcarus Posted December 4, 2009 Share Posted December 4, 2009 You could try adding the "close" class to the link that gets clicked. But that most likely wont do it. You really need to look at the js your using find the close function and bind it to the click event of the other url as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.