Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What kind of java is this?

 
Maria Molino
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a marquee javascript (see at: blogandthecity.net) and I have soms questions about it. However, I don't know where to put it in this forum, becuase I don't know the type of the javascript. Can someone help me in with forum part I have to be?

 
Matthew Brown
Bartender
Posts: 4567
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Maria. Welcome to the Ranch!

Java and JavaScript are completely separate languages. But we do have a forum for HTML and JavaScript, so I've moved the thread there. What's your question about it?
 
Maria Molino
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!

Did you saw the marquee at my website? I want it to be stuck at the screen. I think it is called "fixed". You know what I mean? Right now the marquee stops at a certain point, but I want it to be the size of the whole screen/website.

So I think there are two options:
1. make the marquee as long as possible (However some webpages are longer than others. And I don't know how I can make the marquee longer. I already tried some things)
2. make the position fixed. (I tried to put "position: fixed" in the code, but the result is that the marquee doesn't scroll anymore. So the movement stops. And the marquee doesn't fit the screen either..)

Do you know how I can solve this problem? If you need the css style, I will put it here too.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64829
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As we have no idea what marquee is, not sure what help we can be. You should contact the author of the library that it is from.
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This appears to be the documentation, from the examples it looks like you simply set the width of the element containing the marquee with CSS.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would also suggest you download the Javascript .js file from that site which Rob Crowther linked to, and use that download in your web site. You never know when that fashion blog you're referring to at the moment will redesign their site and stop hosting that Javascript.
 
Maria Molino
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, I will look through the documentation.

The fashion blog is mine ;)
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maria Molino wrote:The fashion blog is mine ;)


Aha. Then contrary to my assumption, the Javascript is completely under your control. Which is as it should be.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic