Results 1 to 5 of 5

Thread: Add to Favorites Script for Mobile Site

  1. #1
    Mobility Member NailYener's Avatar
    Join Date
    Apr 2011
    Location
    Turkey
    Posts
    59

    Default Add to Favorites Script for Mobile Site

    Hi,

    I searched the forum and couldn't find such a script. I want to add a button on my mobile site, so that my visitors can bookmark it. Any ideas on this?

  2. #2
    Senior Member noonoo1's Avatar
    Join Date
    Jul 2007
    Location
    Wales, UK
    Posts
    3,261

    Default

    There is a bookmark script floating around here somewhere .

  3. #3
    Mobility Regular morse's Avatar
    Join Date
    Apr 2009
    Location
    Mumbai, India
    Posts
    579

    Default

    if you want a java bookmark, you can try
    http://ownmidlet.com/
    I have created
    DarkWap BookMark through it.
    Works great on phones which support Java MIDP 2
    This is an app-bookmark btw.
    More details at below link:
    Free java bookmark launcher create and download for mobile website

  4. #4
    Mobility Member NailYener's Avatar
    Join Date
    Apr 2011
    Location
    Turkey
    Posts
    59

    Default

    I found the following script:

    Code:
    <script type="text/javascript">
    		function bookmarksite(title,url){
    			if (window.sidebar)
    				window.sidebar.addPanel(title, url, "");
    			else if(window.opera && window.print){
    				var elem = document.createElement('a');
    				elem.setAttribute('href',url);
    				elem.setAttribute('title',title);
    				elem.setAttribute('rel','sidebar');
    				elem.click();
    			}
    			else if(document.all)
    				window.external.AddFavorite(url, title);
    		}
    	</script> -->
    
    <a href="javascript:bookmarksite('Name of the Site', 'URL of the site')">
    It works on IE and Firefox, but not on Chrome. Also I cannot test on a mobile phone at the moment...

    Do you have any idea if desktop Safari works similar to mobile Safari?

  5. #5
    Mobility Regular morse's Avatar
    Join Date
    Apr 2009
    Location
    Mumbai, India
    Posts
    579

    Default

    The code that you have put up may never work with mobile phone browsers. The may work for pc browsers like firefox and opera.
    You can check safari bookmarklets at
    http://tinyurl.com/37w46j
    (had to use a tinyurl as the page has word in it which is blocked by the forum here)

Similar Threads

  1. Replies: 0
    Last Post: 02-21-2010, 10:05 AM
  2. Script to share your site by sms
    By mission in forum Mobile Web Design
    Replies: 4
    Last Post: 08-11-2009, 06:45 PM
  3. Detect Mobile Vistors to Your Site With This Free Script
    By Scavenger in forum Mobile Industry News
    Replies: 0
    Last Post: 06-04-2009, 08:20 PM
  4. FREE SCRIPT OF THE DAY - September 15, 2007 - Mobile Search/Directory Script
    By mykel241 in forum .mobi's For Sale - Offers Wanted
    Replies: 2
    Last Post: 09-16-2007, 06:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
A Yup.mobi Mobile Site
Mobile Dating