Results 1 to 5 of 5

Thread: Any JavaScript or JQuery gurus here?

  1. #1
    Senior Member DBJT's Avatar
    Join Date
    Jun 2013
    Location
    Detroit, Michigan USA
    Posts
    273


    Did you find this post helpful? Yes | No

    Any JavaScript or JQuery gurus here?

    Hey Folks:

    Since there's been a couple other general programming questions posted here lately, thought I'd put this up too just in case we have any expert JavaScript/JQuery people around here.

    I've got a post up on Stack Overflow regarding an issue that I believe is in either CSS or JavaScript/JQuery. It's gotten near 100 views already, but still NO ANSWERS at all

    The issue is a "centering" quirk for a newer, fancy JQuery menu that I'm working on for our website.

    In theory it SHOULD be something really simple, but I can't make heads or tails of it, can't find where the problem lies after poking it a lot myself. Just hitting dead end.

    SO, if anyone here wants to take a stab at this, please feel free -- reply here OR on the Stack Overflow page if you'd like to get the 'points' there.

    Here's the Stack Overflow link : http://stackoverflow.com/questions/2...enu-design-css

    Thanks,

    -DBJT

    P.S. Norm, if this is too off-topic for your board, please delete thread & accept my mea-culpa...

  2. #2
    Senior Member Coyote's Avatar
    Join Date
    Dec 2011
    Location
    Midwest-Ohio Valley Area
    Posts
    404


    Did you find this post helpful? Yes | No
    Instead of using the Javascript and JQuery, why don't you just wrap you menu in a div tag and give it a fixed position? For your site I would think you can accomplish the styling easy enough with CSS.
    What do you want the menu to do for you? If you are wanting the Menu and site to be responsive to browser window size and devises then I would recommend that you use the simple menu and incorporate media queries and seperate CSS stylesheets.
    Last edited by Coyote; 12-18-2013 at 09:01 AM.
    Life is short so hit it hard!

  3. #3
    Senior Member DBJT's Avatar
    Join Date
    Jun 2013
    Location
    Detroit, Michigan USA
    Posts
    273


    Did you find this post helpful? Yes | No
    Hi Coyote... thanks for the reply.

    Unfortunately I'm more of a "User Interface Designer" than actually "programmer" so a lot of this stuff goes past me, LOL

    My "code" is mostly off the shelf stuff and cut and paste, trial and error, that I dress up all pretty-like so the site's graphics and etc all look integrated. But clearly if you pop the hood on many of my pages, View Source, it ain't too pretty under there.

    Wrapping the menu in a DIV and setting it fixed position, I get that (I did that on the home page for the casino chip graphics)... maybe I'll try it.

    But the rest of what you wrote? It's just a kind of buzzing sound to my ears, LOL

    -DBJT

    P.S. Maybe some code sample or another site doing what you're talking about would work, if I can look at it and just see directly what it is...

  4. #4
    Senior Member Coyote's Avatar
    Join Date
    Dec 2011
    Location
    Midwest-Ohio Valley Area
    Posts
    404


    Did you find this post helpful? Yes | No
    Okay, I checked out the posts on stack overflow and it sounds like you are wanting to have your static site more functional on mobile devices. Without knowing how to code HTML and CSS, you are going to have a hard time accomplishing that goal. What I'm suggesting is that you have your site appear one way to pc's and another way to tablets and yet another to smartphones. That is done through HTML and CSS code. Basically you would write some html in the head of your documents telling the browser that if the screen size is a certain width use the css style sheet for mobile deceives or if the screen is another width use the css style sheet for tablet devices. It looks like you are making things more complicated for your site with the javascript and jquery menu.

    I recommend you seek a website design professional to assist you.

    Best Regards,
    Coyote
    Life is short so hit it hard!

  5. #5
    Senior Member DBJT's Avatar
    Join Date
    Jun 2013
    Location
    Detroit, Michigan USA
    Posts
    273


    Did you find this post helpful? Yes | No
    Hi Coyote: I do know HTML and CSS (well, not *fluent* probably, but enough to get by. I've been hacking my way thru HTML since 'way back in the "tables" days, which is sometimes apparent in how kludgy my HTML is, LOL. As for CSS, I'm more or less getting it I thnk, but again mostly I just hack away until it looks "right enough" testing in 3 or 4 browsers).

    Anyway, yes, when JavaScript and these extension libraries get pulled into it, making another layer, it does make more trouble for me to sort things out. And I probably need help with that, you're right: that's why I posted the question on StackExchange

    It's not so much a problem for "mobile" (for that, I'm eventually going to implement a separate style only on our Forum -- the rest of the site looks good enough on mobile to me... for now). The problem is really only that the menu is MOVING out of position (un-centered) when the browser window is too narrow.

    It's really just a dumb cosmetic quirk and hardly affects functionality, so I shouldn't care so much. But it just annoys me, so I don't want to implement this menu improvement on the rest of the entire site until I fix this dumb quirk...

    -DBJT

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About Blackjack: The Forum

BJTF is an advantage player site based on the principles of comity. That is, civil and considerate behavior for the mutual benefit of all involved. The goal of advantage play is the legal extraction of funds from gaming establishments by gaining a mathematic advantage and developing the skills required to use that advantage. To maximize our success, it is important to understand that we are all on the same side. Personal conflicts simply get in the way of our goals.