TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 09:14:24 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,175
  • Total Topics: 21,220
  • Online today: 177
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

Add to favorites / Set as Homepage Block

Started by Gargoyle, March 05, 2006, 12:25:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZarPrime

Quote from: akulion on September 11, 2006, 08:09:41 AM
sure feel free to copy the image

as for the top posters thingie you see....thats called Poster Cloud, just check in the Block Code Snippets Index (on this site) and you will find it listed...easy to install and use :)

Ah, great, thanks.  :up: I'll check it out.  ;)

ZarPrime

Porky

#21
what type of box due you put them in now that java and html boxes are split up?
I am retarded I should read first....Don't yell at me G6

exodia

am using the following code but the homepage button isnt working in firefox.can someone help me.
<center>
<Script>
function ssbookmark(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

</script>
<a href="javascript:ssbookmark('ltlforum.net', 'http://www.ltlforum.net')"><b><img src="Themes/images/b32.gif"/> Favorites</b></a>
<br><br>
<SCRIPT LANGUAGE="JavaScript">
if (document.all){
  document.write('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.ltlforum.net\');">');
  document.write('<B><img src="Themes/images/b34.gif"/> Homepage</B></a>');
}

// If it's Netscape 6, tell user to drag link onto Home button
else if (document.getElementById){
  document.write('<a href="http://www.ltlforum.net"><b><img src="Themes/images/b34.gif"/> Home Page</b></a>');
}

// If it's Netscape 4 or lower, give instructions to set Home Page
else if (document.layers){
  document.write('<b><img src="Themes/images/b34.gif"/> 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><img src="Themes/images/b34.gif"/> 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></center>

copter

Hi!

I get a problem in FF too, but anyway here is my code:




Javascript/Html Block

Bookmark Us

<b><img hspace="3" src="http://img315.imageshack.us/img315/8533/favsnx2.png" align="absMiddle" vspace="3" width="16" height="16">   
<a href="javascript:window.external.AddFavorite('url','sitename');">Bookmark Site</a><br>
<img hspace="3" src="http://img428.imageshack.us/img428/4397/pagenv5.png" align="absMiddle" vspace="3" width="16" height="16">   
<a href="javascript:window.external.AddFavorite(location.href,document.title);">Bookmark Page</a><br>
<img hspace="3" src="http://img428.imageshack.us/img428/2893/homeiu6.png" align="absMiddle" vspace="3" width="16" height="16">   
<a href onclick="javascript:this.style.behavior='url(#default#homepage)';this.setHomePage('url') ;">Make Homepage</a></b>


Yup you'll need to edit the url to your forums url and also edit ur site name, im not sure if it'll work - but it shud do. if not ul have to mess around with it.

akulion

yea the functions in each browser are different for bookmarking
so causes a conflict

falguni1

I sill cant get how to make this your homepage

I have the bookmark code

I want the homepage code, the homepage code here doesnot work, it only opens the site, doesnot make it your homepage.