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!

Search results for query: *

  • Users: emms
  • Content: Threads
  • Order by date
  1. emms

    using Jscript to write an XML file

    Hi, I'm trying to write some JScript code to query a database and give the output as a pure XML file... I've found loads of help doing this with VBScript but none for JScript. If I can get: <%@LANGUAGE=&quot;JScript&quot;%> <% response.ContentType=&quot;text/xml&quot...
  2. emms

    resizing an image on upload

    I need to allow a user to upload an image and then automatically resize it to no larger than 300 x 225. I've found several methods of doing this but all require &quot;GD library&quot; to be installed on the host. Which the hosts are at the moment unwilling to do. is there another way to do...
  3. emms

    problem with replace

    I'm using Jscript and attempting to write something to strip out all &quot;<br>&quot; tags in a string and replace them with nothing i'm using: Introduction = Introduction.replace(&quot;<br>&quot;, &quot;&quot;); however this seems to be replacing only the first <br> tag in the string. can...
  4. emms

    alternating line colours

    Hi, I'm having huge trouble with some XSL. I'm trying to output XML with alternate lines coloured differently... so far I've got this: <xsl:variable name=&quot;row-number&quot; select=&quot;position()&quot;/> <tr class=&quot; <xsl:choose> <xsl:when test=&quot;$row-number mod 2 =...
  5. emms

    XML with Jscript

    Hi, I'm having trouble finding any resources to help me with this. I need to open an XML document and display it to the screen using JSCRIPT. The web seems full of info for VBscript but unfortunately that's no good. Any help would be great! Emma
  6. emms

    open XML file

    Is there any reason I can't do this is Jscript? XMLDoc = CreateObject(&quot;Microsoft.XMLDOM&quot;); XMLDoc.async = False; XMLDoc.load(&quot;c:\aspnet\&quot; & Request.Form(&quot;FileLocat&quot;)); Set rootNode = XMLDoc.documentElement; I get this error back: Expected ')' /home/ViewXML.asp...
  7. emms

    XML from another server with aspx

    I'm having huge trouble with an aspx script. I'm really sorry if you've replied to anything like this before - please point me in the right direction. I've written a form which sends information to a remote server, this then creates an xml file and sends me back the location as a form field...
  8. emms

    replacing line breaks with &lt;br&gt;

    I'm sure this is an easy one but it's driving me mad. I'm using Jscript and have tried: Headline = replace(Request.Form(&quot;Headline&quot;), vbCr, &quot;<br>&quot;); Headline = replace(Request.Form(&quot;Headline &quot;), lr, &quot;<br>&quot;); Headline = Replace(Request.Form(&quot;Headline...
  9. emms

    form variables in runat=&quot;server&quot;

    I *really* am a newbie at this, so appologise if I'm asking the blindingly obvious. how would I reference a form variable in a script I've set up to run at the server? here's the code i've got: <script language=&quot;VB&quot; runat=&quot;server&quot;> Sub Page_Load(sender as Object, e as...
  10. emms

    dynamically changing a param value

    not sure if this is possible but I need to write a script to dynamically change the value of an applets parameter. so far I've got a load of script with, I'm sure, many errors in. but hopefully it'll give you a clue as to what I'm trying to achieve. I'm also not sure if this will work as the...
  11. emms

    resizing a window

    is it possible to change the width and height of a window once its open? I'm not limited to Javascript on this so if you can suggest anything else that would be suitable? thanks for any help Emma
  12. emms

    rollover images wont work

    I'm trying to get some javascript working, unfortunately I didn't write it - and the person who did is on holiday! This seems to work on some machines and not others (even with the same version of ie, 6). I think the problem is something to do with the eval function, but i'm not sure what to...
  13. emms

    image map doesn't work on mac

    we've got an image map that seems to work perfectly in IE + netscape + opera on the pc. but not working in ie 5 on the mac. i'm not sure of the differences between v.4 and 5 but can't see why its not working http://www.vebra.com/home/vebra/vebraagent.asp can anyone give me some advice...
  14. emms

    printing a footer on each page

    is there any way we can produce a long list of data and when it is printed a footer appears on the bottom of every page? (so appears at print but not on the screen) at the moment it's set up to write so many records, then the footer and a pagebreak. this would be so much easier if there was...
  15. emms

    problems with isNumeric()

    Hi, I'm fairly new to javascript. I'm trying to write a script to check whether an input is numeric or not and do a different thing depending on the result at the moment i'm trying this: if (isNumeric(document.selector.branchid.value)){ searchlink = searchlink + &quot;&branchid=&quot; +...
  16. emms

    count mailto links clicked

    Hi, One of our clients wants to count the number of times an email is sent from his website - from both mailto links and the forms. is there any hit counter that will allow me to count the number of times a mailto link is clicked? this would be even better if we could actually count how many...
  17. emms

    security issues when using CDONTS

    Hi, I'm setting up a simple form to allow users to enter their name and address this information will then be emailed to me. To do this I'm using CDONTS. Are there any security issues associated with allowing emails to be sent from the server. I've checked the microsoft site and couldn't find...
  18. emms

    virtual paging

    I'm running a cold fusion aplication on a server running windows 2000. recently we've been having a problem with the size of the virtual memory, it seems to rapidly expand until cold fusion server is stopped and started. however this does not return the paging file to a reasonable size. At the...
  19. emms

    virtual memory expanding

    We have a coldfusion application running on a server, using SQL, this is the only thing the server is used for. We have recently had problems with memory, the virtual memory expands itself rapidly and uses up all the free space on the drive. the last time this happend we got down to 3MB and...
  20. emms

    CFFILE error message

    when trying to write a file using the following code the error message - &quot;There was a sharing violation&quot; appears. The file is already there but even so this shouldn't be causing the message. code: <cffile ACTION=&quot;Write&quot...

Part and Inventory Search

Back
Top