aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes What kind of java is this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What kind of java is this?" Watch "What kind of java is this?" New topic
Author

What kind of java is this?

Maria Molino
Greenhorn

Joined: Nov 28, 2012
Posts: 3
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

Joined: Apr 06, 2010
Posts: 4240
    
    7

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

Joined: Nov 28, 2012
Posts: 3
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

Joined: Jan 10, 2002
Posts: 60050
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 268
    
    4

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.


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18121
    
    8

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

Joined: Nov 28, 2012
Posts: 3
Thank you, I will look through the documentation.

The fashion blog is mine ;)
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18121
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What kind of java is this?
 
Similar Threads
english to gujarati translator
how to call javascript function from jsf
Dynamic marquee
posting coordinates into a tooltip?
translate from English to Hindi