• siddhraj atodaria
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hey Guys,

 

I was playing around with DHTMLX Scheduler today and could not get it to render. All I get is a blank page. I checked the JS and CSS References, and everything seems to be in order, The resources are accessed correctly. 

Has anyone attempted this before ?

 

Here is the code I used.

 

<apex:page>
  <apex:form id="theForm">
     <apex:includeScript value="{!URLFOR($Resource.dhtmlxScheduler, 'dhtmlxScheduler/codebase/dhtmlxscheduler.js')}"  />
     <apex:stylesheet value="{!URLFOR($Resource.dhtmlxScheduler, 'dhtmlxScheduler/codebase/dhtmlxscheduler.css')}"/>
	
    <script type="text/javascript" charset="utf-8">
	function initz() {
		
		scheduler.config.multi_day = true;
		
		scheduler.config.xml_date="%Y-%m-%d %H:%i";
		scheduler.init('scheduler_here',new Date(2010,0,10),"week");
		scheduler.load("{!URLFOR($Resource.dhtmlxScheduler, 'dhtmlxScheduler/samples/01_initialization_loading/data/events.xml')}");
		
	}
</script>
<body onload="initz();">
	<div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
		<div class="dhx_cal_navline">
			<div class="dhx_cal_prev_button">&nbsp;</div>
			<div class="dhx_cal_next_button">&nbsp;</div>
			<div class="dhx_cal_today_button"></div>
			<div class="dhx_cal_date"></div>
			<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
			<div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
			<div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
		</div>
		<div class="dhx_cal_header">
		</div>
		<div class="dhx_cal_data">
		</div>
	</div>
</body>
    
    </apex:form>
</apex:page>

 Many Thanks in advance.

 

-Gunish

I want to acceot some parameters like the object, on insert / on update etc and then I want to create a new trigger in my salesforce application, can someone please give me some pointers on how to start going about this? 

Thanks a lot in advance, any advice will be really helpful!

- Hitesh 

Has anyone been able to do watermarks with VisualForce PDF files using CSS?

 

I've got some, using a background image, but then if I have any tables with backrounds colors over it, the watermark is covered up.  I've tried to use the opacity in CSS, but that hasn't been working for me.