z-indexing paypal mini cart

Discussion in 'HTML & Website Design' started by Rodder7, Oct 22, 2010.

  1. #1
    I'm trying to use z-indexing for this fairly short javascript and can't get it to show up over my other z-indexed objects. Any suggestions appreciated.


    https://minicart.paypal-labs.com/
     
    Rodder7, Oct 22, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In minicart.js, scroll down to the _addCSS function (line 248).
    Add z-index: 99; to the form css, or whatever value you need to place it above the other elements.

    css = '#' + name + ' form { z-index: 99; position:fixed; float:none; top:-250px; ' + ....

    Hope that works :) I haven't tested it because the page needs a shopping cart.
     
    Cash Nebula, Oct 22, 2010 IP
    Rodder7 likes this.
  3. Rodder7

    Rodder7 Active Member

    Messages:
    451
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    88
    #3
    When I started going through the js, I found it(had to go into pt job), but thanks anyways. Also added:text-align:left;
     
    Rodder7, Oct 22, 2010 IP