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 Mike Lewis 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. starrwriter

    backward slash conversion script

    Can't use an alert. This is for an offline browser-based WYSIWYG editor. To make a rollover button, the user browses to set the mouseover and mouseout images, then clicks a button to generate AND insert the rollover javascript into the source code of the page under construction. So I need a...
  2. starrwriter

    backward slash conversion script

    When used to browse for images, <input type="file"> produces a URL address with backward slashes in the text field. For example -- C:\Windows\Desktop\photo2.jpg. I need the backward slashes automatically converted to forward slashes before the text field value (URL) is inserted into an image...
  3. starrwriter

    Alert when user attempts to close a window

    This may only work in Internet Explorer, but place this script in the head section: <SCRIPT LANGUAGE="JScript" TYPE="text/javascript" FOR=window EVENT=onbeforeunload> mess = "ADDITIONAL MESSAGE OPTIONAL HERE" return mess; </SCRIPT>
  4. starrwriter

    accessing head section

    ...if you are using document.write after the page has loaded, the second one will overwrite the first, so maybe you should do all of this with one insertion, specifying the following things each time: <html><head></head><body></body></html>" I'm afraid you misunderstood the problem. The user of...
  5. starrwriter

    accessing head section

    This may be difficult to understand unless you are familiar with the design mode feature built into Internet Explorer 5.5+. I used this feature to develop a browser-based WYSIWYG HTML editor for offline use, but I have run into a serious problem that I can't solve. innerHTML and outerHTML...
  6. starrwriter

    Preview page function

    I have written a preview page function for the WYSIWYG editor I'm developing, but it doesn't work and I can't figure out why. I get error message "Access denied" on one line. Here's the script: function previewPage() { iView.document.execCommand('SaveAs',null,'popup')...
  7. starrwriter

    Drag and drop table rows

    Your links are dead as of 8 p.m. Saturday (Hawaii time).
  8. starrwriter

    image tag script

    Can anyone tell me how to stop the script below from removing the back slashes in the image URL? Here's the result I get in the alert: <img src=C:WindowsDesktopimage1.jpg width="100" height="100" border="0"> function getImageDims(imgurl) { var oImage = new Image(); oImage.onload = new...

Part and Inventory Search

Back
Top