Need help for a complete Java newbe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • splatter

    Need help for a complete Java newbe

    Hey all,
    I'm trying to get a java bookmark to work from my browsers address field
    which is supposed to send a prefix + reload the current page from my proxy &
    return a special view depending on the prefix. "src=source , dbug=debug,
    bypass=ignore all filters" etc....

    So what is wrong with these? I'm only listing two.

    I have tried
    "javascript::do cument.nolocati on="http://src//"+document.nolo cation.href.sub
    string(7);"
    & also tried
    "javascript::do cument.NoLocati on="http://dbug//"+document.NoLo cation.href.su
    bstring(7);"

    I keep getting:
    Error: document.noloca tion has no properties
    Source File:
    javascript:docu ment.nolocation ="http://src.."+document .nolocation.hre f.subst
    ring(7);
    Line: 1

    Thanks in advance.

    DP

    --
    Lucrum gaudium
    "Profit is happiness!"


  • splatter

    #2
    Re: Need help for a complete Java newbe

    SHOOT.. sorry about replying to myself. I didn't mean to have the extra "::"
    Should have read like below

    "splatter" <me@me.net> wrote in message
    news:p4Yjb.57$S 91.49919@news.u swest.net...
    Hey all,
    I'm trying to get a java bookmark to work from my browsers address field
    which is supposed to send a prefix + reload the current page from my proxy
    &
    return a special view depending on the prefix. "src=source , dbug=debug,
    bypass=ignore all filters" etc....

    So what is wrong with these? I'm only listing two.

    I have tried
    "javascript:doc ument.nolocatio n="http://src//"+document.nolo cation.href.sub
    string(7);"

    &

    "javascript:doc ument.NoLocatio n="http://dbug//"+document.NoLo cation.href.su
    bstring(7);"

    I keep getting:
    Error: document.noloca tion has no properties
    Source File:

    javascript:docu ment.nolocation ="http://src.."+document .nolocation.hre f.subst
    ring(7);
    Line: 1

    Thanks in advance.

    DP

    --
    Lucrum gaudium
    "Profit is happiness!"




    Comment

    • Herman Timmermans

      #3
      Re: Need help for a complete Java newbe

      splatter wrote:
      [color=blue]
      > Hey all,
      > I'm trying to get a java bookmark to work from my browsers address field
      > which is supposed to send a prefix + reload the current page from my proxy
      > &
      > return a special view depending on the prefix. "src=source , dbug=debug,
      > bypass=ignore all filters" etc....
      >
      > So what is wrong with these? I'm only listing two.
      >
      > I have tried
      >[/color]
      "javascript::do cument.nolocati on="http://src//"+document.nolo cation.href.sub[color=blue]
      > string(7);"
      > & also tried
      >[/color]
      "javascript::do cument.NoLocati on="http://dbug//"+document.NoLo cation.href.su[color=blue]
      > bstring(7);"
      >
      > I keep getting:
      > Error: document.noloca tion has no properties
      > Source File:
      >[/color]
      javascript:docu ment.nolocation ="http://src.."+document .nolocation.hre f.subst[color=blue]
      > ring(7);
      > Line: 1
      >[/color]
      <knip>

      Wrong news group.
      This is a javascript question and not related to java.


      --
      Suse Linux Professional 8.1 on Athlon 1.1 Ghz 512 Mb
      Anti Spam = remove the "dot" and the "at"
      Registered Linux User #264690

      Comment

      Working...