/    Sign up×
Community /Pin to ProfileBookmark

Folks,

I’m still looking for possible solution to my problem. Here it is.
I have a page that contains three frames: left, top, and bottom. The top frame is used for search of the product over
the Internet – merchant’s pages appear here. Left frame contains a button “Add URL”. Clicking on this button, the URL
of the page shown in the top frame should be captured and
displayed in the text field of the form shown in the bottom frame. One of the solution I have found is to create bookmarklet placed within Favorites that displays the URL of
the page viewed, in the same window, but it doesn’t work with
frames. This bookmarklet is very simple:
javascript:document.writeln(‘<a href =’ + document.location + ‘>’ + document.location)”

Thanks, Roman

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@VladdyFeb 11.2004 — [i]Originally posted by erenshte [/i]

[B]

I have a page that contains three frames: left, top, and bottom. [/B]
[/QUOTE]

That is your problem - everything else is just consequences.
Copy linkTweet thisAlerts:
@neil9999Feb 11.2004 — <button onclick="parent.bottom.document.getElementById('textboxidgoeshere').value=window.location.href;">Click here</button>

Neil
×

Success!

Help @erenshte spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...