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.
The forum of the forums
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 Wed 29 Aug - 6:54

    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 Wed 29 Aug - 7:07

    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 Wed 29 Aug - 7:11

    DarkGlow
    DarkGlow
    Forumember


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

    Solved Re: Fixing the Width

    Post by DarkGlow Wed 29 Aug - 7:19

    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 Wed 29 Aug - 7:32

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


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Fixing the Width

    Post by SLGray Wed 29 Aug - 10:02

    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.

      Current date/time is Wed 13 Nov - 17:36