ok i’ll be the first to admit it.. i’m new at javascript.. quite new. so i know little but from what i’ve read i think my problem is b/c i have 2 onload functions in my coding. so can anyone of you help me out with what i am trying to do.
Basically its going to be my company’s new site and i have a drop down menu and a news script going at the same time but if i have the menu working the news wont work..
i’m not going to put the coding in here yet. b/c it has the old drop down menu which is not being used (which btw does not conflict with the news ticker)
so if any of you are willing to help me out please let me know and i will fix up the coding so you can look at it.. thanx a lot
dave
<i>
</i><body onload="function1(); function2()">
[i]Originally posted by theunknwnbstrd [/i]
[B]your seeing news scrolling? that is wierd. i'm using IE. i might have to try mozilla to see this.. [/B][/QUOTE]
Yes, I'd suggest Mozilla Firefox. Browse happy and everything will work.[/quote]
thats not what i learned.. but i havent been formally taught to do webdesign.. its all self taught. but i have learned that tables work great for layout..[/quote]
<i>
</i>function start(){
if (document.all) [color="red"]iemarquee(slider)[/color];
else if (document.getElementById)
ns6marquee(document.getElementById('slider'));
else if(document.layers)
ns4marquee(document.slider1.document.slider2);
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
iediv.style.pixelTop=sheight
iediv.innerHTML=msg
sizeup=iediv.offsetHeight
ieslide()
}
[i]Originally posted by 7stud [/i]
[B]That hasn't been my experience. I've been using Firefox 1.0 for about a 2 months now, and even though I like the features, I hate to say it, but I don't think it works very well. I use it on win98, and
1) FF takes forever to load
2) Web pages render very slowly and in a piecemeal fashion which exposes all the underlying alt attributes for the images.
2) FF crashes if I try to use the Venkman(Mozilla) javascript debugger, which isn't proving to be much of a problem since the Venkman dubugger doesn't work properly.
3)If I get disconnected from a dial up connection and reconnect, FF isn't able to load any new pages--it seems to get caught in an infinite loading loop, so I have to shut down the browser completely and then relaunch it. That's a pain if I have 5 or 6 pages open, and I have to retrieve them all.
4)Mozilla javascript documentation is seemingly nonexistent.
5)Several other small bugs.
I appreciate the effort the open source community put into the browser, but in my opinion they should stop in atwww.php.net and see how to organize a successful open source project.[/b][/quote]
there have been no problems with the Venkman JavaScript debugger, and it does work.[/quote]
<i>
</i>3: <script>
4: var a=1;
5: function test(a){
6: var t = "passed : ";
7: return t+a;
8: }
9: var b = test(a);
10: document.write("<p>" + b + "</p>");
11: </script>
Press the "Step into" button (or F11), to advance to the next line. The debugger is now halted at line 4, the variable declaration. Try entering "a" in the Interactive Session now, you'll see that the value is void.[/quote]
Press Step into one more time, and try entering "a" again, and you'll note that it now has a value (of 1).[/quote]
>$[0] = [void] void
>$[0] = [void] void
> $[1] = [string] "passed : undefined"
>$[0] = [void] void
>$[0] = [integer] 1
I haven't had any problems with it yet[/quote]
[i]Originally posted by 7stud [/i]
[B]Well, what the heck. :mad: What about an earlier version of Venkman? [/B][/QUOTE]
0.1.9 — BETA 5.19