Jump to content

Greybox on Wordpress javascript commands not working


msaz87

Recommended Posts

Hey all,

 

I'm using Greybox on a Wordpress site and while the box function works and the built-in close button works, I can't use any javascript functions for it within the frame. For example, according to Greybox documentation you can use the following to create a close button within the frame:

 

<a href="#" onclick="parent.parent.GB_hide();">My Close Button</a>

 

This code works in a Greybox setup I have on a non-Wordpress site, but not on this one. And as far as I can tell, there's no difference in the setups.

 

If you're familiar with Greybox.. or just a javascript wiz, I'd really appreciate the help.

 

The site in question is located here -- you can activate the Greybox frame by clicking on the image that says "REGISTER TODAY" -- I have the "My Close Button" sitting at the very top of the frame... you can try it and see if doesn't work and try the right-hand corner close button that was built-in and see that it does.

 

Any advice is greatly appreciated -- thanks!

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.