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. snowneil

    properties of the element collection returned by getElementsByTagName

    That was my bad, i was playing around with existing code and forgot to take it out. Here is the code now startList = function() { //alert("starting"); if (document.all&&document.getElementById) { if (document.getElementById("headerNav")) { navRoot =...
  2. snowneil

    properties of the element collection returned by getElementsByTagName

    Hi, i am trying to position an iframe shim behind a <ul> when it appears using mouseover. Just wanted some help on how to do it, possibly using getElementsByTagName(). The following is my markup example. <div id="headerNav"> <ul> <li id="header_nav1" class="nav1"><a href="#">N</a></li>...
  3. snowneil

    Using a variable as the size argument when creating an array

    Thanks for the reply works great.
  4. snowneil

    Using a variable as the size argument when creating an array

    I am trying to do the below in part of my function.. keep getting error '800a0402 Argument type must be an integer. I heard you can't use variables as an argument for creating arrays in vbscript, anyone know any different? or a way around? Function displayRandomKeyProducts(rsJ...
  5. snowneil

    link excel to word

    Hi, is there a way to have checkboxes in excel that when ticked as an option.. they add a paragraph of text from a separate word document or from inside the same excel sheet... into another word document.. Eg. tick 3 of 5 options, once ticked the 3 options descriptions are put together in 1...
  6. snowneil

    Refining function arguments

    ex arguments being these ones function createOptions(id,lookupData,sessionArray,exDataArray,exCount,exCheck,allowBlank)
  7. snowneil

    Refining function arguments

    The below shows a couple of functions to create the options for a select box. They don't cover much but still working on them. The arguments beginning with ex don't seem like the best way to do it. Anyone have any ideas on how to refine these? * this method gets data from 1 lookup table for...
  8. snowneil

    hover scroll of text in a div

    Thanks for that, exactly what i was after. Great stuff.
  9. snowneil

    hover scroll of text in a div

    Hi, I was wondering how to get text inside a div to scroll up and down when hovering over an image of an arrow. Often people use flash to do it but i dont want to. The html tag <marquee> is an option to make it scroll vertically so maybe i can wrap all the text inside the <div> with that and...
  10. snowneil

    form label css in firefox

    Sorry my fault it does work usually. It wasn't working in this case because my form was inside table. The css i think would of needed a change so i just put the form tags outside the table and left the form elements inside. Now it works.
  11. snowneil

    form label css in firefox

    form label { font-size: 8px; font-weight: bold; color: #376EB1; font-family: Verdana, Arial, Helvetica, sans-serif; width: 100px; } This works fine in IE but doesn't do anything in Firefox, could anyone shed some light on a reason or work around? Thanks
  12. snowneil

    Marquee div using javascript and css

    Hi, I was wondering how to get text inside a div to scroll up and down when hovering over an image of an arrow. Often people use flash to do it but i dont want to. The html tag <marquee> is an option to make it scroll vertically so maybe i can wrap all the text inside the <div> with that and...
  13. snowneil

    Problems with ' in where clause

    Hi, What do you do if you want to search for someones surname if it is something like O'brian etc. For instance the sql where clause is: WHERE surname = 'o'brian' would be incorrect. It returns an error of Incorrect syntax near 'brian' because of the '. I use surname =...
  14. snowneil

    List menu with no spaces

    For anyone interested in this one, i have fixed it now and changed the css quite a bit. I missunderstood what was being floated, which made it confusing but now i have finished it. CSS #menu { position:relative; width: 100%; height: 25px; background-color: #376EB1; float: left; } #menu...
  15. snowneil

    List menu with no spaces

    Hi having a problem getting a menu's links to line up next to each other with no gap. Here is my html: <div id="menu"> <ul> <li><a href="#">Link One</a></li> <li><a href="#">Link Two</a></li> <li><a href="#">Link Three</a></li> <li><a class="apply_online" href="#">Apply...
  16. snowneil

    checking a null value

    asp javascript.. sorry forgot to mention that.
  17. snowneil

    checking a null value

    I have got a SELECT statement that returns a recordset, with one of its values being 'acId'. acId is either null or an id number. Eg. In the Microsoft sql server database table the value in the acId field for each record is either <NULL> or an id number acting as a foreign key. The below if...
  18. snowneil

    update using a lookup

    I figured it out and wrote this before your replies. UPDATE COM SET managedBy = USERS.id FROM (SELECT id, code FROM USERS) AS USERS WHERE COM.managedBy = USERS.code I take it yours works as well but i have nothing to test it on now.. Thanks for the help
  19. snowneil

    update using a lookup

    Hi, I have an old database layout that is still being used and i need to change the design. I have 2 tables. COM, USERS. COM has a 'managedBy' field which contains a foreign key from USERS. USERS has the following fields, 'id','username','access','active'. At the moment USERS.id is a...
  20. snowneil

    Recordset paging properties

    Yea that is what i am trying to do at the moment, i am just not sure how to get it working correctly. In the code above i have set the rs.PageSize, which gives me the right number of pages but then i have used a recordCounter variable. The problem i have is that each time page 1 is clicked it...

Part and Inventory Search

Back
Top