I am trying to build a dynamic php calendar. Now I have built the main one however i also wanted a mini popup calendar. My problem is I put the calendar code in another file and am using the include method to put that php file in the website. However I want to use the same file for both includes and the mini calendar does not show up. I dont know if I cant target the same html and css or what. Please Help.
Yes you can! Depends on what language you are using, what CSS you are using and how the pop-up really
handles includes. So many many questions to give any type of help without code…
I suggest that you create a test page with minimum code on it, just the include, the pop-up code and that’s
it. Then, show some of it to us so we know what you are talking about. Without code, the answer is “yes!”
Please insert your code inside the PHP tags so we can copy and test it. You can use the PREVIEW button to
test your post before you actually post it.
Why are you nesting the same calendar? I can see a forever picture in my head ( a picture of a person holding a picture, of a person holding a picture, ect )
If it is to select a day, why not use a data picker?
I’ve been developing my own calendar for over 6 months now and I’ll gladly help you out on any code (if you provide it to us that is ).
Here’s a calendar that I’m currently developing for a specialized group of people - http://burroughsfarms.us/
and I’ll gladly post it on pastebin too.
It’s written in OOP and uses namespaces so it’s very transportable…just need to change the link destinations (Though I’m working on a configuration file ).
Right now I don’t have any JavaScript (jQuery) added to it, but I do that last so that I know all the php is working properly. I’m also jumping around from this to a few other projects that I’m working on.
FYI - the server calendar isn’t as far along as my local server calendar.