Javascript URL link
-
On this webpage: http://www.webworkshop.net/pagerank.html, the guy has a link to AKA Marketing (its at the bottom of the page). He's used some javascript to do it, both in the link code, which is this: > <A onmouseover="window.status='http://www.akamarketing.com/';return true;" > onmouseout="window.status=' ';return true;" > href="javascript:go('akamarketing.com','new')"><B>AKA > Marketing</B></A> - Internet marketing articles, > tips, tricks and secrets. But this code on its own does not work. What additional javascript is needed to make this link work and look like a normal link?
-
Answer:
Hello. The code necessary for that "go" function to work is at: http://www.webworkshop.net/php/misc.js Thus, you'll want to include that code in the <head> of the page that you're making. Example: <head> <SCRIPT LANGUAGE="JavaScript"> var loc var newwind function go(loc,newwind){ if(newwind != "new"){ self.location="http://www."+loc }else{ loc="http://www."+loc window.open(loc,"","width=760,height=500,toolbar,status,resizable,scrollbars,location") } } </SCRIPT> </head> search strategy: the source of the web page given referred to "php/misc.js ", so I looked at: http://www.webworkshop.net/php/misc.js I hope this helps.
salsa_tlg-ga at Google Answers Visit the source
Related Q & A:
- How To Find Feed Url?Best solution by Stack Overflow
- Why is Javascript called Javascript, if it has nothing to do with Java?Best solution by Stack Overflow
- How to get the file using it's URL in Javascript?Best solution by befused.com
- How to get current YouTube video url using JavaScript?Best solution by Stack Overflow
- What does URL mean when I am asked for the URL while reporting abuse yahoo?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.