Fixing the Width Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Fixing the Width

    Asriel
    Asriel
    Forumember


    Male Posts : 585
    Reputation : 32
    Language : English, Russian, Ukrainian
    Location : St. Somewhere

    Solved Fixing the Width

    Post by Asriel August 29th 2012, 8:54 am

    So i got this window slider to work, but now I want to shrink the width of it, because its too big. I tried to do it in CSS, because that's where I thought it'd be. But I am not having any luck. ANyone has any ideas where I can find the width of this slider. Please help.

    www.worldofmutants.forumotion.com
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Fixing the Width

    Post by DarkGlow August 29th 2012, 9:07 am

    Show me all of the codes you used for that slider and/or the tutorial you got it from, please.


    Thanks.
    Asriel
    Asriel
    Forumember


    Male Posts : 585
    Reputation : 32
    Language : English, Russian, Ukrainian
    Location : St. Somewhere

    Solved Re: Fixing the Width

    Post by Asriel August 29th 2012, 9:11 am

    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Fixing the Width

    Post by DarkGlow August 29th 2012, 9:19 am

    Hi,

    Ok, I could see this is quite simple.

    Go to the first code, first page of JavaScript (in tutorial). You'll notice stuff like this:

    Code:
    $.fn.liteAccordion = function(options) {
                   
              // defaults
              var defaults = {
                containerWidth : 960,
                containerHeight : 320,
                headerWidth : 48,

    You can simply change 960 and 320 to whatever you want. Do not forget to save it, though. Also, the dollar ($) might not function at some points, and changes to another weird looking icon; therefore you have to re-save few times. You can check if it worked by going back to the modify icon (options page) of the JavaScript.

    After doing so; don't forget to save your images you got in your CSS on desktop or elsewhere and reupload them in the proper size you've chosen for the slider (width and height).

    Good luck.
    Asriel
    Asriel
    Forumember


    Male Posts : 585
    Reputation : 32
    Language : English, Russian, Ukrainian
    Location : St. Somewhere

    Solved Re: Fixing the Width

    Post by Asriel August 29th 2012, 9:32 am

    Thank you very much. It worked!!! Complete.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Fixing the Width

    Post by SLGray August 29th 2012, 12:02 pm

    Asriel wrote:Thank you very much. It worked!!! Complete.

    Topic Solved & Locked



    Fixing the Width Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.