[Project_owners] mouseover for link monitoring!

Frederik Vanderstraeten frederik_vanderstraeten at yahoo.co.uk
Thu Jul 19 03:05:01 PDT 2007


Sorry, the last line should read:

var href = target.href;

Frederik Vanderstraeten schreef:
> Hi,
> 
> This should work, although it's untested.
> 
> var target = e.target;
> while(target.href == undefined){
>   target = target.parentNode;
> }
> 
> var href = e.target.href;
> 
> - Frederik Vanderstraeten
> 
> joe ertaba schreef:
>> hi
>>
>> any body know how to get href of bold words in this page
>>
>> http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rlz=1B2GGGL_enIR207IR207&q=book
>> <http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rlz=1B2GGGL_enIR207IR207&q=book>
>>
>> i can get href of non bold part by e.target.href but it seem that
>> doesn't work for bold words like book:
>>
>>
>>     Google Book Search <http://books.google.com/>
>>
>>
>>
>>
>> On 7/13/07, *Michael Vincent van Rantwijk, MultiZilla* <
>> mv_van_rantwijk at yahoo.com <mailto:mv_van_rantwijk at yahoo.com>> wrote:
>>
>>     eric.jung at yahoo.com <mailto:eric.jung at yahoo.com> wrote:
>>     > Nickolay, care to elaborate? I'd like to document this at MDC.
>>
>>     This way your extension gets notified first, before the page ;)
>>
>>     --
>>     Michael Vincent van Rantwijk
>>     - MultiZilla Project Team Lead
>>     - XUL Boot Camp Staff member
>>     - iPhone Application Developer
>>
>>     _______________________________________________
>>     Project_owners mailing list
>>     Project_owners at mozdev.org <mailto:Project_owners at mozdev.org>
>>     http://mozdev.org/mailman/listinfo/project_owners
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Project_owners mailing list
>> Project_owners at mozdev.org
>> http://mozdev.org/mailman/listinfo/project_owners
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 


More information about the Project_owners mailing list