Results 1 to 5 of 5

Thread: DD Full Screen Slider source

  1. #1
    Join Date
    Jan 2017
    Location
    Reading, Berkshire, England
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry DD Full Screen Slider source

    Hi all,

    I am building a linear website using your Full Screen Slider and I'm trying to learn from the HTML, the CSS and the JS as I go aongl. Of the four files to be downloaded I've managed to get the HTML one in a structured form, so I can see the markup properly, but the CSS file and the two JS files have lost all the structure and are just the usual rows and rows of characters. I can just about work out enough to be able to change a few parameters but it would help my learning enormously if I could see the source in a structured way.

    Can you suggest a way I might do this?

    Many thanks in advance.

    Neil

  2. #2
    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

    The full source code is available for all DD scripts. Most of it's quite readable, well commented and well formatted. If you mean this script:

    http://www.dynamicdrive.com/dynamici...nsliderdoc.htm

    All of the code is available on that page for download. Right click one at a time on each of the names of the files and choose 'save as'*. These files can then be opened in a plain text editor like NotePad, but for syntax highlighting and other features I recommend a code editor like NotePad++ (free), there are many others - free ones and low cost ones. I like EditPad.

    The mousewheel javascript doesn't need any editing and is a third party free script for facilitating mousewheel detection. It's minified, which means it's faster to download for your users, yet also very hard to read. You can get the details and a well formatted copy of that code here if you like:

    https://github.com/jquery/jquery-mousewheel

    *on some browsers/platforms the method for saving a file is slightly different. "Save linked content as", for example, is sometimes the option you want to choose.
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2017
    Location
    Reading, Berkshire, England
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks very much for your reply, John, and yes, indeed, that is the script.

    It fact I've tried this with NotePad and I just get long strings of text. (It works, of course, but I can't read it.) I don't have NotePad++ on the platform I'm on at the moment, but I will tomorrow so I'll give it a try.

    Thanks again and best wishes,

    Neil

  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

    With almost any browser other than one by Microsoft, you should be able to directly click on the javascript link and see it as formatted text and then just cut it and paste.

    If you're still having problems let me know what sort of computer (desktop/laptop or mobile) and what OS and browser you're using.
    - John
    ________________________

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

  5. #5
    Join Date
    Jan 2017
    Location
    Reading, Berkshire, England
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    Many thanks again - readable source achieved, partly by not using IE and partly by opening in NotePad++. I suspect I shall be back!

    Best wishes, Neil

    P. S. How do I set a thread to "Resolved"?

Similar Threads

  1. full-screen option
    By auntnini in forum JavaScript
    Replies: 3
    Last Post: 05-15-2014, 02:22 AM
  2. full screen background
    By stevedc in forum CSS
    Replies: 4
    Last Post: 10-24-2008, 03:07 PM
  3. Full-Screen Pop-Up.
    By Moglizorz in forum HTML
    Replies: 5
    Last Post: 04-22-2007, 01:52 AM
  4. Onresize and full screen
    By hsantos in forum Looking for such a script or service
    Replies: 1
    Last Post: 02-25-2007, 03:07 AM
  5. go to full screen on load
    By jpozzi in forum JavaScript
    Replies: 1
    Last Post: 03-24-2005, 11:44 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
  •