lets say I have a website...the first "Index.html" page consists only of sponsors and links exchange and at the bottom of the page is a link to the galleries page...is there a way that when a user tries to bookmark the gallery page he actually bookmarks the index.html (links) page...sorry for my english, I hope ya'll understand what I'm tryin' to say...bye
bookmark question
Collapse
X
-
Just place this code into the link you want them to click to bookmark and replace the url with the page you want to be bookmarked when they click it - That way you can direct all your bookmarkers to the page you desire...
javascript:window.external.AddFavorite('http://www.bookmarked.com/url/index.html', 'Site Description');
Best Of Luck
Comment
-
Shannon, i think what we were getting at was if someone uses the menu, not a link on your page, to create the bookmark.
Sorry if we weren't talking about that!! and thanks for reply!!
Anyone know how to manipulate the IE or netscape menus (to bookmark the main page when the surfer's in the gallery)???
------------------
HQComment
-
I found the script that allows to access the website only from the url specified in the script...it works also if a user tries to access it from the Favorites menu in IE..here it is...
< !-- ONE STEP TO INSTALL MUST VISIT FROM....:
1. Copy the coding into the HEAD of your HTML document -->
< !-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
< !-- This script and many more are available free online at -->
< !-- The JavaScript Source!! http://javascript.internet.com -->
< !-- Begin
var requiredfrom = "index.html"; // required prev. page
if (document.referrer.indexOf(requiredfrom) == -1) {
alert("You must come to this page from " + requiredfrom);
window.location=requiredfrom;
}
// End -->
</script>
<center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center>
< !-- Script Size: 0.62 KB -->Comment
-
link to the page you found it on...
------------------
Addison Brock III
webmaster at MyGirlz.com
traffic trade?Comment
-
-
well, if you use the code tag for this ubb, you can post pure script without anything being converted. I am pretty sure it does...It works as the pre-formatted text tags. Or you can just view the source of this page It'll show everything.
ok, testing.........
*added* guess not *added*Code:<html> <head> <title>BLAH</title> </head> <body> hi </body> </html>
------------------
Sometimes you just don't get it.
[This message has been edited by Poizon (edited 02-15-2001).]Poizon
ICQ-84284401--I'm currentlyComment

Comment