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 wOOdy-Soft 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 thedji

  1. thedji

    BTS2002: Document Validation

    Hi Guys, I've got a channel (with map) set up in BizTalk that returns this error (in the event log) when I submit a document: An error occurred in BizTalk Server. Details: ------------------------------ The XML document has failed validation for the following reason: Element content is...
  2. thedji

    Pad leading 0 in front of string

    In the script section of your page put this function in: function padNumber(oPadder) { sPadThis = oPadder.value; sPadding = &quot;00000&quot;; sPadded = sPadding.substr(0, sPadding.length - sPadThis.length) + sPadThis; oPadder.value = sPadded; } Change your input tag to be: <input...
  3. thedji

    How can you avoid selecting text in &lt;DIV&gt;

    Put this function in your code somewhere: <script> function SelectStart() { window.event.cancelBubble = true; window.event.returnValue = false; return false; } </script> And make sure your div has this: onSelectStart=&quot;SelectStart()&quot; Let me know if this works or not.
  4. thedji

    pop-up boxes from a plain link

    <a href=&quot;javascript:window.open('http://insidecgl/', '_blank', 'toolbar=no,height=480,width=640,status=no,resizable=no,menubar=no,scrollbars=no');&quot;>Click here.</a> That will do what you're after - however it will replace the window it's called from with [object] (in IE anyway...
  5. thedji

    Display C: drive

    This can be done fairly easily. You said you wanted the client's C: drive and not the servers, under IE, you don't need ASP, just use code like the following: <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <html> <head> <title>Your C: Drive</title> </head> <frameset...
  6. thedji

    CSS Parsing Order

    Hi, Can anyone list the order that styles are parsed in a document? ie. External Stylesheet then Embedded Stylesheet then In-Lin Style Definition, etc. I think I've seen it at Microsoft's site, but I can't for the life of me find it again! Thanks!
  7. thedji

    Really real time chat

    Exactly right, it can't be achieved easily as getting data sent back from the server requires a client request - ie. a submit. .NET does do it, but it's client-side and if anything needs to be sent to the server it's done by submitting.
  8. thedji

    scrolling table headers

    You could try using a frame-based layout... Put the header row in a top frame and the rest in the body. This can be done fairly invisibly. Or you could use an iframe for the body, or put the body in a scrollable div. for all of these you need the body & headers in seperate tables.
  9. thedji

    Emailing a dorm to an entered email address

    Have a look at the source code on this page: http://www.vc.curtin.edu.au/oua/ss/Exam_appeal.html When submitted, it mails the following: NAME= ADDRESS_1= ADDRESS_2= ADDRESS_3= PHONE= EMAIL= STUDENT_NUMBER= ACADEMIC_STATUS= COURSE= COURSE_CODE= GROUNDS= (with fields completed of course) to...
  10. thedji

    Create a MS Word Document on Client with ASP

    I'm not sure how to do this server-side, but it can be achieved by using client-side script. (Under IE anyway) Set objWordApplication = CreateObject(&quot;Word.Application&quot;) You then have the equivalent of the 'Application' object in VBA for MS Word in objWordApplication. If you've not...
  11. thedji

    An html page without any bars!!!

    I haven't tested this yet but if it is so crucial you can't just have a pretty splash screen, you could try using javascript to open a new window then close the original one. If it's the main window the user will get prompted for a dialog boxing asking if they allow it to be closed. It's not...
  12. thedji

    JavaScript and previous web page address

    Client-side: Unfortunately, no. Server-side: Yes! Use the ServerVariables collection of the Request object. Named item &quot;HTTP_REFERER&quot; (ie, Request.ServerVariables(&quot;HTTP_REFERER&quot;) )

Part and Inventory Search

Back
Top