dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: JavaScriptNick

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    656

    Thanks

    Thanks for the improvement, I will add this.

    Further though, I guess I'm thinking that I need to binding my textboxes and static fields to my collection, so the manual updating and swapping that...
  2. Replies
    2
    Views
    656

    MVC Help (Backbone)

    Probably not the perfect place to ask this question, but I'll give it a try. I'm very new to MVC (Backbone in this case). Would anyone mind looking at my source code and giving some pointers? ...
  3. Replies
    6
    Views
    739

    Did not solve problem

    Thanks for the suggestion, I agree that the change was needed, however this did not solve the issue. I figure it has to be some type of () or {} JS syntact issue. Probably here


    (a === 0) ?...
  4. Replies
    6
    Views
    739

    Code for table

    <html>
    <head>
    <script type="text/javascript">
    var filterCounter = 0;
    var showFilters = function (pid) {
    this.pid = pid;
    ...
  5. Replies
    6
    Views
    739

    Sample table source after build

    Sorry, but I couldn't find a quick way to post the table code so I just took a screen shot, but this is what is coming back after the table builds.

    See attached file.
  6. Replies
    6
    Views
    739

    Help getting scripts to work in IE

    I'm building a table on the server and then trying to get some distinct values back from a selected field. My logic seems to be working in Chrome but not in Internet Explorer. Can anyone provide some...
  7. Replies
    2
    Views
    1,040

    I'm missing it still

    This is what I have now. It's performing the onmouseover function onload instead of on the event. What am I missing?

    Thanks for your help. Very good stuff.



    <script>


    function...
  8. Replies
    2
    Views
    1,040

    Image Rollover Issue

    I'm really just playing around, trying to be as unobtrusive as possible, meaning that I didn't want to just do the standard on mouseover/onmouseout event actions inline in my html. My attempt was...
  9. Replies
    4
    Views
    1,041

    Perhaps two different next() functions, just for...

    Perhaps two different next() functions, just for testing. One for regular paging and another for search paging. It seems to me that this is where your error is coming from. You seem to be building...
  10. Replies
    5
    Views
    2,637

    Test this, but this should work. You probably...

    Test this, but this should work. You probably would need to check that the default message wasn't entered either, or remove it.



    <html>
    <head>
    <script type="text/javascript">

    var...
  11. Replies
    5
    Views
    2,637

    ...

    <html>
    <head>
    <script type="text/javascript">

    var isChecked = function(){
    var checked = document.getElementById("chk1").checked;
    if (checked){
    document.getElementById("Message").disabled...
  12. Replies
    1
    Views
    1,824

    I'm new as well, but this doesn't seem too...

    I'm new as well, but this doesn't seem too difficult. Save your user inputs into some type of array, and set the cookie value to the array list. I'm not sure what type of customization you are...
  13. Replies
    12
    Views
    5,262

    No jquery above. :)

    No jquery above. :)
  14. Replies
    12
    Views
    5,262

    One option is to put a custom attribute on the...

    One option is to put a custom attribute on the images you are wanting to collect, then loop through those.



    var getImages = function() {
    var allImages = document.getElementsByTagName("img"),...
  15. Replies
    4
    Views
    2,139

    What's IE??

    My bad, I forgot to check explorer. I did a quick google search and found an excellent post from our very own Kor.

    This should do the trick for you.




    if (element.name == "pass") {...
  16. Replies
    4
    Views
    2,139

    ...

    <html>
    <head>

    <script type="text/javascript">
    function myFocus(element) {
    if (element.value == element.defaultValue) {
    if (element.name == "pass") {
    element.type = "password";...
  17. Replies
    8
    Views
    6,742

    View Post

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">

    <head>...
  18. Replies
    8
    Views
    6,742

    If I'm understanding correctly, you just need to...

    If I'm understanding correctly, you just need to set the background image of the center div.


    <div id="divCenter" style="background-image:url('fig3mid.jpg');">Middle Content</div>

    You can...
  19. Replies
    8
    Views
    6,742

    Did you set the background image of the center...

    Did you set the background image of the center div when the page loads?
  20. Replies
    6
    Views
    2,697

    function showhint(menucontents, obj, e,...

    function showhint(menucontents, obj, e, tipwidth){
    if (document.FORM.CHECKBOX.checked == true)
    {
    return;
    }
    else {

    if ((ie||ns6) && document.getElementById("hintbox")){...
  21. Replies
    6
    Views
    2,697

    Probably need to play around with it, but I would...

    Probably need to play around with it, but I would suggest adding a conditional to your showhint function. Something like..



    if (document.FORM.CHECKBOX.checked == true)
    {
    return;
    }
    else...
  22. Replies
    6
    Views
    2,697

    Can you post your entire code? I need to see how...

    Can you post your entire code? I need to see how you are attaching your mouseover event. Thanks
  23. Replies
    5
    Views
    1,665

    Post your code.

    Post your code.
  24. Gallery

    <html>
    <head>
    <title>Gallery</title>

    <script type="text/javascript">

    var $ = function(id) { return document.getElementById(id); }

    var photos = document.getElementsByTagName("img");
    var...
  25. Why not follow your same logic and just pass the...

    Why not follow your same logic and just pass the title along with your parameters?



    function change_photos( op, title ){
    var headTitle = document.getElementById("mainTitle");
    headTitle.value...
Results 1 to 25 of 63
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles