Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Fav links Script-© Dynamic Drive

  1. #1
    Join Date
    Jan 2009
    Posts
    25
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Fav links Script-© Dynamic Drive

    Fav links Script-© Dynamic Drive

    The above script just stopped working on our Website. Do we need to buy it, as it no longer looks to be offered here. We still would like to use one on our site.
    Zubee.com
    Thank you
    Rick

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Can you explain what the script used to do?
    Jeremy | jfein.net

  3. #3
    Join Date
    Jan 2009
    Posts
    25
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Sorry I thought by posting the name of it people might know. On the bottom left of the page, users you used to be able to add 10 links to whatever site they wished. Up to 10 personal bookmarks. It sure does not work for me on the page anymore. Zubee.com. You can edit the links, but they no longer save. It it was a dhtml script I got from here.
    Thanks
    Rick

    Quote Originally Posted by Nile View Post
    Can you explain what the script used to do?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jan 2009
    Posts
    25
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Hi,
    The credit code is in the page, that I where I got the title from the post for. I would be happy to add more, but it no longer works. I hope we can get it working again. This was the original code that was published, I had no idea you guys wanted to change some code. I would be happy to change it, as I do not wish to source another solution. It lends itself perfect to the page.
    Very happy with it.
    Thanks
    Rick



    Quote Originally Posted by jscheuer1 View Post
    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.

  6. #6
    Join Date
    Jan 2009
    Posts
    25
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Hi,
    I changed the wording to the new one,
    http://www.zubee.com/
    Hope you can help,
    Thank you
    Rick



    Quote Originally Posted by jscheuer1 View Post
    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.

  7. #7
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    There's actually no such script as "Fav Links script" on DD. Looking at the .js file on your site, it's empty as well (apart from the credit notice): http://www.zubee.com/FavlinksScript.js I'm not sure where you had gotten this script, but it isn't from DD.
    DD Admin

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by ddadmin View Post
    There's actually no such script as "Fav Links script" on DD. Looking at the .js file on your site, it's empty as well (apart from the credit notice): http://www.zubee.com/FavlinksScript.js I'm not sure where you had gotten this script, but it isn't from DD.
    @ddadmin,

    Well there actually is a script on the page with no credit, that's what I was talking about, I didn't see the linked script you mention.

    The one I see looks like it's trying to use a cookie or cookies to save the user's favorites:

    Code:
    <script language="JavaScript"><!--
    var cookiename = 'myfavoritelinks';
    var urltable= new Array();
    var urlvar= new Array();
    
    function editlinks(name,scrwidth,scrheight){ startDate= new Date(); tWin = window.open(name,
    startDate.getTime(),
    "toolbar=no,location=no,resizable=no,status=no,scrollbars=yes,menubar=no,width="+ scrwidth + "height=" + scrheight);
    }
    
    
    function link(url,text)
    {
    	this.url=url;
    	this.text=text;
    }
    
    function getcookie (cookiename) {
      var cname = cookiename + "=";
      var i = 0;
      while (i < document.cookie.length) {
        var j = i + cname.length;
        if (document.cookie.substring(i, j) == cname){
        var leng = document.cookie.indexOf (";", j);
        if (leng == -1) leng = document.cookie.length;
        return unescape(document.cookie.substring(j, leng));
        }
        i = document.cookie.indexOf(" ", i) + 1;
        if (i == 0) break;
      }
      return "*";
    }
    
    
    function getlinks()
    {
        vcookie = getcookie(cookiename);
        if (vcookie=="*")
        {
           return false
        }
        else
        {
           urlvar = vcookie.split("##");
           for (i=0; i < urlvar.length; i++)
           {
                text = urlvar[i].split("%%");
                urltable[i]= new link(text[0], text[1]);
           }
           return true;
        }
    }
    // --></script>
    Look familiar to you DD?


    @Rick777,

    Anyways, this isn't a very good strategy because client side cookies are easily lost. So many folks might save their links only to have them disappear anyway. Better in the long run not to lead them on.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Yep, it's definitely not from DD. Rick777, it looks like the issue you're having is just that the .js file is empty. You'll want to find the original file before it was emptied.
    DD Admin

  10. #10
    Join Date
    Jan 2009
    Posts
    25
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Sorry guys I fixed it I hope. I am almost certain I got it from here, I never found any other good dhtml sites, and I do not know a lot about this stuff, as I got a a lot of scripts from here like this one: http://www.dynamicdrive.com/emailriddler

    You are right cookies is not a good solution at all, but I do not know if a good soltution that uses almost no resoureces but I am open to suggests if you do not mind. I have no training for this stuff.
    Thank you
    Rick



    Quote Originally Posted by ddadmin View Post
    Yep, it's definitely not from DD. Rick777, it looks like the issue you're having is just that the .js file is empty. You'll want to find the original file before it was emptied.

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
  •