Jump to content

run close div on a href click


herghost

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/183293-run-close-div-on-a-href-click/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.