/    Sign up×
Community /Pin to ProfileBookmark

How to display current url in top frame?

Hi,

[url]www.goome.co.nz[/url]

What i want to be able to do is when you search for something e.g you select “youtube” and search for “cars” and then click on the first video in youtube. I want to display the current url ([url]http://www.youtube.com/watch?v=-FlGybEZfY8[/url]) in the top frame.

At the moment the original content is being showen. Is there any way that the current url can be displayed?

Cheers.

to post a comment
JavaScript

9 Comments(s)

Copy linkTweet thisAlerts:
@pentaceJan 07.2007 — ..Sorry misread
Copy linkTweet thisAlerts:
@toxicgtrauthorJan 07.2007 — So is this possible to do what i want?
Copy linkTweet thisAlerts:
@pentaceJan 07.2007 — I would say yes and no. As it is now no, because when yous earch youtube and click the link, the link is hard coded tot heir page to launch in its own window. The only way i know of doing what you are trying to do is somewhat like waht im trying to find help doing, and that is haveing js access the page you searched and pull information from it which i cannot seem tog et with a live web page only with offline. unless u know how youtube searches and u build your own yutube search engine
Copy linkTweet thisAlerts:
@toxicgtrauthorJan 07.2007 — Oh ok. Well if you find a solution let me know.
Copy linkTweet thisAlerts:
@ricpJan 07.2007 — Yeh, you would need to search youtube and return the results to the page on your domain. As pentace says you can't access a frame on another domain via client side script.

Nice logo, btw.
Copy linkTweet thisAlerts:
@toxicgtrauthorJan 07.2007 — Cheers Ricp! I designed it myself. ?
Copy linkTweet thisAlerts:
@toxicgtrauthorJan 08.2007 — Just to make sure. Is it possible for me to copy the way google do it? E.g http://tinyurl.com/ybj55b


And have something like this in the top frame:

[B]"Below is the image in its original context on the page: cars.eigenpage.nl/"[/B]
Copy linkTweet thisAlerts:
@pentaceJan 09.2007 — i found something that might work in your area its called JSON it seems to do what u want here are a few examples...


http://googlesystem.blogspot.com/2006/11/secret-google-json-api.html

http://developer.yahoo.com/common/json.html
Copy linkTweet thisAlerts:
@toxicgtrauthorJan 09.2007 — Cheers for that. I'll look into it. ?
×

Success!

Help @toxicgtr 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.16,
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,
)...