Thanks for explaining that... I never would have thought that was how it would work. I assumed that it would have to duplicate the object in memory. But after you said that, of course I had to test...
This is an overly simplified example of the type of thing I'm doing. In my actual code, everything works very well, but it seems like a waste of memory to...
This site is using a JQuery Plugin called "Kwicks Slider". Here's a link to the developer's site:
http://www.jeremymartin.name/projects.php?project=kwicks
Take a look at prettyPhoto. I've used it in the past and it is very easy to implement. If you are good with HTML, you shouldn't have a problem implementing it.
Hey aj_nsc,
Thanks for the explanation. I followed you completely. I do understand scope. I just didn't realize that by using "var" inside the object, it sets to the scope of the variable to be a...
I think I muddied the waters by putting up two examples. astupidname was right that I was looking for the setTimeout to be called from within the object, but I totally...
I'm trying to create an object that will update itself at a set interval, but I'm having a scope issue when using the "setInterval" or "setTimeout" function.
I have a block of text that I'm bringing over from an XML file using JQuery. There are breaks in the text that I'd like to put "<br>" tags into, but XML doesn't like those tags, so I'm substituting...
I am developing a site that keeps track of my clients jobs. Each job shows in a list and has an arrow to the left of the job title that can be opened to reveal the job details.
I'm actually passing the data from PHP as an XML file. I'm not sure what is wrong with the way that I'm addressing the variables, all of those calls are working correctly.
I'm stuck trying to figure out how to pass a variable to an inline function. I'm trying to create a set of tabs on a page, and I'm trying to use a function to switch the class of the selected tab.
...
After doing some testing, I can see how it works, and I get it. But it seems a little awkward looking. Like nothing I've ever seen before. But in the case of my script, it seems to be an excellent...
Can you show another example? Because when I'm looking at what you have, it looks like "passval" is a js variable. Obviously if that was the case, you'd just do