window.location = "?page=account&this=that&foo=bar";
There's a property on the location object called search. When updating a partial url this should be used.
window.location.search = "?page=account&this=that&foo=bar";
window.location = "?page=account&this=that&foo=bar";
window.location.search = "?page=account&this=that&foo=bar";
// Update the language by using setLocal
//setlocale(LC_ALL, 'Japanese');
// Include the calendar class
include_once "classes/class.bCalendar.php";
// Create the class. The first option is the URL the navigation will use. The second is the path to the css file. The third is the date for the calendar to start on. The last determines which day the calendar will start on.
$obj_cal = new bCalendar("index.php","css/calStyle.css", null, 1);
####################
# Optional methods
####################
// Set the range of the date picker combobox
$obj_cal->setComboboxYearRange(2000,2010);
// Add a date to the calendar
$obj_cal->addEvent("10/19/2010", "This is a test event");
// Link a date on the calendar to a url
$obj_cal->linkDate("10/15/2010", "http://google.com");
// Change the behavior of the date picker to not snap to the current date
$obj_cal->setComboBoxToCurrentDate(false);
// Change the order of the calendar header
$obj_cal->setCalendarHeader(array(bCalendar::CAL_PREVIOUS_MONTH,
bCalendar::CAL_MONTH_YEAR,
bCalendar::CAL_SELECTOR,
bCalendar::CAL_NEXT_MONTH));
####################
# Optional methods
####################
// Draw the calendar
$obj_cal->drawCalendar();