SMF For Free Support Forum
Signup For Free Forum
October 06, 2008, 05:41:49 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Code] Set As Homepage  (Read 570 times)
0 Members and 1 Guest are viewing this topic.
valhalla95
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« on: June 09, 2008, 08:55:00 pm »

This code is for a link thing, that when people click on it, there will be a popup asking do you want to add +YOURSITE+ as your homepage

originally from Javascript Codes .   http://javascriptfreecode.com/1.htm

Code:
<!-- This Script is from http://javascriptfreecode.com/1.htm edited by: Valhalla95 -->
 
<A class=chlnk
            style="CURSOR: hand; font-decoration: underline"
            onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.YOUR SITE');"
            href="\">set as your home page</A><br><font face="Tahoma">
           
           
<font face="Tahoma"><a target="_blank" href="http://www.YOUR SITE/"><span style="font-size: 8pt; text-decoration: none">YOUR FIRST TEXT LINK</span></a></font>

<font face="Tahoma"><a target="_blank" href="http://www.YOUR SITE/"><span style="font-size: 8pt; text-decoration: none">YOUR 2ND TEXT LINK</span></a></font>

YOUR SITE=your sites url
YOUR TEXT LINK 1&2= we you want


edited to give credit to http://javascriptfreecode.com/1.htm  - sibyl
« Last Edit: June 12, 2008, 05:28:53 pm by simply sibyl » Logged

mod drask182
SMF For Free Member
*
Offline Offline

Posts: 66


View Profile
« Reply #1 on: June 11, 2008, 06:30:40 pm »

put them on header or footer?
Logged

Download Anti-Virus
Protect From Virus Kills
valhalla95
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #2 on: June 12, 2008, 12:13:49 am »

put them on header or footer?
Doesnt matter
Logged

Shimmy Shabby
SMF For Free Member
*
Offline Offline

Posts: 91


Shimmy + Shabby = Me


View Profile WWW
« Reply #3 on: June 12, 2008, 05:15:09 pm »

If you put it in headers, it will be displayed at the top. If you put it in footers, it will be displayed at the bottom.
« Last Edit: June 12, 2008, 05:26:22 pm by fallenmonkscape » Logged

valhalla95
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #4 on: June 13, 2008, 12:51:17 am »

If you put it in headers, it will be displayed at the top. If you put it in footers, it will be displayed at the bottom.
Thanks,
Credit
Logged

Lucas A33
SMF For Free Full Member
*
Offline Offline

Posts: 133


View Profile
« Reply #5 on: June 13, 2008, 01:06:04 am »

what do you mean by text link 1,2
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 8391



View Profile WWW
« Reply #6 on: June 13, 2008, 08:58:46 am »

what do you mean by text link 1,2

This part of the code:

Code:
<font face="Tahoma"><a target="_blank" href="http://www.YOUR SITE/"><span style="font-size: 8pt; text-decoration: none">YOUR FIRST TEXT LINK</span></a></font>

<font face="Tahoma"><a target="_blank" href="http://www.YOUR SITE/"><span style="font-size: 8pt; text-decoration: none">YOUR 2ND TEXT LINK</span></a></font>

It just adds two links that people can click on to go to other sites
Logged

Supernovadelta
SMF For Free Full Member
*
Offline Offline

Posts: 106


Supernovadelta Productions.


View Profile WWW
« Reply #7 on: June 16, 2008, 01:37:16 am »

Thanks alot for this,i love using java programing.
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.222 seconds with 16 queries.