MyBB Community Forums

Full Version: Calendar Event as Popup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I have a question.

I am trying to set it so that on the calendar, dayview appears as a popup.

Currently, I am attempting to do this by using a poppup script to popup the dayview within an iFrame.

At the moment, this works perfectly, and I probably won't need to change methods for that.

However, the issue I am having is the dynamic linking.

Currently, I have it set to change the iFrame's src with a javascript and variables, and setting the calendar cell's link to set the variables with onclick.

However, for whatever reason, the iFrame source always sets to the current day, rather than the day I attempted to set in onclick.

I am not sure how I could fix this, and, at the moment, I am not very well versed with javascript as it is. I have spent several hours searching for a solution on this site, but haven't found anything.

Would anyone be willing to help me with this?

Thank You.