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 Chriss Miller 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. adam0101

    Exclude nested files from source control

    I ended up handling this a different way. If you're interested, here's what I did: http://stackoverflow.com/questions/484795/exclude-nested-files-from-source-control
  2. adam0101

    Exclude nested files from source control

    We're having a problem combining 'nested files' and excluding files from source control. We're using code generation to create two partial classes for each entity - MyBusinessObject.vb and MyBusinessObject.Generated.vb We'd like the "Generated" file to appear as a nested file under the manual...
  3. adam0101

    How to append to specific Cookie

    Well using the code I posted, couldn't you append to it like this? var val = readCookie('cookieName') + 'someOtherValue'; createCookie('cookieName',val,30); Adam http://adameslinger.blogspot.com/
  4. adam0101

    How to append to specific Cookie

    You don't need to reinvent the wheel. A simple google search gave me this page that had this code. Use it to read/write your cookies without overwriting/deleting other cookies. function createCookie(name,value,days) { if (days) { var date = new Date()...
  5. adam0101

    Object Required error

    If you split it out on more than one line, then the line number in the error might mean something. var step = 2; function objWidth(obj) { if(obj.offsetWidth) return obj.offsetWidth; if (obj.clip) return obj.clip.width; return 0; } function objHeight(obj) {...
  6. adam0101

    How to get links and urls?

    Would you like just anyone to be able to track everywhere you've been on the Internet? Most people wouldn't, so browsers don't expose this information. You could track clicks on links on YOUR sites, but that doesn't sound like what you're after. Adam http://adameslinger.blogspot.com/
  7. adam0101

    Tricky Javascript Changing-text thing. Is it possible?

    did that help fix your problem? Adam http://adameslinger.blogspot.com/
  8. adam0101

    program window position

    A .exe? Wouldn't the browser prompt you to download it as a file? I don't think JavaScript can reposition a windows app that was opened. Maybe you could give us a little more detail and post the code that you've created so far so we can help you. Adam http://adameslinger.blogspot.com/
  9. adam0101

    change from form event to onclick link

    I'm very surprised that you weren't able to find a working example of an onclick event on the entire Internet. Well not that surprised I guess. Here... <a href="#" onclick="myfunction('foo.doc');return false;">foo</a><br /> Adam http://adameslinger.blogspot.com/
  10. adam0101

    converting vbscript into javascript.

    Well, what was its equivalent in your other post (http://tek-tips.com/viewthread.cfm?qid=1470939&page=1)? Adam http://adameslinger.blogspot.com/
  11. adam0101

    Tricky Javascript Changing-text thing. Is it possible?

    And for your changetext function, you can't use getElementById because it's only text. It's not an element yet. Try this:function changetext(elemid) { var ind = document.getElementById(elemid).selectedIndex; document.getElementById("myImageID").onmouseover=new Function("tipText('<div...
  12. adam0101

    Tricky Javascript Changing-text thing. Is it possible?

    You need to HTML encode it so the browser doesn't think it's a malformed IMG tag: onMouseover="tiptext('&lt;div id=display&gt;Message 0&lt;/div&gt;');" Adam http://adameslinger.blogspot.com/
  13. adam0101

    Help - I'm using PHP output as external javascript source.

    What's in your script that's so top secret that you do want anyone to see it? Honestly, the only way to hide your JavaScript from the end user is to not put it on your server. I did a google search for spoof HTTP_REFERER and there was no shortage of methods for doing so. Not that I'd have to -...
  14. adam0101

    IF then statement plus wildcard???

    I'd probably split the string on the colon and then concatenate the pieces I want back together. Adam http://adameslinger.blogspot.com/
  15. adam0101

    IF then statement plus wildcard???

    How about this:if(cas.Difference__c.indexOf("-1:0-1:0-") == 0) Adam http://adameslinger.blogspot.com/
  16. adam0101

    Print a Cell's Content

    Take a look at faq216-5769 Adam http://adameslinger.blogspot.com/
  17. adam0101

    Changing BACK button nature

    I think trying to change the behavior of something everyone is familiar with is a very bad idea. But if you really need to do this, you could attempt something like this: (I was really bored) Create an array to track the user actions you want to be able to undo. After every action, change the...
  18. adam0101

    Code not returning value from iFrame to parent page

    How about this? parent.document.frmCancellation.txtCourseName.value Adam http://adameslinger.blogspot.com/
  19. adam0101

    Create date based on +### string

    This should work for adding the days: function addDays(oldDate, days){ return new Date((oldDate-0)+(days-0)*1000*60*60*24) } For parsing the string, read up on the String object. I suggest http://devguru.com/technologies/javascript/10792.asp Adam http://adameslinger.blogspot.com/
  20. adam0101

    Grab text from a file

    Another way would have been to use AJAX to get the contents of the text files, then add it to the textboxes. Adam http://adameslinger.blogspot.com/

Part and Inventory Search

Back
Top