Javascript OL method

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fred K Meyer Jr

    Javascript OL method

    In Internet Explorer, some web links use the JS method "OL" to effect the
    transfer to another web page. On the address bar, it looks like this:
    javascript:ol( ... );
    where the content between the paratheses specifies the actual web link. This
    method does not work on my PC. I can work around this by copying the content
    between the paratheses and pasting it into another IE window. However, this
    is a pain in the neck. Can anyone suggest a reason? My PC specs are:
    Dell Optiplex GX270 3.0 ghertz.
    512 mb Ram.
    Windows 2000 Pro SP4 with all the latest updates.


  • Randy Webb

    #2
    Re: Javascript OL method

    Fred K Meyer Jr said the following on 5/19/2006 1:40 PM:[color=blue]
    > In Internet Explorer, some web links use the JS method "OL" to effect the
    > transfer to another web page. On the address bar, it looks like this:
    > javascript:ol( ... );[/color]

    Post a URL to a page that uses that, and then view source. You will find
    a function named ol in that page somewhere. You will also find a page
    authored by an incompetent programmer.
    [color=blue]
    > where the content between the paratheses specifies the actual web link. This
    > method does not work on my PC.[/color]

    Because you don't have the ol function defined.

    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
    Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

    Comment

    • Evertjan.

      #3
      Re: Javascript OL method

      Randy Webb wrote on 19 mei 2006 in comp.lang.javas cript:
      [color=blue]
      > Fred K Meyer Jr said the following on 5/19/2006 1:40 PM:[color=green]
      >> In Internet Explorer, some web links use the JS method "OL" to effect
      >> the transfer to another web page. On the address bar, it looks like
      >> this:
      >> javascript:ol( ... );[/color]
      >
      > Post a URL to a page that uses that, and then view source. You will
      > find a function named ol in that page somewhere. You will also find a
      > page authored by an incompetent programmer.
      >[color=green]
      >> where the content between the paratheses specifies the actual web
      >> link. This method does not work on my PC.[/color]
      >
      > Because you don't have the ol function defined.
      >[color=green]
      >> My PC specs are:
      >> Dell Optiplex GX270 3.0 ghertz.
      >> 512 mb Ram.
      >> Windows 2000 Pro SP4 with all the latest updates.[/color][/color]

      Could it be that ol() only works on pcs faster than 5.3 GHz?

      --
      Evertjan.
      The Netherlands.
      (Please change the x'es to dots in my emailaddress)

      Comment

      • Fred K Meyer Jr

        #4
        Re: Javascript OL method

        Thanks for the input, Randy. Now my question is: how do I define the ol
        function?


        Comment

        • Randy Webb

          #5
          Re: Javascript OL method

          Fred K Meyer Jr said the following on 5/20/2006 2:00 PM:[color=blue]
          > Thanks for the input, Randy.[/color]

          Thanks for quoting what you are replying to next time.
          [color=blue]
          > Now my question is: how do I define the ol function?[/color]

          function ol(){
          //code here to do whatever it is that you want ol to do.
          }

          --
          Randy
          comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
          Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

          Comment

          Working...