www.webdeveloper.com

Search:

Type: Posts; User: bcmann

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,237

    That's awesome... I'll give that a try. Thanks...

    That's awesome... I'll give that a try.

    Thanks for all your help!
  2. Replies
    8
    Views
    1,237

    Thanks for explaining that... I never would have...

    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...
  3. Replies
    8
    Views
    1,237

    Thanks... that does make me feel better. This...

    Thanks... that does make me feel better.

    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...
  4. Replies
    8
    Views
    1,237

    In case it helps anyone else... I don't know if...

    In case it helps anyone else... I don't know if this is the best way to handle this, but here's the solution that is working for me:



    function JobTicket(id){
    this.id = id;
    ...
  5. Replies
    5
    Views
    2,210

    This site is using a JQuery Plugin called "Kwicks...

    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

    And here's another demo with some...
  6. There are better ways to do this using CSS, but...

    There are better ways to do this using CSS, but here's one way to do it, using JQuery...



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  7. Replies
    8
    Views
    1,237

    Call parent method

    Let me start off by saying that I'm new to OOP, so please feel free to correct me if I'm heading in the wrong direction.

    I am creating a job ticket object that will interact with a database. It...
  8. Thread: Lists

    by bcmann
    Replies
    1
    Views
    769

    It's done with Javascript or you could use JQuery...

    It's done with Javascript or you could use JQuery too. JQuery is just a Javascript library. I like JQuery, it saves a lot of time.

    You can do something like this:



    <html>
    <head>
    <script...
  9. Take a look at prettyPhoto...

    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.

    Hope that helps!
  10. Thread: Scope Issue

    by bcmann
    Replies
    7
    Views
    1,037

    Hey aj_nsc, Thanks for the explanation. I...

    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...
  11. Thread: Scope Issue

    by bcmann
    Replies
    7
    Views
    1,037

    Thank you for all the help! I think I muddied...

    Thank you for all the help!

    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...
  12. Thread: Scope Issue

    by bcmann
    Replies
    7
    Views
    1,037

    Scope Issue

    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.

    Here's some test code:


    <script...
  13. Replies
    0
    Views
    1,195

    Dealing with XML text

    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...
  14. Thread: Resolving Scope

    by bcmann
    Replies
    1
    Views
    1,288

    Resolving Scope

    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 creating the...
  15. Replies
    6
    Views
    821

    Got it. Makes sense now. Thanks again!

    Got it. Makes sense now.

    Thanks again!
  16. Replies
    6
    Views
    821

    That actually makes total sense! I usually write...

    That actually makes total sense! I usually write in PHP, and all of my code is executed during the page load, so I haven't had this issue before.

    The only thing I'm struggling with is how is it...
  17. Replies
    6
    Views
    821

    Wow, that worked! Thank you so much. But now...

    Wow, that worked! Thank you so much.

    But now I'm trying to figure out how that worked! I want to get more info on setting up a function like that, but I'm not even sure what to google.

    Is the...
  18. Replies
    6
    Views
    821

    [RESOLVED] Trouble with Scope in JQuery

    I'm relatively new to using Javascript and JQuery, but it seems to me that this code should work, but for some reason, it doesn't.

    I'm trying to setup a box that will accept quantities for...
  19. Replies
    5
    Views
    868

    Hey SparoHawk, Thanks for the reply. It's kind...

    Hey SparoHawk,
    Thanks for the reply. It's kind of funny because I had just tried that. I also added:


    a_revision[a].id = "round_"+(a+1);


    To give the anchor tag an id, then in the switchTab,...
  20. Replies
    5
    Views
    868

    I'm actually passing the data from PHP as an XML...

    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.

    The only issue that I'm...
  21. Replies
    5
    Views
    868

    Inline functions

    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.
    ...
  22. Replies
    11
    Views
    1,065

    After doing some testing, I can see how it works,...

    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...
  23. Replies
    11
    Views
    1,065

    Thank you both for your responses. My head is...

    Thank you both for your responses. My head is still spinning a little, but I'll get a handle on that!

    astupidname: I plugged your code in exactly as you wrote it, and of course it works perfectly....
  24. Replies
    2
    Views
    630

    Can you show another example? Because when I'm...

    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

    onclick="somefunction(passval)"
    ...
  25. I assume that you've thought about using the...

    I assume that you've thought about using the "window.onload" method?

    I've used that in a couple of online apps that I've done. You can't stop someone from leaving the site, but you can at least...
Results 1 to 25 of 46
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles