Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Javascript: kako staviti javascript u firefox

[es] :: Web dizajn i CSS :: Javascript: kako staviti javascript u firefox

[ Pregleda: 3765 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

timi263057

Član broj: 45947
Poruke: 241
*.adsl.net.t-com.hr.



+1 Profil

icon Javascript: kako staviti javascript u firefox26.02.2007. u 19:26 - pre 207 meseci
javascript: kako staviti javascript u kod moje stranice da kad se klikne na taj link da se u firefoxu napravi da je moja stranica home page
 
Odgovor na temu

emranonline
Emran Bajrami
Tu i tamo

Član broj: 105825
Poruke: 179
82.114.68.*



+1 Profil

icon Re: Javascript: kako staviti javascript u firefox01.03.2007. u 14:18 - pre 207 meseci
Code:

<!-- ONE STEP TO INSTALL SET HOMEPAGE LINK:

  1.  Copy the coding into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document  -->

<BODY>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// If it's Internet Explorer, use automatic link
// Be sure to change the "http://www.YourWebSiteHere.com\"
// to the URL you want them to bookmark.
if (document.all){
  document.write('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.YourWebSiteHere.com\');">');
  document.write('<font size="5" color=6699FF face=arial><B>Click Here to Make My Web Page Your Homepage</B></font></a>');
}

// If it's Netscape 6, tell user to drag link onto Home button
// Be sure to change the "http://www.YourWebSiteHere.com\"
// to the URL you want them to bookmark.
else if (document.getElementById){
  document.write('<a href="http://www.YourWebSiteHere.com">Drag this link onto your Home button to make this your Home Page.</a>');
}

// If it's Netscape 4 or lower, give instructions to set Home Page
else if (document.layers){
  document.write('<b>Make this site your home page:</b><br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.');
}

// If it's any other browser, for which I don't know the specifications of home paging, display instructions
else {
  document.write('<b>Make this site your home page:</b><br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.');
}
//  End -->
</script>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  2.11 KB -->
 
Odgovor na temu

[es] :: Web dizajn i CSS :: Javascript: kako staviti javascript u firefox

[ Pregleda: 3765 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.