Scripting An Add Bookmark Link In Firefox?
May 9, 2006
I have a javascript function for creating an 'add bookmark' link on my pages. For firefox it uses window.sidebar.addPanel to add the bookmark
function addBookmark(title, url) {
if (window.sidebar) { // firefox
window.sidebar.addPanel(title, url,"");
[code]....
View 4 Replies
ADVERTISEMENT
Jun 14, 2006
At the top of www.cheatstomb.com there is a link to bookmark the page but it doesnt do anything when I press it. What I did wrong and how can I fix it?
View 2 Replies
View Related
Aug 13, 2005
I want to add a link to my site's homepage where viewers can click on a link to automatically "add to favorites" or "bookmark" the page.
Does anyone know anything about this?
View 12 Replies
View Related
Nov 23, 2011
I've searched high and low for some decent code that will allow a visitor to a website to bookmark the site through a hyperlink. The bookmarking is done through a javascript function that looks like this:
Code:
function OnBookmarkButtonClick (e)
{
if (window.sidebar)
[code]....
I need to add some detection for Opera, Safari, and Chrome. note that it must be feature detection, not browser detection. But as I said, I've searched high and low for this, and couldn't find anything.
View 3 Replies
View Related
Mar 14, 2011
We have an html page which brings in content dynmically using Ajax. So the page starts out with certain content, and when a particular link is clicked, the content is swapped out with new content. With this approach, the back button on the browser does not work, because the URL didn't actually change. How could a user bookmark the new page with the second set of content? Is this even possible?
View 2 Replies
View Related
Apr 24, 2006
I have a servlet which accepts a url as a parameter and does something with it. I need to pass the parameter via POST.
I want to write a bookmarklet which takes the URL of the current page and invokes the servlet with that URL via POST.
I tried to achieve this in many ways. But no success.
View 1 Replies
View Related
Dec 2, 2002
I have ran into some sites that must have an AUTO bookmark feature. After I visited it added a bookmark automatically. It only worked in IE 5.5 Do you know a script to do this if so where can I find a way to stop it.
View 2 Replies
View Related
Apr 28, 2009
I have a numbered image gallery which has a next and previous link which is another way of navigating through the gallery the problem i have that in IE all is fine but doesnt seem to be working in firefox, i would appreciate afew pointers,here is the code
<script type="text/javascript">
var currentImage = 1;
function LoadGallery(picNum, captionText)
[code].....
View 2 Replies
View Related
Nov 2, 2005
I load an Iframe within html page contained within another page and from the hosting page I would like to scroll to a given bookmark within the page loaded within the iframe without causing it to reload. How do I do this? I have tried:
function navIContent(bm)
{
IContent.src=bm
return
}
called by :
onclick='navIContent("../content.htm#test")'
but it doesn't seem to work!
View 3 Replies
View Related
Sep 23, 2010
I use the script below to adjust the size of the frame. It works nicely for me. The only problem is, the frame initially jumps to the bookmark, and then on the reload, jumps to the top of the page.
how to keep the frame at the bookmark in the web page, instead of jumping back up to the top??
<script>
<!--
function resize_iframe(){
if ( window.frames["MainWindow"].document.body.scrollHeight=0 )
[Code]....
View 1 Replies
View Related
Apr 24, 2007
I need a script to create a 'Bookmark this site' link. However I only found scripts that let you configure the URL that is bookmarked.
But I'd like to have one that just bookmarks the site on which the link is so I cna use the same script and link on different pages but the user could bookmark that exact page he is on.
View 2 Replies
View Related
Jul 29, 2004
I don't know if this is the right place for this, but it didn't seem to fit anywhere else!
I have the folowing test page: [index.html]
<html>
<body>
<form id="go" method="post" action="page2.html">
<a href="java script:;"* here 1</a>
<a href="java script:;"* here 2</a>
</form>
</body>
</html>
*"java script:;" should not have the space, but for some reason if you don't use the space it comes out "javascript:;"
In IE if you click the link "Click here 1", and then return to this page it will mark the link that you clicked as visited (and leave the other unvisited even tho it goes to the same place, which is nice) but if you do the same in Firefox it will not mark the link as visited, which is rather frustrating. Does any one know if it is possible to get the clicked link marked as visited in firefox?
View 2 Replies
View Related
Jul 23, 2011
I want to have a combobox with bookmark options. After you select a value from this combobox you can bookmark it with a push button. This should popup a bookmark dialog from the browser bookmark dialog.
Lets say we have 3 options in the value's. Google, Yahoo, Bing When you select Google and you push Place bookmark you should get a browser bookmark dialog with a title "Google search site". The url would be just [URL]
I also want Yahoo with the url [URL] and the bookmark title Search at Yahoo! and Bing with the url [URL] and the title Search at Bing
View 4 Replies
View Related
May 19, 2011
I'm a total novice with scripts but I've managed to get halfway with something. I want to create a bookmark that grabs the current url and adds the date to the url in the format: [URL] I've got so far: javascript:location.href=(location.href)+'/nocache='; But I can't work out how to add the date to the end, is it possible?
View 1 Replies
View Related
Mar 30, 2001
Does anyone know how sites (e.g. Sitepoint) show up with a smal iconn next to their name inmy Favourites menu (in IE)?
I'd like to do that for my site but am unsure how to go about it.
View 3 Replies
View Related
Oct 29, 2010
I have spent more than 6 hours on the issue of having angle tag link wrap around the images using jquery cycle plugin but with no avail. It works fine on IE but Firefox. Since visiting the demo [URL] doesn't work I added javascript to replicate a parent div "#slider" for the <a> but only the first image works. Here is a little idea of the layout about my code:
<html>
<head>
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.cycle.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.easing_1.3.pack.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/ui.core.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.cookie.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.scrollfollow.js"></script> .....
View 4 Replies
View Related
Oct 28, 2010
Any body knows how to close a firefox new tab window using javascript by clicking a hyper link?
View 1 Replies
View Related
Jun 1, 2009
I have a site where I'm using a home-grown social bookmarking tool. The user has an option to "Bookmark this page" to their browser.
My code works, but the problem is that when I dynamically grab the document.title, the browser (both IE and FF) tries to resolve any spaces or special characters so that when the favorite is stored in the browser, the bookmark reads:
"This%20Site%20Bookmark"
instead of:
"This Site Bookmark"
I feel like there must be a simple function to resolve spaces, but I'm coming up blank, no pun intended...:)
View 3 Replies
View Related
Sep 22, 2009
The code is just a blue table with a bookmark option. When I remove the javascript code for the bookmark the blue table disappears.
<html>
<body>
<table width="95%" align="center" cellpadding="0" cellspacing="0" bgcolor="#3399ff">
<tr bgcolor="#3399ff">
[Code]....
This is the code exactly how it was sent. I am trying to remove the bookmark option but keep the table the way it is.
View 5 Replies
View Related
Feb 28, 2011
I've got links on a website that takes the user to different parts of the same page (i.e, no reloading of the page)
I would like 2 things to happen when a link is clicked:
1) the url changes eg. from mysite.com/home to mysite.com/about when the about link is clicked.
2) when refreshing the page that it stays where it's at and not go back to the top of the page.
View 4 Replies
View Related
May 21, 2011
I need to make a script when it is clicked in bookmark it must immediately mark all the pictures on the page with border css. Code for bookmark:
Code:
Inside mark_img.js I loading jQuery to current page and also immediately mark all images with css:
Code:
When I click on the bookmark I don't see any changes. And console show me:
Code:
But if I click again on the bookmark it will be work fine and draw border for all images what I need.
Question: how to set css for images with the first click on the bookmark?
View 3 Replies
View Related
Nov 23, 2011
I've searched high and low for some decent code that will allow a visitor to a website to bookmark the site through a hyperlink. The bookmarking is done through a javascript function that looks like this:
function OnBookmarkButtonClick (e)
{
if (window.sidebar)
[code]....
View 2 Replies
View Related
Oct 19, 2011
I have the following jquery script for a link with id showHideNav on my page and I want to show/hide (toggle) 2 DIVs (#navigation and #welcomeOuterWrapperDiv) when the link is clicked:
$("#showHideNav").click(function() {
// store a cookie so we know if this link has been clicked in this session
var linkClickedCookieName = 'MoreLessLinkClicked';
if (showNav()) {
$("#showHideNav").html("More ↓");
[Code]...
View 5 Replies
View Related
Aug 13, 2009
I'm using:
<a href="javascript:jah('articles/article1.html','articles');">article 1</a>
to change the content of a div but in firefox the div jumps every time you click on a link.
View 6 Replies
View Related
Nov 19, 2007
i am very new to VB and right now given a task to delete specific folder from the folder tree. i am able to delete the folder from the first sub folders. but i have to look in every folder for that specific name of folder and delete that.
that is i have a folder Z and want to delete folder x in the folder tree after z
Z
a1
d2
f3
g4
x5
x2
e2
h3
x4
x3
x2
b1
c1
so the task is to find all the folder with name x and delete them.
View 1 Replies
View Related
Mar 30, 2006
If I have a list inside a <div> is there anyway to add another. Example:
<div name=test>
<ul>one</ul>
<ul>two</ul>
</div>
Now later on if the user clicks a button can I add:
<ul>whatever the user typed in</ul> after "<ul>two</ul>" <-- note this is not php
View 4 Replies
View Related