|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Jun 2005
Location: concrete jungle
Posts: 3,489
|
bookmark code for ie and firefox
whos got me a bookmark code that works in ie and firefox? thanks
__________________
Reliable web host that actually cares, tell em geedub sent ya. Vacares |
|
|
|
|
|
#2 |
|
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
Code:
<script type="text/javascript">
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>
Code:
<a href="javascript:bookmarksite('Page Name', 'http://www.yoururl.com')">
|
|
|
|
|
|
#4 |
|
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
no problem dawg
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Nov 2007
Posts: 478
|
Boobmark fucking rocks. Sending me tons of FREE traffic! Thanks, guys!
__________________
"Gonna scare you up and shoot you Cause Mister Charlie told me so"
|
|
|
|
|
|
#6 |
|
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Dec 2006
Posts: 2,825
|
|
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Oct 2005
Location: Boston
Posts: 929
|
does that put it in the sidebar in firefox?
|
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: Aug 2003
Location: Hoy Suecia, mañana Nirvana
Posts: 1,594
|
bashbug:
Yes it does, which is actually the only way in Firefox (done that way to protect users)... UNLESS You code up a script to do an "artificial click", I've seen it done but can't guide on that. Anyways, it should be sufficient since it'll still appear in FF's normal bookmarks as well - I think... lol
__________________
|
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Nov 2007
Posts: 478
|
__________________
"Gonna scare you up and shoot you Cause Mister Charlie told me so"
|
|
|
|
|
|
#11 |
|
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
Nice... nothing that no script can't handle.
__________________
i like waffles |
|
|
|
|
|
#12 | |
|
Confirmed User
Join Date: Nov 2006
Location: ...
Posts: 1,214
|
Quote:
__________________
Web Developer |
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Oct 2005
Location: Boston
Posts: 929
|
Ya always wondered if that was the only way
|
|
|
|