Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with Chris’ Anything Slider

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #29446
    jbope
    Participant

    Looks good in FF on my mac

    Looks fine in IE7 except slider buttons don’t show up (bottom left hand side of slider – round gray buttons in FF)

    Can’t figure out how to get them to show up like in FF

    Any thoughts?

    UPDATE – adding link now so you can help me without being psychic <http://s70539.gridserver.com/index.php&gt;

    Thanks

    #78453
    virtual
    Participant

    Link?? We’re not psychic around here :lol:

    #78456
    jbope
    Participant

    Oh my word. Sorry.

    Here it is <http://s70539.gridserver.com/index.php&gt;

    #78584
    virtual
    Participant

    in #thumbNav A the text-indent of -9999px is pushing the buttons off the page in IE7. I tested in IE8 and FF (Mac) and you can remove it and the buttons will show up, but they now have numbers 1 and 2 on them, so you you will need to tweak the padding for the numbers to show in the middle of the button to 0 6px.

    #78588
    jbope
    Participant

    Great! Thanks Virtual.

    Now I don’t know how to get rid of the numbers. I was using the text indent to accomplish it because I could not make it happen any other way.

    Anyone have an idea how to do this?

    #78589
    virtual
    Participant

    Remove the text numbers 1 and 2 from the a tags and realign the padding.

    #78590
    jbope
    Participant

    I am not sure how to remove the numbers. They do not appear to be in the HTML tags.

    I think they are being generated by jquery. Unfortunately, I have not learned jquery yet.

    I am including the code.

    Code:
    // Creates the numbered navigation links
    base.buildNavigation = function(){
    base.$nav = $(“

    “).appendTo(base.$el);
    base.$items.each(function(i,el){
    var index = i + 1;
    var $a = $(““);

    // If a formatter function is present, use it
    if( typeof(base.options.navigationFormatter) == “function”){
    $a.html(base.options.navigationFormatter(index, $(this)));
    } else {
    $a.text(index);
    }
    $a.click(function(e){
    base.gotoPage(index);

    if (base.options.hashTags)
    base.setHash(‘panel-‘ + index);

    e.preventDefault();
    });
    base.$nav.append($a);
    });
    base.$navLinks = base.$nav.find(‘> a’);
    };

    #78592
    virtual
    Participant

    It is definitely being generated by the js code, but unfortunately I don’t know how to remove it. I suggest you take the "Generates numbered links" portion of the code to the Javascript forum, and tell them you want to remove the numbers not the links, they’ll be able to help you out.

    #78608
    jbope
    Participant

    Thanks so much virtual.

    #78623
    Jerm993
    Member

    The lines your looking for, I think not too great at jquery, Are these: starting at line 160

    Code:
    // Creates the numbered navigation links
    base.buildNavigation = function(){
    base.$nav = $(“

    “).appendTo(base.$el);
    base.$items.each(function(i,el){
    var index = i + 1;
    var $a = $(““);

    not sure but i would try changing something in the fifth line, might try removing the +1, again im not strong in jquery so remember what it was like before to put it back^^

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘CSS’ is closed to new topics and replies.