Click here to Skip to main content
15,904,288 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How to retieve share point data from a windows application (c#) Pin
Guffa2-Apr-06 22:30
Guffa2-Apr-06 22:30 
QuestionHOW TO REPLACE '<' with any other character in Javascript Pin
baskar.G2-Apr-06 19:28
baskar.G2-Apr-06 19:28 
AnswerRe: HOW TO REPLACE '&lt;' with any other character in Javascript Pin
Guffa2-Apr-06 20:38
Guffa2-Apr-06 20:38 
QuestionAnimated div textbox? Pin
cdmlb@hotmail.com2-Apr-06 15:30
cdmlb@hotmail.com2-Apr-06 15:30 
AnswerRe: Animated div textbox? Pin
cdmlb@hotmail.com3-Apr-06 15:32
cdmlb@hotmail.com3-Apr-06 15:32 
AnswerRe: Animated div textbox? Pin
Shog94-Apr-06 10:27
sitebuilderShog94-Apr-06 10:27 
AnswerRe: Animated div textbox? Pin
cdmlb@hotmail.com4-Apr-06 13:38
cdmlb@hotmail.com4-Apr-06 13:38 
GeneralRe: Updated Animated div textbox? Pin
cdmlb@hotmail.com4-Apr-06 15:01
cdmlb@hotmail.com4-Apr-06 15:01 
I think I got the OOP working better now, but I'm dumb and can't get it to animate any comments?

<br />
block1 = new AnimBlock("body1", "content1", 200);<br />
block2 = new AnimBlock("body2", "content2", 200);<br />
block3 = new AnimBlock("body3", "content3", 200);<br />
<br />
AnimBlock.prototype.DisplayBlock = DisplayBlock;<br />
AnimBlock.prototype.OpenBlock    = OpenBlock;<br />
AnimBlock.prototype.CloseBlock   = CloseBlock;<br />
<br />
function AnimBlock(body, content, speed)<br />
{<br />
    this.body    = body;<br />
    this.content = content;<br />
    this.speed   = speed;<br />
    this.size    = 0;<br />
}<br />
<br />
function DisplayBlock()<br />
{                        <br />
    if(document.getElementById(this.content).style.display == "block")<br />
    {<br />
        document.getElementById(this.body).style.height     = "0px";<br />
        document.getElementById(this.body).style.padding    = "0px";<br />
        document.getElementById(this.content).style.display = "none";<br />
        this.CloseBlock();<br />
    }<br />
    else<br />
    {<br />
        this.OpenBlock();<br />
        document.getElementById(this.content).style.display = "block";<br />
        document.getElementById(this.body).style.padding    = "20px";<br />
        document.getElementById(this.body).style.height     = "auto";<br />
    }<br />
    <br />
    this.size = 0;<br />
}<br />
<br />
function OpenBlock()<br />
{<br />
    if(this.size <= 100)<br />
    {<br />
        document.getElementById(this.body).style.height = this.size+"px";<br />
        this.size++;<br />
        setTimeout(function(){this.OpenBlock();}, this.speed);<br />
    }<br />
}<br />
        <br />
function CloseBlock()<br />
{<br />
    if(this.size >= 0)<br />
    {<br />
        document.getElementById(this.body).style.height = this.size+"px";<br />
        this.size--;<br />
        setTimeout(function(){this.CloseBlock();}, this.speed);<br />
    }<br />
}<br />


cdmlb
GeneralRe: Updated Animated div textbox? Pin
Shog94-Apr-06 20:46
sitebuilderShog94-Apr-06 20:46 
Questionwhat is the diffrent between visted link and unvisted link Pin
smr852-Apr-06 13:15
smr852-Apr-06 13:15 
AnswerRe: what is the diffrent between visted link and unvisted link Pin
cdmlb@hotmail.com2-Apr-06 15:41
cdmlb@hotmail.com2-Apr-06 15:41 
GeneralRe: what is the diffrent between visted link and unvisted link Pin
smr852-Apr-06 16:27
smr852-Apr-06 16:27 
GeneralRe: what is the diffrent between visted link and unvisted link Pin
cdmlb@hotmail.com2-Apr-06 17:30
cdmlb@hotmail.com2-Apr-06 17:30 
GeneralRe: what is the diffrent between visted link and unvisted link Pin
smr853-Apr-06 14:33
smr853-Apr-06 14:33 
GeneralRe: what is the diffrent between visted link and unvisted link Pin
cdmlb@hotmail.com3-Apr-06 15:30
cdmlb@hotmail.com3-Apr-06 15:30 
QuestionPDA web site Pin
progman2-Apr-06 9:54
progman2-Apr-06 9:54 
AnswerRe: PDA web site Pin
Vasudevan Deepak Kumar2-Apr-06 21:36
Vasudevan Deepak Kumar2-Apr-06 21:36 
Questionxml parser Pin
lxhan1-Apr-06 22:18
lxhan1-Apr-06 22:18 
QuestionRead Windows Clipboard &amp; copy into textarea Pin
barlet1-Apr-06 15:24
barlet1-Apr-06 15:24 
AnswerRe: Read Windows Clipboard &amp; copy into textarea Pin
Vasudevan Deepak Kumar4-Apr-06 4:53
Vasudevan Deepak Kumar4-Apr-06 4:53 
QuestionAnyway.... Pin
KORCARI1-Apr-06 14:59
KORCARI1-Apr-06 14:59 
QuestionCreating Time Table Dynamically Pin
codebased1-Apr-06 4:06
codebased1-Apr-06 4:06 
QuestionHow can i trace browser back button event through javascript. Pin
Jax_qqq31-Mar-06 19:51
Jax_qqq31-Mar-06 19:51 
AnswerRe: How can i trace browser back button event through javascript. Pin
CWIZO3-Apr-06 0:57
CWIZO3-Apr-06 0:57 
GeneralRe: How can i trace browser back button event through javascript. Pin
Jax_qqq3-Apr-06 1:48
Jax_qqq3-Apr-06 1:48 

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.