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 SkipVought 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. dolphyn

    Hyperlinks and SHIFT key

    bigdan I have had the same problem. Although a lot has to do with the way the intranet is set up, you can get documents to open in their native application via your code. My solution is to use "file://" at the beginning of the URL in a link instead of "http://&quot...
  2. dolphyn

    How can I make a Hn begin with an o

    deltarho Another way is to use HTML escape sequences. i.e. &#147; gives an open quote, &#148; gives a close quote, &ampquot; gives a neutral quote that could be used as either an open or close quote E.g. <H1>&#147;Heading Goes Here&#148;</H1> will show on your page as...
  3. dolphyn

    use txt file

    lamber This script reads from one text file and writes back to the same file. It is well commented and should get you off to a good start. <% Option Explicit %> <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <html> <head> <title>File Incrementer</title> </head>...
  4. dolphyn

    Want to make visual organizer

    Rakhi Kalra You could create a table in HTML and use the onMouseOver event to bring up a small pop-up window, or a prompt dialog box. This function will change the contents of a table cell using a prompt dialog box: function openChangeText(theCell){ theCell.innerText = prompt(&quot;Enter...
  5. dolphyn

    Vertical Text??

    Hi Another way to get vertical text is by embedding a table within a table cell. This works fine in IE5.5 and Mozilla. It really is just basic HTML so it should work in any browser. i.e. ... <TD> <!-- cell of outer table starts here--> <table> <!-- inner table -->...
  6. dolphyn

    innerHTML!!!!

    Hi vbkris It doesn't work (I think) because the table tag doesn't support innerHTML. Use a span inside the table tags, as in <html> <script> function AddRow() { var oldvar=document.getElementById('tbl').innerHTML newvar=oldvar+&quot;<tr><td>Hi<\/td><\/tr>&quot...
  7. dolphyn

    Inserting a new html file

    There is a way to do this using JavaScript, but not by inserting the contents of a separate file. The new HTML is in the JavaScript. You can dynamically change the innerHTML of a span or div to seemingly change the page. If you make the span go from <body> to </body>, you can change the whole...
  8. dolphyn

    Image Popup

    eclipse33 & jemminger Is there any way you could preload the image before displaying it in the pop-up? Something like var newPic = new Image(100,100); newPic.src = &quot;SomePath/SomeImage.jpg&quot;; in the JavaScript? dolphyn
  9. dolphyn

    Problem with extra space above DIV

    Another solution would be to use a SPAN instead of a DIV. SPANs work the same as DIVs, but without inserting an extra blank line. dolphyn
  10. dolphyn

    Is is possible to use tables instead of frames???

    You can set up a span or div in the table cell, give it a name, and then use a function to change the innerHTML of the span (or div, I prefer to use a span because they don't cause extra line breaks). i.e. function func1(){ document.all.spanName.innerHTML =&quot; HTML code here &quot;; } where...
  11. dolphyn

    MailTo and the body field-how many characters can it hold?

    BobInPDX EdwardMartinIII has a great script. I have not tested it myself but it looks great. It's just what I would need to send form data to an email address and to a database simultaneously. However, I think it's going to a lot of un-neccesary trouble if all you want to do is send form...
  12. dolphyn

    Expandable forms using DIV and SPAN tags???

    It looks like a nesting problem to me. If you want to have the DIV include an entire row of TDs, open the DIV immediately after the TR tag. Do not put it in one of the TDs. i.e. Try <tr> <DIV CLASS=&quot;off&quot; ID=&quot;Test&quot;> <td> . . .</td> <td> . . .</td>...
  13. dolphyn

    Alternatives to scripting!

    gussy1 Yes, there is an easy way to do this. You don't need any scripting at all, but it is not secure. If you can live with that, here it is. Make a form tag, like so ... <form action=&quot;mailto:address@website&quot; method=&quot;post&quot; enctype=&quot;text/plain&quot...
  14. dolphyn

    Dynamically populated option box question

    Hi Tread42 and JohnBates I just want to let you know that this is also doable without ASP. ASP would be preferable to populate large lists, as JohnBates has shown, but for small lists you can do it with JavaScript. This site explains it fairly well...
  15. dolphyn

    transfer text from one page to another

    To give some detail to this discussion, one way you could do this with ASP is to use an application level or session level variable. An application-level variable is available to any ASP page in the same directory, and a session-level variable is specific for one user. They are defined in...
  16. dolphyn

    jump to the middle of the page

    Hi Try something like <BODY onLoad=&quot;location.replace('thisPage.html#top')&quot;> or <BODY onLoad=&quot;location.href='thisPage.html#top'&quot;> The difference between these methods is that setting href will generate a new entry in the History object, but replace() will not.
  17. dolphyn

    Cell Tag for height

    Hi I think the answer to your problem is right in the code that Word generated, e.g. for a table cell <td width=292 valign=top style='width:218.65pt;border:none;border-right:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt;height:.75pt'> See that height style parameter? You can change that...
  18. dolphyn

    re: using javascript instead of &quot;mailto&quot; for email to avoid spam......

    Hi 2socks You can use your IE specific code and your NetScape specific code at the same time. You just have to do some &quot;browser-sniffing&quot;. Use the appName property of the Navigator object (don't worry, the Navigator object is supported by IE, in spite of the name). e.g. var...

Part and Inventory Search

Back
Top