www.webdeveloper.com

Search:

Type: Posts; User: okham

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    415

    Hey JMRKER...well, what I've tried so far has...

    Hey JMRKER...well, what I've tried so far has been pretty straightforward. I created a DIV on my index page, then called function showitem(), and in the function all I want to do is write the script...
  2. Replies
    2
    Views
    415

    Appending new elements to document

    I've searched through the forum and found related posts where other people have had this problem, but I haven't found any solutions that have worked for me. I've disabled my XSS filtering in IE, as...
  3. Replies
    2
    Views
    704

    Hey Rick, well what I'm doing for now is just...

    Hey Rick, well what I'm doing for now is just local. I haven't been able to write a script to the page in my iframe. Just now I commented all of the lines in this here, and found that they all were...
  4. Replies
    2
    Views
    704

    document.createElement

    Hi, I just bought Dreamweaver and have been experimenting with JavaScript...I've found that "document.createElement('script')" doesn't work when trying to load an external javascript into an iframe....
  5. Replies
    7
    Views
    893

    I might be able to find a solution if I approach...

    I might be able to find a solution if I approach the problem differently...I'll explain what I'm trying to accomplish...I have an iFrame on an index page that I load an html file into. In this file I...
  6. Replies
    7
    Views
    893

    I see what you're saying bionid. Well, the...

    I see what you're saying bionid. Well, the function is called in the <BODY>, as in...



    <body onLoad="makeitem(parent.lookno);" bgcolor="#ffffff">


    So I think by what you're saying, BODY...
  7. Replies
    7
    Views
    893

    Thanks bionid. The script is linked to the index...

    Thanks bionid. The script is linked to the index in the <head> by an external script file "main.js". I'll include more of the script here so you've got a clearer picture of what's happening...of...
  8. Replies
    7
    Views
    893

    Thanks for the suggestion coothead. That doesn't...

    Thanks for the suggestion coothead. That doesn't seem to be the problem. This is a script that is referenced in the index <head>, in an external file called "main.js". Maybe I should include more of...
  9. Replies
    7
    Views
    893

    .appendChild trouble

    Hi, I wondered if anyone might have a suggestion for me on this javascript snippet. I've used this code to write into an html page an array from an external source. I have not used this code for a...
  10. Replies
    2
    Views
    2,136

    onChange event and selectedIndex

    Hi, I'm using selectedIndex to change an option in a listbox, but I'm finding that the onChange event doesn't fire unless I manually make a selection. Is there any way to effect the change by JS so...
  11. Replies
    4
    Views
    1,746

    directory path

    oops...forgot I asked this question in HTML forum. About the path, though, yes, I had checked it out and it's correct so it must center around the rest of the code. I did find something on a search...
  12. Replies
    4
    Views
    1,746

    creating element

    Thanks for settling that question, Dave.....well, it must be the code still. Generally I don't understand what its problem is...I'm calling a function from an iframe file, but the creatElement I'm...
  13. Replies
    4
    Views
    1,746

    changing directory path

    Hi..I have a very simple problem with a path that I can't figure out, I don't think I know the right syntax: I have two directories that are in the root, "common files" and "items". My focus is on an...
  14. Replies
    3
    Views
    1,480

    parent element

    Thanks Wolfshade, I can see why the statement wouldn't work....perhaps "top.document...", I'll give it a shot, also look up the keywords you suggest. Ultimately, I may just move my links to the index...
  15. Replies
    3
    Views
    1,480

    Create new element

    I've used this segment of code to write an include script onto an index page before, but I'm using it on an iframe page now and I get an error code after the append statement in this loop. Should I...
  16. Replies
    4
    Views
    1,465

    parent element

    ....turns out it's sort of a variation of what you said, Wolfshade. I had to use parenthesis instead of brackets....Now I can work on the rest of the function :) Thanks... - - okham

    ...
  17. Replies
    4
    Views
    1,465

    parent element

    Thanks Wolfshde. It seems then it's like Kor said, there's something else wrong with the code. I don't think I'm referencing the parent image element correctly...the reference is fine if I note...
  18. Replies
    4
    Views
    1,465

    parent elements and paths

    I think I've got two problems with this snippet of code....I'm in an iframe, and I don't think I'm referencing the parent image element correctly, and I think the path may not be correct....as it is,...
  19. Replies
    7
    Views
    1,916

    return false

    Just wanted to let you know I resolved that issue I was having with that anchor, Kor. It was the "return false" that you suggested, but I needed to add it to the onClick event....which may have been...
  20. Replies
    7
    Views
    1,916

    Thanks for the reply, Kor.....well, I found that...

    Thanks for the reply, Kor.....well, I found that within the same frame I don't have to use document.getElementById, although as a rule it's probably a good idea to maintain. I did add the "return"...
  21. Replies
    7
    Views
    1,916

    property display

    oops tirna, sorry, I wasn't looking at which post you were replying to....here's the code I've ended up with, and what it's doing now is jumping back to the top of the list when the link is...
  22. Replies
    7
    Views
    1,916

    display properties

    Hey tirna....I haven't used document.getElementById at all, just the code as I copied it. Actually, it displays the div as it should, only that it jumps the focus back up to the top of the list, and...
  23. Thread: hyerlink display

    by okham
    Replies
    1
    Views
    1,502

    hyerlink display

    Hi, I'm not sure if this is a javascript question, or HTML....I'm using divs as in this code example, but when the link is clicked, it always jumps the document back to the top of the list...is there...
  24. Replies
    7
    Views
    1,916

    display properties

    Hey folks...anyone have an idea as to why this style script won't work for me? The subcat is hidden to begin with...


    <a href="#" onClick="subanimals.style.display='block';">Animals</a>
    <div...
  25. Replies
    9
    Views
    4,990

    Search txt file with javascript

    Thanks for your responses rnd me and Wolfshade. I didn't quite follow the code that you presented....In the meantime, I've toyed with this option: since each file I evaluate is composed of the same...
Results 1 to 25 of 149
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles