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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Cresby

  1. Cresby

    OMG, new hard disk with ton of adwares. Help with best security system

    Ad-aware SE is not a bad start. I assume the paid-for version does better.
  2. Cresby

    loading common HTML code from a file as a header to HTML page

    sadly - no serverside. I guess I could but it would cost money, time and frustration - all for a small return. But when I get to an impasse I will take the plunge.
  3. Cresby

    loading common HTML code from a file as a header to HTML page

    Thanks guys. I think we have reach the end of the dead end. I only use JAvaScript for incedental fillips like telling the surfer it is the third Friday of the month - which they could work out for themselves - which from the feedback I get is a 10% deal probably. I must say that I came to...
  4. Cresby

    loading common HTML code from a file as a header to HTML page

    Ta but- I haven't got server side program availability. I guess I must have use JavaScript
  5. Cresby

    loading common HTML code from a file as a header to HTML page

    Apart from frames or JavaScript - is there a way to load a common section of code before or even after the unique code contained in the loading file. I was sure I had done this but maybe it was in JavaScript. Frames may be the only way but I was told it makes it harder for search engines and...
  6. Cresby

    Regular Expressions

    FWIW dunno if it helps but IE5.5, NS 4.5 and Firefox all do things differently and what I found was that often somewhat like this helped // get it into a variable first var fred = document.myForm.inputField.value; alert(fred) // then use it var bill =fred.search(rExp) alert(bill) if...
  7. Cresby

    Javascript works for some but not all

    presume this is XP we are talikng about. Some of use still use Win98 because the target audience do and it is the only way to understand their problems. Flash & "Flash only" sites - on 56K. double ARGHHHHHHHHHHHHHHHHHHHHHHHHHHHHH.
  8. Cresby

    Date Difference

    just a thought but if you ever turn these dates into a full date and time the single instruction (?? not at home right now) to produce a string like "Wed Oct 20 15:16:59 UTC+0100 2004 " can differ on browsers. Opera uses the full day and month word. My solution to avoid this instruction...
  9. Cresby

    Firefox with layers &/or <DIV> tag

    var ns=(document.layers); var ie=(document.all); Firefox reports nulls on both The actual code has changed because it involved scrolling text in an oval. Some surfers remarked it was getting their attention - well it did its job but it was a bit over the top. I decided to use the status bar...
  10. Cresby

    Firefox with layers &/or <DIV> tag

    I forgot more code at the bottom - the closing brace } (ns)?window.captureEvents(Event.MOUSEMOVE ):0; if (ns||ie){ (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse; } if (ns||ie)window.onload=drag; function drag looks to be straightforward maths to generate a moving ovoid by...
  11. Cresby

    Firefox with layers &/or <DIV> tag

    I am not sure what fails in Firefox (appName=Netscape appVersion = 5.0..........) that works in IE5.5 & 6.0 and can be made to work in Netscape 4.5 any ideas? ns & ie are created by tests that genrate nulls if not that browser (in Firefox both nulls) the set-up for layers has been ommitted for...
  12. Cresby

    Formating Cells in Excel

    IF, ISNONTEXT, ISNUMBER and TEXT(cell,"blah blah") would do it if you have data from another cell (maybe hidden) eg If(ISNUMBER(cell),TEXT(cell,"format",IF(ISNONTEXT(cell),cell,TEXT(cell,"other format"))) of course you could format the cell during a WorkSheet_Change event and inspect every...
  13. Cresby

    How to activate "Worksheet_activate" event?

    good tip - If we knew what they meant and browsed them all the VB help while typing would suggest these things but it is a huge task to look, interpret and test the long list.
  14. Cresby

    manipulating external files using VBA

    you could try opening the app (app activate) and use SendKeys "%O" ' to open a file % = ALT SendKeys "filename" ' to open a file etc but using OPEN and GET are easier because you cannot single step through SendKeys as it sends the keystrokes to the VB window. AND the target app has to have...
  15. Cresby

    Create and print report from Excel

    update - if you type in the line it offers parameters which get a good explanation in VBA help - eg you can define the file name and it will fill the filename box ready for the user. The help file expands on all the dialogs but strangely (office 2000) does not include the hyperlink dialog viz...

Part and Inventory Search

Back
Top