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

Thread: Help with BookFlip Slideshow

  1. #1
    Join Date
    Apr 2006
    Location
    Arkansas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with BookFlip Slideshow

    Script Name: BookFlip Slideshow
    http://www.dynamicdrive.com/dynamicindex14/bookflip.htm


    If someone could help me center this on the page, I would appreciate it. =) I've tried many things and still the slideshow will not center on the website. Thank you for your help. =)

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Apr 2006
    Location
    Arkansas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's there? =/

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Of course, sorry. There was a flood of posts in which people hadn't read the stickies. Setting margin-left to 40% on the Book element is a fairly good approximation.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Apr 2006
    Location
    Arkansas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Where exactly could I put that? I'm not real sure I see what you mean..lol.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    In your stylesheet, use:
    Code:
    #Book { margin-left: 40%; }
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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

    If you are using a DOCTYPE* (most HTML editors do so by default), this type of thing works well:

    HTML Code:
    <div id="Book" style="position:relative;width:404px;height:152px;margin:0 auto;">
    		<img src="placeholder.gif" width="404" height="152" />
    	</div>
    The above uses the existing id="Book" division's style to center the slideshow. Notice that the width and height properties of the division are set to the width and height attributes of the placeholder image. These must be calculated using the formula listed on the demo page:

    placeholder width: 2*book image width+4

    placeholder height: book image height+2
    *EXAMPLE DOCTYPE:

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    It must be the very first thing on your page before the (also shown) opening <html> or <HTML> tag. As I said, most HTML editors put one of these in automatically.
    - John
    ________________________

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

  8. #8
    Join Date
    Apr 2006
    Location
    Arkansas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm still not quite sure. I apologize. I'm conversing between you guys and the guy actually doing it..lol. If there's anyway I could send you the code we have, so you can show us how to center it? It would be greatly appreciated. =)

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

    I'd suggest having 'the guy' log on here and look at the posts. You can give him this address:

    http://www.dynamicdrive.com/forums/s...ead.php?t=9027
    (http://www.dynamicdrive.com/forums/showthread.php?t=9027)

    Or you could post a link to your page.

    Or as a last resort, post the code, put code tags:

    [code]

    code goes here

    [/code]

    around your code in messages here so that it looks like so:

    Code:
    code goes here
    - John
    ________________________

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

  10. #10
    Join Date
    Apr 2006
    Location
    Arkansas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    "The guy" is John, btw. :P

    And here's the link: http://www.chitchatterschat.com/shemmy/shemmy1.html

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
  •