CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to install PopCalendarXP on my web page?

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> CalendarXP F.A.Q.
View previous topic :: View next topic  
Author Message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Sun Feb 20, 2005 5:22 pm    Post subject: How to install PopCalendarXP on my web page? Reply with quote

You just need to follow the steps below:
  1. Simply add the calendar (iframe) tag to your web page just behind the <body> tag and make sure it's not surrounded by any other tag.
  2. Then add gfPop.fPopCalendar(dateCtrl) to the onclick event of your trigger tag, usually a link or a button.
  3. Finally, make sure all calendar files are located in the same place with ipopeng.htm.

As in the following example, a beautiful date picker will be shown under the "dateCtrl" form field whenever the trigger is clicked. e.g.
Code:
<body>
<iframe name="gToday:normal:agenda.js" id="gToday:normal:agenda.js"
src="/scripts/popcal/ipopeng.htm" scrolling="no" frameborder="0"
style="visibility:visible; z-index:999; position:absolute; left:-500px; top:-500px;"></iframe>
...
<form name="demoform">
<input name="dateCtrl"><a onclick="if(self.gfPop)gfPop.fPopCalendar(document.demoform.dateCtrl);return false;" href="javascript:void(0)"><span class="PopcalTrigger">pop me</span></a>
</form>
...

Please check out the beginner tutorial for more details.

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> CalendarXP F.A.Q. All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group