Print Page | Close Window

MOD: Bookmarks - Favoritos

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=19511
Printed Date: 28 March 2026 at 9:23am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: MOD: Bookmarks - Favoritos
Posted By: blitzbr
Subject: MOD: Bookmarks - Favoritos
Date Posted: 24 April 2006 at 3:29am
I Add a link to Bookmark in my "default.asp".
Eu adicionei um link para os favoritos em meu Fórum, no arquivo "Default.asp".

this is a simple MOD, but its useful and this code can be included in other parts of page. ok?

see:

Piece of coder:
trecho do código:


'If this is not the first time the user has visted the site display the last visit time and date
If IsDate(Request.Cookies(strCookieName)("LV")) Then
    If dtmLastVisitDate < CDate(Request.Cookies(strCookieName)("LV")) Then
           Response.Write(strTxtYouLastVisitedOn & " " & DateFormat(dtmLastVisitDate) & " " & strTxtAt & " " & TimeFormat(dtmLastVisitDate))
    End If
End If

Later

%>
<br>
<script language="JavaScript">
<!-- Start - Inicio
var url_site="http://www.website.com"
var titulo_site="Website title"
function adiciona_bookmark(){if (document.all)window.external.AddFavorite(url_site,titulo_site)}

if (document.all) { //browser= Internet Explorer - se for o internet explorer
document.write('<a href="javascript:adiciona_bookmark()">Link here. Ex: Add Book marks</a>');
}

else { // other Browser then. se for outro navegador
document.write(" Msg here!. CTRL+D to add bookmarks!!!");
}
// End - fim -->
</script>
<%

Use Style Sheet to modify the link or message.
Use Folha de Estilo CSS para modificar o link ou a mensagem.




sorry, i don't speak english.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net