![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The small window that opens when you click on the words in the left frame, allows you to select from that text in that window, then either drag and drop, or cut and paste. |
pen(...)> ...</a> ] ), it worked perfectly.
#3
| |||
| |||
|
|
Wayne Dobson <nospam (AT) noadress (DOT) com> schreef in berichtnieuws dXkcg.319561$8Q3.129552 (AT) fe1 (DOT) news.blueyonder.co.uk... Hello Wayne, snip The small window that opens when you click on the words in the left frame, allows you to select from that text in that window, then either drag and drop, or cut and paste. Thank you for your reply, together with its (more than expected) full example. Although neither my (old) version of IE and my current version of FireFox understood the line [ <B id="newWindow" target="about:blank">Click To Open Window</B> ] (which I had to change to a simple [ <A href=javascript pen(...)> ...</a> ] ), it worked perfectly.There is just one thing : I hoped to be able to *click* on an icon or piece of text, and that it would be added to a specific textbox in the target-frame (making the whole thing a one-click thing, whatever the contents). Is there any chance you have the solution to that one as well ? :-) Regards, Rudy Wieser P.s. I'm saving your current post, so I can look at it when I need something similar. :-) |
#4
| |||
| |||
|
|
There is just one thing : I hoped to be able to *click* on an icon or piece of text, and that it would be added to a specific textbox in the target-frame (making the whole thing a one- click thing, whatever the contents). |
|
Replace the javascript between the "SCRIPT" tags, in the respective files to: |
#5
| |||
| |||
|
|
Thanks. Although I could not get that code to work, it gave me an idea to in which way I should look. And as you will have it, the end-result wanted to work on three local files, but would not when I replaced the right frame with an real URL (FireFox told me that access was denied, something I can even understand). |
|
Again, thanks for the help, you gave me a push in the right direction. :-) |
#6
| |||
| |||
|
|
I just tried it in Firefox. It worked fine. |
#7
| |||
| |||
|
|
Wayne Dobson <nospam (AT) noadress (DOT) com> schreef in berichtnieuws 2vhdg.205270$tc.151264 (AT) fe2 (DOT) news.blueyonder.co.uk... Snip I just tried it in Firefox. It worked fine. But that still does not mean it works over here :-) The returned message was : "Error: uncaught exception: Permission denied to get property HTMLDocument.title". The used code was : ------------------------------------------- var b = top.opener.top.frames for( var i = 0 ; i < b.length ; i++ ) { confirm("--"+i+" "+b[i].document.title); } ------------------------------------------- It did show the left frame (frame #0), which is a local file, but barfed at the right-frame, which is a real URL. |
|
It has probably something to do with inter-site navigation and a lack of security when that happens. I have to see if I can find more on that subject (something like alliviating the restrictions for JS when certain "web"-pages are the source) |
![]() |
| Thread Tools | |
| Display Modes | |
| |