Trying to get JavaScript to work

There are 6 replies in this Thread. The last Post () by Gust.

  • Howdy people


    As of yesterday I've been trying to make a basic site for my band and I had this plan for the navigation frame where the buttons would slightly change when you mouse over them. I didn't know any other way to get that effect but by JavaScript and I have almost no experience with that, so I looked up the script for this effect. It seemed like there was alot of useless stuff in there, but since I wanted to be sure, I just copied the whole thing and editted the names and stuff. When I opened it in my browser it was still the same. So if anyone knows another way to get the same effect or could check the code for any possible flaws, that would be much appreciated :]
    Btw, there are some dutch thingies in there, but that shouldnt be a bother I guess.


    Grtz and thanks in advance


    EDIT: darn, I can't post the code as the forum realizes it, any suggestions?

    <A href="http://www.imvu.com/catalog/web_landing.php?p=power&userId=6355482" target="_blank">IMVU - The World's Greatest 3D Chat</A>
    It's just a job, not who we are.
    WE decide who we are.
    <a href="http://www.cerebral-music.com" target="_blank"><img src="http://img341.imageshack.us/img341/6817/cerebral3ag9.png" border="0" alt="Cerebral Logo" /></a>
    There is no good nor is there evil. Just sides holding different point of views.
    Who are we to judge?
    <a href="http://profile.xfire.com/9gust9" target="_blank"><img src="http://xfiresigs.com/Gust.png" border="0"></a>
    It's a weak mind that can only think of one way to do a job.

  • but u know that some browsers have probs with java?

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • yea, that's why I asked for an alternative, but since firefox and IE both refuse to display it, I figured it could well be a mistake I made. And yes, I've set JS settings in my browsers. :] Since it has this tester thingy in it, JS should disable itself if the browser doesn't support it.
    I'm just want to get this work for 2 reasons, band site's are supposed to be overkill :P and I'm curious as of how it works, I always am :rolleyes:


    Grtz


    EDIT: well, I got it to work, just forgot one silly thingy. ^^
    Anyways, as OP and many others said to me, JS isn't the way to go, so if anyone knows an alternative, it is very welcome. :]

    <A href="http://www.imvu.com/catalog/web_landing.php?p=power&userId=6355482" target="_blank">IMVU - The World's Greatest 3D Chat</A>
    It's just a job, not who we are.
    WE decide who we are.
    <a href="http://www.cerebral-music.com" target="_blank"><img src="http://img341.imageshack.us/img341/6817/cerebral3ag9.png" border="0" alt="Cerebral Logo" /></a>
    There is no good nor is there evil. Just sides holding different point of views.
    Who are we to judge?
    <a href="http://profile.xfire.com/9gust9" target="_blank"><img src="http://xfiresigs.com/Gust.png" border="0"></a>
    It's a weak mind that can only think of one way to do a job.

  • flash -> some browsers dont support it either (only when you download the plugins - on the other side IE wouldnt support it if their wouldnt be a plugin for it)


    dhtml -> hmm, not sure if this would work but there is chance that it does, but again some browsers have problems



    all i can say is that if its not clean htlm code you might run into probs or you could say "fuck it - you guys have to use a working browser instead of what you use now"

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • hmm, I dont really feel like flashing now, and I have no idea what dhtml is, so I'll just leave it like this. It has a tester, so there won't be a error if Js is not compatible.
    I just bumped into some other stuff that I might need help with, so I'll just edit them in once I pinpoint them :]


    Grtz

    <A href="http://www.imvu.com/catalog/web_landing.php?p=power&userId=6355482" target="_blank">IMVU - The World's Greatest 3D Chat</A>
    It's just a job, not who we are.
    WE decide who we are.
    <a href="http://www.cerebral-music.com" target="_blank"><img src="http://img341.imageshack.us/img341/6817/cerebral3ag9.png" border="0" alt="Cerebral Logo" /></a>
    There is no good nor is there evil. Just sides holding different point of views.
    Who are we to judge?
    <a href="http://profile.xfire.com/9gust9" target="_blank"><img src="http://xfiresigs.com/Gust.png" border="0"></a>
    It's a weak mind that can only think of one way to do a job.

  • ok, I have 2 things I can use help with at the moment. One should be fairly simple to solve and is probably a simple mistake I can't find, but the second could be interesting so here they come:


    1. I built this site as I would build it for IE and I was testing it with Firefox, but when I tested it with IE one time, one of the frames simply refused to load. So if someone recognises this prb, I can send the code and let you look at it.


    2. I want to make a scrollbar that doesnt show up on the side, but only consists of two arrow at the bottom and top of the page. I don't think I can do this in flash as I still want it to be able to be scrollable with a mousewheel. Reason I want this: it's in the middle frame and it looks really ugly if I use a standard scrollbar


    Grtz, and thanks in advance again


    EDIT: I found a mouseover scroll dohicky and I guess it's good enough for now, but the thing is, it's clickable and if you click it, the browser kind of freaks out, so I was wondering if anyone knew something to prevent that. Here's a links to the script: http://www.dynamicdrive.com/dynamicindex2/pagescroller.htm


    Ow, and one other thingy, is there a way to get text at the bottom of your page, without using tables. And by bottom I mean the bottom of every screen, with any resolution.


    You can understand, I'm really new at this agian ^^

    <A href="http://www.imvu.com/catalog/web_landing.php?p=power&userId=6355482" target="_blank">IMVU - The World's Greatest 3D Chat</A>
    It's just a job, not who we are.
    WE decide who we are.
    <a href="http://www.cerebral-music.com" target="_blank"><img src="http://img341.imageshack.us/img341/6817/cerebral3ag9.png" border="0" alt="Cerebral Logo" /></a>
    There is no good nor is there evil. Just sides holding different point of views.
    Who are we to judge?
    <a href="http://profile.xfire.com/9gust9" target="_blank"><img src="http://xfiresigs.com/Gust.png" border="0"></a>
    It's a weak mind that can only think of one way to do a job.