Results 1 to 10 of 10

Thread: link problem with browser
      
   

  1. #1
    Dalene Slabbert is offline Corporal
    Join Date
    Mar 2007
    Posts
    19

    Default link problem with browser

    Hi all
    I'm confused! On one page of my website, websterprop.net/springs.html, there's a link (target _blank) to /stone_garden.html. When closing this last window, IE returns you to Springs (correct), but Opera closes the browser. To work around this, I was thinking of making it a pop-up window (no toolbars, etc), but am not sure which target will do the trick, _top or _parent. I found the code for this somewhere in a thread and tried typing it in the URL field, but every time I went back to check, the field was empty except for the #.
    Any advice will be appreciated!

  2. #2
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: link problem with browser

    Hi Dalene,

    I use opera ALL the time, and that link works properly for me.....when I close
    that window opera still remains open and displays the previous page that I was on, so no problems here..................

    Why not use the _self instead ? this will open another page in the same window......

  3. #3
    Dalene Slabbert is offline Corporal
    Join Date
    Mar 2007
    Posts
    19

    Default Re: link problem with browser

    Tks, that's a relief! I'll leave it as is. Though I'm still curious as to the other questions?....

  4. #4
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: link problem with browser

    Most people usually leave the target field blank (default is _self) .

    I dont quite understand your other question because you mention "code"

    The blank will appear if you make an alteration in the text link, its best to delete the text and create it and the link again.

  5. #5
    Dalene Slabbert is offline Corporal
    Join Date
    Mar 2007
    Posts
    19

    Default Re: link problem with browser

    I would much rather use a pop-up window than a whole page, just couldn't figure it out first time round.
    Navaldesign said re: creating pop-up windows for links: In your original page, create the link. In the Link dialog box, in the URL field, type this code:
    Quote:

    #" onClick="window.open('yourpage.html', '','width=300,height=200'); return false;"

    Did that, but on saving and then checking the link again, found only the # in the URL field, the rest having vanished. Just tried again, with the same result. Anything else I could try, please?

  6. #6
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: link problem with browser

    did you change this part..........('yourpage.html'

    and I seem to remember that you should leave out th #"
    as bv will insert that for you..........

    so it looks like this

    onClick="window.open('nameofyourpagehere.html', '','width=300,height=200'); return false;"

  7. #7
    Dalene Slabbert is offline Corporal
    Join Date
    Mar 2007
    Posts
    19

    Default Re: link problem with browser

    Yes, did change that, actually put in the whole URL just to be safe (with the ' both sides), but will try it without the #.

  8. #8
    Dalene Slabbert is offline Corporal
    Join Date
    Mar 2007
    Posts
    19

    Default Re: link problem with browser

    Tried again, still doesn't show in URL after saving, but I had a look at the page HTML and it IS there, #" and all! Hope its still there when I go back to bv to republish. Thanks for the help.

  9. #9
    Dalene Slabbert is offline Corporal
    Join Date
    Mar 2007
    Posts
    19

    Default Re: link problem with browser

    Spoke too soon, lost onClick... between looking and saving. Resolved problem by using _top target, at least that gave page a back button.

    Tks for the forum, can get pretty lonely out there when struggling with a problem!

  10. #10
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49