Results 1 to 5 of 5

Thread: swissarmy : questions and problems

  1. #1
    Join Date
    Feb 2013
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default swissarmy : questions and problems

    1) Script Title: Swiss Army Slideshow

    2) Script URL (on DD):http://www.dynamicdrive.com/dynamici...army/index.htm

    3) Describe problem:

    Dear jscheuer1 !

    Iīm integrating your wonderfull swissarmy slideshow to my homepage. Itīs working quite well, but I have few little problems and questions.

    Iīd like to put the controllers not on top of the images but below the images. Or better to have the controllers in a <div> and able to position them whereever I like. Iīm also wondering if it would be possible to have links as controlers instead of buttons.

    I know that the topic was already discussed and I found your blog entry with the modified swiss_2.js script and your example: http://home.comcast.net/~jscheuer1/s...ss_updateb.htm
    I integrated the updated code, but I donīt know how to use it to resolve my questions. (my lack of competence)

    It will be two slideshows on the page, I named them "slide1" and "slide2". It works but it appears below the slideshow the word "undifined"
    Do you have any clue ?

    You can see it here:

    romainloeser.net/sketchbook/sketchbook.html

    If you can drop an eye on this I would be very gratefull.
    Thank you, I really appreciate your work.

    very best

    Charlotte
    Last edited by jscheuer1; 03-05-2013 at 02:21 PM. Reason: fix broken link to DD script

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,005
    Thanks
    44
    Thanked 3,204 Times in 3,166 Posts
    Blog Entries
    12

    Default

    There are at least two things about that page make it hard to manage. There's a lot of position absolute used in its layout. And the images themselves are matted (the images contain blocks of white space that shift their apparent position as seen against a white background). That's two. The fact that the styles on the page, at least some of them, are also in the stylesheet is perhaps another thing that makes dealing with the page harder than it has to be.

    That said, this looks close to what you say you're looking for:

    http://home.comcast.net/~jscheuer1/s...etchbook-h.htm

    Use your browser's "View Source" to see the code.

    Any questions, feel free to ask.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    hepatik (03-05-2013)

  4. #3
    Join Date
    Feb 2013
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Hey John,

    Thanks you so much for the quick reply, itīs exactly what I needed. Now I can design the buttons and position them in the stylesheets, thatīs great.
    Regarding the images and the white space, I pasted all images in a bigger white document so that the image size is the same for the entire slide show, but I just realize that I can set a maximal width and height with the swiss army knife, so that It wonīt be necessary anymore.

    Thank you for that great script and your help.

    very best

    Charlotte

  5. #4
    Join Date
    Feb 2013
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default background color

    Dear John, hello again,

    I wonder : is it possible to define a background color in the slideshow ?
    something like : background_color='#F6F6F6';
    I tried, but it seems I need an other term...

    once again thank you for your amazing code and help !
    best greetings

    charlotte

  6. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,005
    Thanks
    44
    Thanked 3,204 Times in 3,166 Posts
    Blog Entries
    12

    Default

    On the demo page there is a table which lists the options. The one you want is fadecolor, example:

    Code:
    slides.fadecolor='#F6F6F6';
    - John
    ________________________

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

  7. The Following User Says Thank You to jscheuer1 For This Useful Post:

    hepatik (03-06-2013)

Similar Threads

  1. Swissarmy
    By shotgun in forum JavaScript
    Replies: 1
    Last Post: 01-16-2012, 12:14 AM
  2. Swissarmy not working in IE
    By vikki3 in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 10-22-2011, 10:09 PM
  3. swissarmy script
    By emanuelle in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 05-01-2008, 06:34 AM
  4. Positioning problems with CSS/stylesheet and other questions
    By babytux in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 11-12-2007, 04:02 AM
  5. swissarmy.js
    By robincham in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-08-2007, 02:08 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
  •