Activity Stream
48,167 MEMBERS
6957 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Member

    Default [jQuery] Please help me with this code

    Hello friends,

    I have this website: http://gridporn.net
    The theme is not compatible with the screen resolution 1920x1080
    This is an issue between the carousel grid and the users screen resolution.
    The issue is the active post in the gridlist appears to the right.. not in the middle of the screen like was suppose to appear.

    Look at the screen shot below:
    http://i.imgur.com/xqgLe.jpg (ADULT CONTENT)

    Now look how must appear:
    http://i.imgur.com/1YUYc.jpg (ADULT CONTENT)

    Can someone help me fix that?

    -----------------------------------------------
    EDIT
    -----------------------------------------------

    I fixed the issue above, but not at 100% yet, now I have a different issue (smaller)

    I changed:
    PHP Code: 
    jQuery(window).resize(function() {
        
    jQuery(".caroufredsel_wrapper").css({
            
    marginLeft: (Math.ceil(jQuery(window).width() - 900 ) / 2) - 900
        
    });
    }).
    resize(); 
    To:
    PHP Code: 
    if (jQuery(window).width() ==1920){
    var 
    screen19202700;
    }else{
    var 
    screen1920900;
    }
    jQuery(window).resize(function() {
        
    jQuery(".caroufredsel_wrapper").css({
            
    marginLeft: (Math.ceil(jQuery(window).width() - screen1920 ) / 2) - 900
        
    });
    }).
    resize(); 

    The website layout now looks good using the resolution 1920x1080. Everything works fine, except one thing...

    The posts that appears in the middle are the older posts ;(
    Take a look: http://i.imgur.com/9KQoX.jpg

    Instead of appearing the last posts first...
    Take a look: http://i.imgur.com/yWX27.jpg

    Is easy to fix this little issue? :-)


    Thanks,
    Tim
    Divvy Reviewed by Divvy on . Please help me with this code Hello friends, I have this website: http://gridporn.net The theme is not compatible with the screen resolution 1920x1080 This is an issue between the carousel grid and the users screen resolution. The issue is the active post in the gridlist appears to the right.. not in the middle of the screen like was suppose to appear. Look at the screen shot below: http://i.imgur.com/xqgLe.jpg (ADULT CONTENT) Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Bump for me

  4.     
    #3
    Member
    Please, someone?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 3rd Apr 2012, 09:50 AM
  2. need help with php code
    By itmees in forum Web Development Area
    Replies: 6
    Last Post: 22nd Mar 2012, 10:01 AM
  3. Replies: 1
    Last Post: 27th Aug 2011, 01:45 PM
  4. {LF} a code
    By DeathNote in forum Web Application/Script Support
    Replies: 2
    Last Post: 23rd Oct 2010, 04:18 AM
  5. [vBulletin BB Code] Moderated Message: (Like W-BB's Staff BB Code!)
    By Ghost Dog 13 in forum Webmaster Resources
    Replies: 13
    Last Post: 26th Sep 2009, 06:19 PM

Tags for this Thread

BE SOCIAL