<Span onclick = "Var strhref = Window. location. href; this. style. behavior = 'url (# default # homepage) '; this. setHomePage ('HTTP: // 172.24.96.9/DD/'); "style =" cursor: Hand "> //
<
Href = "#"
Onclick = "window. External. AddFavorite ('HTTP: // 172.24.96.9/ddxx/', 'Your company name')" Title = your company name'>
<Input type = button value = import favorites onclick = Window. External. importexportfavorites (true, "http: // localhost/");>
<Input type = button value = export favorites onclick = Window. External. importexportfavorites (false, "http: // localhost/");>
<Input type = button value = favorites onclick = "window. External. showbrowserui ('organizefavorites ', null)">
<Input type = button value = view the source file onclick = "window. Location = 'view-Source: '+ window. Location. href">
<Input type = button value = language setting onclick = "window. External. showbrowserui ('languagedialog ', null)">
<Input type = button value = add to favorites onclick = "window. External. AddFavorite ('HTTP: // www.vipcn.com/', 'Flash download')">
<Input type = button value = add to channel onclick = "window. External. addchannel ('HTTP: // www.vipcn.com/')">
<Input type = button value = set to homepage onclick = "this. style. behavior = 'url (# default # homepage) '; this. setHomePage ('HTTP: // www.vipcn.com/') ">
How should I write code for setting "set as Homepage" and "add to Favorites" on a website? (Add a small image)
<A href = "#" onmouseover = "window. External. AddFavorite ('HTTP: // www.dabaoku.com/', 'etime special statement')" target = "_ Self"> Add to favorites this page </a>
<A href = "#" onmouseover = "this. style. behavior = 'url (# default # homepage) '; this. setHomePage ('HTTP: // www.dabaoku.com/'); "target =" _ Self "> set to homepage </a>
Set as Homepage
<A href = # onclick = "this. style. behavior = 'url (# default # homepage) '; this. setHomePage ('HTTP: // www.baidu.com '); "> image </a>
-----------------------------------------
Add to favorites
<A href = "javascript: window. External. AddFavorite ('HTTP: // www.baidu.com ', 'Baidu')"> image </a>
Add to favorites
<A href = "javascript: window. External. AddFavorite ('HTTP: // www.baidu.com ', 'Baidu')"> Add to favorites </a>
Homepage
<Span onclick = "Var strhref = Window. location. href; this. style. behavior = 'url (# default # homepage) '; this. setHomePage ('HTTP: // www.laofang.com '); "style =" cursor: Hand "> <br> set as homepage </br> </span>
<A href = # onclick = "This. style. Behavior = 'url (# default # homepage) '; this. setHomePage
('HTTP: // www.../'); "> set to homepage </a>
Src = "images/dot.gif" width = 12 Border = 0> <a href = # onclick = "window. external. addFavorite ('HTTP: // www ...... /',' **** '); Return (false) "> Add your site to favorites </a>