Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: beginner and need simple help. please!

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default beginner and need simple help. please!

    Hi,
    I have created a Java news ticker using the Javascript News Ticker program, where I specified the width and height of the ticker.

    when I put the ticker on my website, using MS Expression, the ticker expands to show all the news enteries rather than stick to the previously specified height.

    currently the code I have is:
    <div id="news_ticker"></div>
    <script language="javascript" src="newsticker.js"></script>

    how can I make it stick to the height and width I want? what should I add?

    I'm new in this, so please explain in simpley english and in as much details as possible.

    THANKS


  2. #2
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    661
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: beginner and need simple help. please!

    As this is JavaScript not Java, for most people it will not be a simple as your title may make out .
    As far I'm aware, It's completely acceptable for you to ask JS questions here, but I'm just here to say might be waiting a fair amount of time for a reply.

    -Good luck.

  3. #3
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: beginner and need simple help. please!

    As newbie suggested, this forum is mostly for discussing Java, which is different from Javascript. While the two share some similarities, they are quite different.

    I would suggest posting your question on one of these forums, they'll be more capable at helping you with your problem.

    JavaScript Development Forums
    JavaScript programming - CodingForums.com

    From the looks of what you're asking, it looks like any HTML forum might also be able to help you as well.

    HTML - WebDeveloper.com
    HTML Forum

    Note: I am not a member of any of these forums so I have no idea how they operate, though I would suspect they would be something similar to this forum (except for Javascript/HTML instead of Java).

  4. #4
    Junior Member
    Join Date
    Dec 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: beginner and need simple help. please!

    heyy, ive never been the best at javascript but, make a div class set name use id then do height: 200px; width: 1015px; ? would that help

    Sammy (: x

Similar Threads

  1. Java Beginner Here!
    By j3nn42o in forum The Cafe
    Replies: 10
    Last Post: January 10th, 2011, 04:57 AM
  2. urgent simple help for a very simple program
    By albukhari87 in forum Java Applets
    Replies: 4
    Last Post: June 5th, 2010, 03:43 PM
  3. Beginner needs help with simple java assignment.
    By joachim89 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: January 6th, 2010, 07:53 PM
  4. not so simple, simple swing question box
    By wolfgar in forum AWT / Java Swing
    Replies: 2
    Last Post: November 20th, 2009, 03:47 AM
  5. I need a help ! i am beginner
    By yinky in forum Java Theory & Questions
    Replies: 3
    Last Post: September 30th, 2009, 07:22 AM