Click here to Skip to main content
15,906,626 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: ASP Page not loading Pin
Sushant_Mathur3-Apr-06 22:08
Sushant_Mathur3-Apr-06 22:08 
QuestionHow to retieve share point data from a windows application (c#) Pin
K ANvar sadath2-Apr-06 20:54
K ANvar sadath2-Apr-06 20:54 
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 
A couple quick notes (don't have time to look it over properly just now):
cdmlb@hotmail.com wrote:
AnimBlock.prototype.DisplayBlock = function()

Since you're adding this function to the prototype, you really don't need to do it every time an object of that type is instantiated. You can put all those outside of the constructor function and it'll work just fine.

cdmlb@hotmail.com wrote:
if(this.document.getElementById(this.content).style.display == "block")

You never assign anything to this.document, so it doesn't exist. In your demo page, the functions are not called as part of an object, and so this is actually a reference to the default scope, which does include document (though prefixing it with this is redundant).

cdmlb@hotmail.com wrote:
   setTimeout(function(){CloseBlock();}, this.speed);
}

There's no exit condition - you need to stop calling CloseBlock() at some point... Wink | ;)

OOP in JS is easy enough, but you can't think about it the same way you do OOP in most other languages.


----
Scripts i've known...
CPhog 0.9.9 - make CP better.
Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve
Print forum 0.1.1 - printer-friendly forums

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 
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 

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.