Javascript calendar in JUMI PROBLEM

A multipurpose module, plugin and component

Javascript calendar in JUMI PROBLEM

New postby [email protected] » Sat Apr 09, 2011 6:19 pm

Hi, I new with Jumi + Joomla..
To the point,

I want to add the javascript calendar inside Joomla by using Jumi extension, but it doesnt work..

Image

I try custom script + pathname, both not working..
Image

The code I copy to jumi application component is
===========================================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<input type="text" id="sdate" name="sdate" />
<script type="text/javascript">
var ng_config = {
assests_dir: 'calendar/assets/' // the path to the assets directory
}
</script>
<script type="text/javascript" src="calendar/ng_all.js"></script>
<script type="text/javascript" src="calendar/components/calendar.js"></script>
<script type="text/javascript">
var my_cal;
ng.ready(function(){
// creating the calendar
my_cal = new ng.Calendar({
input: 'sdate', // the input field id
start_date: 'year - 1', // the start date (default is today)
display_date: new Date() // the display date (default is start_date)
});
});
</script>
</body>
</html>
==============================================================================
This javascript calendar + framework I get from : http://www.nogray.com/calendar.php

I put the require framework in the many folder already...
Image
Image
Image

The result is only normal input text
Image

any idea why this script not working ?

I need javascript calendar for my page, if somebody have other javascript calendar which work with jumi, please share with me :)


Thank you very much,
Regards

Patrick D.
[email protected]
 
Posts: 1
Joined: Fri Apr 08, 2011 7:49 pm

Return to Jumi

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron