first off I know enough js to crash browsers but eventually things eventually sometimes work.
What I am trying to do is convert a reservation script from a pop up window to having the calendar displayed in a div (popup blockers and ie7 opening in a new tab)
All I need is to have the calandar displayed on the page.
this pops a new window with the calendar.Code:<A id=anchor onclick="cal.showCalendar('anchor',getDateString(document.checkaressrch.year,document.checkaressrch.month,document.checkaressrch.day)); return false;" href="http://mysite.com/#" name=anchor>
so I want this displayed on the same page and have tried.
If anyone knows how to acheive this I will send many thanks and virtual beersCode:<SCRIPT>cal.showCalendar('anchor',getDateString(document.checkaressrch.year,document.checkaressrch.month,document.checkaressrch.day)); return false;</SCRIPT> which gives errors, and <body onload="cal.showCalendar('anchor',getDateString(document.checkaressrch.year,document.checkaressrch.month,document.checkaressrch.day)); return false;"> which obvoiusly does nothing but had to try




Bookmarks