Xiong Chiamiov
06-28-2006, 01:15 AM
Hello. I am sorry that I do not have the actual code with me, as I am working on it at school (which has blocked CF) and I lost my flash drive 2 days ago. I will do my best to replicate it.
Here is what I am trying to do:
I have an <object>:
<object data="jan.html" id="calendar"></object>
and I am trying to change jan.html to feb.html with js in an onClick. I know how to do it with pictures (pic.src=""), but I have not succeeded with this. Is this possible? I have tried calendar.data="" and calendar.src="".
Side note: the reason for this is because I'm trying to avoid using an iframe. But if that is the way I must do it, then I will.
Here is what I am trying to do:
I have an <object>:
<object data="jan.html" id="calendar"></object>
and I am trying to change jan.html to feb.html with js in an onClick. I know how to do it with pictures (pic.src=""), but I have not succeeded with this. Is this possible? I have tried calendar.data="" and calendar.src="".
Side note: the reason for this is because I'm trying to avoid using an iframe. But if that is the way I must do it, then I will.