/    Sign up×
Community /Pin to ProfileBookmark

hi everybody!
i have a question: is it possible that every link i will touch with the mouse (important! not a specify link, every link), the var “file” will be the url of the specify link i touch it.
if i possible, slz give me the script.

thx a lot guys!!!!

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@byeeeJul 30.2007 — I guess you could use a javascript to change the onMouseOver property of every <a> tag in the document so the value is stored in "file"... but that would really slow down the page loading.
Copy linkTweet thisAlerts:
@arnoniauthorJul 30.2007 — i dont understant. plz give me a code of this
Copy linkTweet thisAlerts:
@Angry_Black_ManJul 30.2007 — hrm...

you want to change

http://www.yahoo.com

to

file://www.yahoo.com

right? if not right, provide the code to how the links look as you have them right now, and then explain what you'd want ONE of them to look after it is moused over.
Copy linkTweet thisAlerts:
@arnoniauthorAug 01.2007 — no

i want to take the url of the hyper link "http://www.yahoo.com" (that is probably http://www.yahoo.com) and put this string into the variable "file", like:

var file = (the url of the link im hovering over it)
×

Success!

Help @arnoni 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 6.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...