Check Out Our Shop
Results 1 to 9 of 9

Thread: Web Dev Nerds: Random layer position in Mozilla?

  1. #1
    Join Date
    Aug 2005
    Location
    MT
    Posts
    1,192

    Web Dev Nerds: Random layer position in Mozilla?

    Anyone have any code I can lift that will make a layer randomly position itself around a screen (in a "screensaver" type fashion)? I need to move an image around the screen randomly as a screensaver for a large plasma screen. All resources I've found work great in IE and Netscape, but don't seem to work in Mozilla/Firefox (OS we are restricted to using).

    This whole DHTML thang is pretty new to me and my javascript know-how extends are far as the copy-and-paste button.

    Hoping someone can shed some light on this for me...I've hunted far and wide and the few solutions I've found don't seem to work for my environment.

    Many thanks in advice for any insight.

  2. #2
    Join Date
    Aug 2005
    Location
    MT
    Posts
    1,192
    Anyone?

    I promise I'd trade for naked pics of the sis if I had one.

  3. #3
    Join Date
    Feb 2004
    Location
    w. vancouver
    Posts
    221
    If your script is working in a newer version of Netscape then it should work fine in Firefox as well seeing as they're both based on Mozilla. What versions are you testing with?
    Maybe try loosening up Firefox's security settings.
    Does this HAVE to be browser based?
    Have you considered Flash?
    I'm sick of following my dreams. I'm just gonna ask them where they're goin' and hook up with 'em later.

  4. #4
    Join Date
    Oct 2004
    Location
    Boulder, CO
    Posts
    2,270
    Do it in Flash and you will not have to worry about differences in Browsers.

    p.s. Mozilla/Firefox is not an OS, it's a web browser. Windows, OS X, Linux, Solaris, etc are Operating Systems.

  5. #5
    Join Date
    Aug 2005
    Location
    MT
    Posts
    1,192
    I hadn't even considered Flash. Pretty damn easy to use Actionscript to randomly move the image.
    My bad on the OS reference...what I meant to say is that the OS and special environment were are using is restricting us to using Mozilla. We are implementing an interactive touchscreen directory on a TV that would serve much better purposes a wall for watching football that hanging in the lobby of a school of education. needless to say, it's been a fun project.

    Thanks again for the thoughts.

  6. #6
    Join Date
    Apr 2002
    Location
    431C8AAB4
    Posts
    1,620
    Quote Originally Posted by Lurch
    Do it in Flash and you will not have to worry about differences in Browsers.
    Flash is evil. I hate it with every ounce of my being.

    (Well, not flash used for stuff like this, flash used for making documents that are difficult to read.)

    Sorry for the random venting.

  7. #7
    Join Date
    Oct 2004
    Location
    Boulder, CO
    Posts
    2,270
    Quote Originally Posted by backpack
    Flash is evil. I hate it with every ounce of my being.

    (Well, not flash used for stuff like this, flash used for making documents that are difficult to read.)

    Sorry for the random venting.

    You are really going to hate this then. http://www.mikeindustries.com/blog/archive/2004/08/sifr

  8. #8
    Join Date
    Apr 2002
    Location
    431C8AAB4
    Posts
    1,620
    Quote Originally Posted by Lurch
    You are really going to hate this then. http://www.mikeindustries.com/blog/archive/2004/08/sifr
    Yea, I hate it because it's yet another example of someone trying to make the web fit into a print model of content layout. If it absolutely must look like a print version, just make it into a fucking PDF.

    I love this comment: "I don’t expect a lot of people are toggling between text zoom settings dynamically for every page they visit." I'm one of those people, because I use tabs and the new tab won't reflect the text size I want until I apply it, or I may not have increased the text size beforehand because the current page is readable, etc.

    That site also looks like crap because it has a central fixed-width column. Idiots.

    Ugh.

  9. #9
    Join Date
    Aug 2005
    Location
    MT
    Posts
    1,192
    Quote Originally Posted by backpack
    Yea, I hate it because it's yet another example of someone trying to make the web fit into a print model of content layout.
    Couldn't agree more here. Some things were meant to just stay in the print model.

    One of my biggest pet peeves that I encournter during web development: "It looks good, but when I print the page out, it gets all messed up."

    C'mon...are you kidding me????

Posting Permissions

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