Click here to Skip to main content
15,922,419 members
Home / Discussions / Web Development
   

Web Development

 
GeneralInclude Tag -- File Vs Virtual Pin
syedhassan430-Mar-03 9:47
syedhassan430-Mar-03 9:47 
Generalweb server controls Pin
maioush30-Mar-03 8:34
maioush30-Mar-03 8:34 
GeneralFlash Pin
ballyduff30-Mar-03 3:21
ballyduff30-Mar-03 3:21 
GeneralRe: Flash Pin
Paul Watson30-Mar-03 5:00
sitebuilderPaul Watson30-Mar-03 5:00 
GeneralRe: Flash Pin
ballyduff30-Mar-03 5:43
ballyduff30-Mar-03 5:43 
GeneralRe: Flash Pin
NightLynx3-Apr-03 12:49
sussNightLynx3-Apr-03 12:49 
GeneralProjects Pin
Member 70043829-Mar-03 9:53
Member 70043829-Mar-03 9:53 
GeneralDHTML+TIME and the HTML DOM Pin
Ludvig A. Norin27-Mar-03 23:22
Ludvig A. Norin27-Mar-03 23:22 
Hello, folks,

I have encountered a peculiar problem involving DHTML+TIME (actually TIME2 in IE6). I have created an animation using the Animate element, like this:
<Time2:Animate id="SlideEffect0" begin="indefinite" attributeName="height" dur="0.35" accelerate="1" fill="freeze" />
<div id="MyTargetElementId" style="behavior: url(#default#time2)">My animated element</div>

Using JScript, I can assign this animation to any element, and start it:
SlideEffect0.targetElement="MyTargetElementId";
SlideEffect0.from = MyTargetElementId.currentStyle.height;
SlideEffect0.to = "0";
SlideEffect0.beginElement();

I can't, however, create the "Animate" element using the DOM:
el = document.createElement("<Time2:Animate
    id='SlideEffect0'
    begin='indefinite'
    attributeName='height' dur='0.35'
    accelerate='1' fill='freeze' />");
 document.body.insertAdjacentElement("beforeEnd", el);

It seems it doesn't get the Time2 behaviour associated correctly. I have tried many, many different ways of creating this element using the DOM, including copying a preexisting (working) instance of the element, but I just can't get it to work.

Can anyone explain why, and if there is a solution?


-- Opinions expressed do not neccecarily reflect those of my
-- employer; I do think for myself. Resisting temptation is
-- easier when you think you'll maybe get another chance
-- later on.

GeneralAuto Install Programs Pin
Vikrant Kapoor27-Mar-03 18:32
Vikrant Kapoor27-Mar-03 18:32 
GeneralRe: Auto Install Programs Pin
ian mariano2-Apr-03 11:16
ian mariano2-Apr-03 11:16 
GeneralRe: Auto Install Programs Pin
ian mariano2-Apr-03 11:18
ian mariano2-Apr-03 11:18 
QuestionCreating your own SSL Cert ???? Pin
Dato27-Mar-03 8:06
Dato27-Mar-03 8:06 
AnswerRe: Creating your own SSL Cert ???? Pin
Brandon B27-Mar-03 12:50
Brandon B27-Mar-03 12:50 
AnswerRe: Creating your own SSL Cert ???? Pin
antbates28-Mar-03 5:09
antbates28-Mar-03 5:09 
AnswerRe: Creating your own SSL Cert ???? Pin
Stefan Pedersen30-Mar-03 4:41
Stefan Pedersen30-Mar-03 4:41 
GeneralRe: Creating your own SSL Cert ???? Pin
Dato30-Mar-03 6:39
Dato30-Mar-03 6:39 
GeneralCSS Question - Text Alignment Pin
Roger Wright26-Mar-03 20:30
professionalRoger Wright26-Mar-03 20:30 
GeneralRe: CSS Question - Text Alignment Pin
Nick Parker30-Mar-03 8:22
protectorNick Parker30-Mar-03 8:22 
GeneralRe: CSS Question - Text Alignment Pin
Roger Wright30-Mar-03 9:19
professionalRoger Wright30-Mar-03 9:19 
GeneralRe: CSS Question - Text Alignment Pin
Nick Parker30-Mar-03 9:27
protectorNick Parker30-Mar-03 9:27 
GeneralHTML E-mail Pin
aprilneedshelp26-Mar-03 18:33
aprilneedshelp26-Mar-03 18:33 
GeneralRe: HTML E-mail Pin
Paul Watson27-Mar-03 4:47
sitebuilderPaul Watson27-Mar-03 4:47 
GeneralRe: HTML E-mail Pin
Florin Ochiana27-Mar-03 12:49
Florin Ochiana27-Mar-03 12:49 
GeneralRe: HTML E-mail Pin
aprilneedshelp27-Mar-03 17:47
aprilneedshelp27-Mar-03 17:47 
GeneralRe: HTML E-mail Pin
Jonavis29-Mar-03 17:02
Jonavis29-Mar-03 17:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.