Jump to content

riverdog

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by riverdog

  1. My Trumba spuds are not working if I use java onclick in a link to load a page into a DIV. Here is the code in a nutshell... The link looks like this... <a href="#" onclick = "loadNewPage('calendar.php')">Planning Calendar</a> calendar.php looks like this... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=" http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src=" http://www.trumba.com/scripts/spuds.js"></script> '>http://www.trumba.com/scripts/spuds.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> This is a test <script type="text/javascript"> $Trumba.addSpud({ webName: "harlingenhealthcare", spudType : "upcomingphoto" , teaserBase : " http://www.trumba.com/calendars/harlingenhealthcare" }); </script> </body> </html> I also have the following line on the index.php page where the original link is. <script type="text/javascript" src="//www.trumba.com/scripts/spuds.js"></script> This does not work. The spud never generates the calendar. If I load calendar.php independently, it works, but if I load it in the DIV, it does not. Is there any tweaking I can do to get this to work?
×
×
  • Create New...