Results 1 to 2 of 2

Thread: Ajax Side Panel script feature

  1. #1
    Join Date
    Jan 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Side Panel script feature

    1) Script Title: Ajax Side Panel script

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...xsidepanel.htm

    3) Describe problem: Not a problem, this is a very good script -- just a suggestion to enhance it. At the bottom of the javascript, ddajaxsidepanel.js, where you set the "openamount", it would be nice if it were responsive to the window width.
    An example would be to be able to set the openamount to 100% for a window width less than 800px and to 50% for a window width more than 800px. Making the CSS responsive for the script is easy, but I couldn't do this with the javascript.
    Thanks

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

    Default

    Thanks for the suggestion, I'll take that into consideration next time the script is updated. FYI there is the [icpde]openamount[/icode] option right now, which compares the value entered (ie: 500px) with the calculated width of the Ajax panel, and if the later is less than the former, simply open the link in the regular browser window. It's there to prevent mobile or small browser windows from launching the Ajax Panel.
    DD Admin

Similar Threads

  1. Replies: 2
    Last Post: 11-06-2014, 08:43 PM
  2. Ajax Side Panel script
    By bdhone in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 10-18-2014, 03:47 PM

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
  •