Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SarahKate31

    Array as Object property

    yes you are correct - this syntax does work - i had a problem elsewhere that i have now fixed...i haven't used the object constructor very often, so i assumed i had the syntax wrong...sorry! Thank you both for your quick replies Thanks - Kate
  2. SarahKate31

    Array as Object property

    Hi everyone -- I need to use the Object constructor to create a new object with properties. I also have a multidimensional array that I would like to store as a property of the object. sibsArr = new Array() sibsArr[0] = new Array() sibsArr[0][0] = "John" sibsArr[0][1] = 26 sibsArr[1] = new...
  3. SarahKate31

    Loop thorugh words in Textbox entry

    you might want to start by splitting your input string on spaces using .split() and then you will have an array containing each individual word that can be lopped through...after checking for abbreviations, you will be able to put the array back into a string using .join() var myString =...
  4. SarahKate31

    sorting 2D array with numbers

    okay i see...thanks for the tip! -- kate
  5. SarahKate31

    sorting 2D array with numbers

    I simplified the code for posting and the array index mistakes were typos...but thank you for the revision to numberSort: return(a[0]-b[0]) that did the trick...Also, I haven't had any trouble with the link...how come its wrong? thanks -- kate
  6. SarahKate31

    sorting 2D array with numbers

    Hi everyone -- I have a 2D array with numerical values in the 1st index and string values in the 2nd index. I need to sort the array by the 1st index. I know I can sort a 2D array by the first index when all of the values are strings. And I know I can sort a 1D array of numerical values with the...
  7. SarahKate31

    Toggle textbox visibility

    ok...add quotes around the element id: document.getElementById("dropDown").value document.getElementById("Type2").style.visibility that worked for me...its always something stupid like that... --kate
  8. SarahKate31

    Make Window Unable to Move

    thanks everyone for your help -- i am going to see what i can put together with all of your advice spewn - in answer to your question, no it does not need to be cross-browser compatible...i only need it to work with IE thanks again -- kate
  9. SarahKate31

    Toggle textbox visibility

    i was kind of thinking: <script language = "javascript"> function toggleVisibility() { if(document.getElementById(dropDown).value=="4") { document.getElementById(Type2).style.visibility='visible'; } } </script> <form name = "form"> <select id = "dropDown" name="dropDown"...
  10. SarahKate31

    Toggle textbox visibility

    correction: document.all.textBoxID.style.visibility="visible
  11. SarahKate31

    Toggle textbox visibility

    you could define a text box in the HTML and use CSS to set the visibility: style="visibility:hidden" then in your function you can reveal it: document.formName.textBoxID.style.visibility=visible --kate
  12. SarahKate31

    Make Window Unable to Move

    Jeff - thanks for the idea... but i cant seem to get it to work...i set the interval like this: (it is being set onload) var pos = setInterval(CheckLocation(),2000) function CheckLocation() { if(window.left!=0) window.moveTo(0,0) } it seems to be running only once...and the window is still...
  13. SarahKate31

    Make Window Unable to Move

    Hi everyone -- forgive me if i'm duplicating someone elses post...Anyway, I am opening a popup window with window.open and I would like to have the user not be able to move the window around with the mouse. I'd like it to stay anchored to its location...Does anyone know how to do this? Thanks so...
  14. SarahKate31

    submit form from one frame, display in another

    right you are - my mistake... thanks so much for your help - i really appriciate it :) --kate
  15. SarahKate31

    submit form from one frame, display in another

    adding target="rpt" is working, but is there a way to do it without opening up a new window? and just have the rpt frame display in the bottom half of the current window? thanks, kate
  16. SarahKate31

    submit form from one frame, display in another

    hi everyone - i saw a post similar to this one, but it didn't really answer my question, so i posted this one... i have a frameset with 3 frames (one hidden)...summary.htm is initially loaded into the "main" frame. this page has links that will let you view different reports. when you click on...
  17. SarahKate31

    array vs object

    i'm sorry if i have not provided enough information...it is a complicated problem and difficult for me to explain...here are the relevant sections of code: Hframe is the hidden frame main is the main viewable frame in page1.html: function populateArray(i){ ColorArray = new Array()...
  18. SarahKate31

    array vs object

    i understand that arrays are objects but i don't understand why i can't access this one. if i just declared a 2D array in a page and populated it and then did array.sort() it would still sort even though it is 2D. sorting is no problem with 2D arrays normally. but when i try to sort this 2D...
  19. SarahKate31

    array vs object

    hi - so here is my issue: on my first page, i am saving info into a 2 dimensional array which is stored in a hidden frame in my frameset. then i am accessing that array from my second page. if i try to access the array elements individually (array[1][2]) there is no problem. the information was...
  20. SarahKate31

    InstallShield issues with RPC server

    Hi -- I have been trying to install Dreamweaver and I am pretty sure that the problem is with my computer rather than Dreamweaver which is why I am posting here. When I try to run the installation, it starts up and extracts some files and then I get an error message saying: "The InstallShield...

Part and Inventory Search

Back
Top