CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Surrendermonkey

Page 1 of 9 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    4
    Views
    7,084

    Netscape

    Apologies. In my line of work, it's too easy to forget about Netscape - or indeed any other non-microsoft browser. Thanks to Websmith for putting me right.
  2. Replies
    4
    Views
    7,084

    Try this...

    <form>
    <input type="button" value="button" name="B1" OnClick="window.navigate(b.html);">
    </form>
  3. value=-

    Are you using
    value=these words
    in the input tag?
    If so, you might find
    value="these words"
    more expedient.
  4. Replies
    6
    Views
    1,052

    Simple

    Your frames page probably looks something like this:

    <html>

    <head>
    <title>Frames</title>
    </head>

    <frameset cols="220,*">
    <frame name="contents" target="main" src="Tree.htm">
  5. Replies
    6
    Views
    1,052

    Wrong problem.

    please post your code. This works for me no problem.

    with id="trvw" (or whatever) in your <Object ...> tag, try

    document.all.trvw.width = document.body.clientWidth - 20;

    Cheers,
  6. Replies
    6
    Views
    1,052

    Constants

    Have you ensured that the declaration of the constant twnChild is included in your code?

    Try myNode=TreeView1.Nodes.Add("A",4,"AA","[1.1]")

    and see what happens.
  7. Replies
    3
    Views
    849

    Try this

    <Script Language="VBScript">
    Sub Commandbutton1_onClick() ' note the "on"
    window.navigate("this.asp")
    end sub
    </Script>

    alternatively, you can use:
    <input type="button"...
  8. I don't know how this works...

    ...in conjunction with <href="somthing"..> but have you investigated
    window.status = "this appears"

    in conjunction perhaps with the onmouseover event?
  9. Replies
    3
    Views
    906

    Style wise

    I usually set a style up like this:
    <style media="print">
    .pagebreak {page-break-before:always}
    </style>

    and then assign the style with <... class="pagebreak"..> whenever I want a new page. ...
  10. Replies
    2
    Views
    881

    Don't think so...

    I don't believe this is possible, and intentionally so. Back and forward functionality is very useful, of course, but think about it - would you want every site on the web to be able to rifle...
  11. I might have misunderstood you but...

    ...might this fit your needs?

    <body oncontextmenu="return false;">

    or maybe:
    <script language="javascript">
    function doThing(){
    // do lots of interesting things...

    //and return false to...
  12. Replies
    3
    Views
    1,277

    try this...

    From where are you calling the FormSubmit function?

    Depending on this, you could use
    onclick="javascript:FormSubmit();" and examine the window.event.srcElement to determine the object which was...
  13. Replies
    3
    Views
    2,008

    Try this

    I was using window.location when document.location might have been better...

    For your add-to-favourites link in top.htm, use this:
    <script>
    function addToFavourites(){...
  14. Replies
    3
    Views
    2,008

    Try this...

    You can supply the url which you wish to add to favourites to the method like so:
    window.external.AddFavourite('http:\\www.hello.com\thissite\thispage.html');

    So in your case code...
  15. Replies
    2
    Views
    1,363

    Have you tried...

    <input type="text" autocomplete="off"
  16. Dim types

    ...only you're not going to need those types in the Dim statements in vbscript, nor the index after the "next" statements.
    I don't know for sure, but I don't think you'll get away with Redim (0...
  17. Poor solution

    This "Function" ( - it should really be a sub note byRef array parameter) sort an array of integers (with initial index =1).

    It needs a bit of tidying up, but there's no reason it couldn't be...
  18. Replies
    1
    Views
    1,222

    Glad to be here.

    Hi all.
    Thanks to Brad for the position, the introduction and for thinking of something nice to say about me based on a couple of emails and my codeguru history...

    Codegurus are by and large a...
  19. Replies
    3
    Views
    10,212

    Thanks

    Nice one Zvona - confirm is the fellow I was after.

    Thanks.
  20. Replies
    0
    Views
    1,596

    RDS onReadyStateChange

    Hi gurus.
    Has anybody successfully employed the onReadyStateChange event of the RDS data control?
    I've tried all the usual event-handler associations:
    onReadyStateChange="myFunction();" as a HTML...
  21. Replies
    3
    Views
    10,212

    msgbox Javascript

    Hi gurus.
    Simple question - I have alert();, which is fine, I have prompt();, which is fine, but how can I duplicate msgbox("whatever", vbYesNo) in javascript?

    I just want to give my users an...
  22. Replies
    1
    Views
    2,019

    Simple

    Just link th e .js file thus:
    <script language="javascript" src="thisfolder/menu.js">
    </script>

    and then call your functinos as you would any other:
    <script language="javascript">
    var f;
    f =...
  23. Thread: Times

    by Surrendermonkey
    Replies
    6
    Views
    1,228

    Come on guys

    Come on people.
    Sort it out.
  24. Replies
    3
    Views
    2,003

    Hooray.

    Thankyou, Zvona.

    Good point, well made, works for me. My script is no longer Fubar'd.

    Cheers muchly,

    Surrendermonkey.
  25. Replies
    3
    Views
    2,003

    return false

    I have oncontextmenu="return false;" and oncontextmenu="javascript:return false;" as attributes (it's a <TH> tag, incidentally, but I don't suppose it matters), and the resultant behaviour is...
Results 1 to 25 of 211
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured