opening a lightbox from an external link

I have another application which has the event id and I want to have a href link to click that will open up the calendar and the lightbox for the event id that was clicked from my external page. I can not find any info about what to pass in.

Any help would be great.

You can call scheduler.showLightbox to show lightbox

docs.dhtmlx.com/scheduler/api__s … htbox.html

So, after clicking on link you need to load the page with normal scheduler initialization plus showLigthbox call

Is scheduler different than planner?

I have this in my javascript

DHXPlanner s = new DHXPlanner("./codebase/", DHXSkin.TERRACE);

and s.showlightbox(7) does not comple

Hi,
javaplanner is a java wrapper to generate scheduler’s code.
On client side you should use ‘scheduler’ instead of ‘s’.

Ok, I get it, its a client side method.

I edited my jsp to take an optional eventid. Now I am popping up my custom lightbox, however no values are being populated. The event is displayed on my calendar so the data should be there.

my custom box lightbox is being called and opened however nothing is being passed into the setValues function to populate the lightbox.

I am getting the alert obj is undefined

[code] function setValues(obj) {
var inputs = document.body.getElementsByTagName(‘input’);

	if(obj === undefined)
	{
		alert("nothing passed in");
		return;
	}[/code]

the problem was the onload was being called before the data had been loaded from the back end.

[code]

function loaded()
{

scheduler.showLightbox(19);

}
[/code]
I edited it to be the following and it works.

function loaded() { setTimeout(function(){openEvent(19)},1000); } function openEvent(id) { scheduler.showLightbox(id); }

Where should I be making the call such that the events have already been loaded and can be used.