Thanks to Randy for his insightful comments. But there still is a bit
of miscommunication....
"You don't "force" anything on the web."
Not understood. What I wanted to do was to put a statement
in my javascript code that said "here be dragons---so make a
mouseclick". Anyway, I force things all the time on the web. This is
called "programming".
"Then get better code."
Not an option.
"The onload event doesn't fire until the page is loaded..."
No, I inserted all sorts of alert boxes and response.flush
commands to be sure. The page is loaded first, and then the tabs
appear.
In any event (no pun intended) the solution was to insert a tab.focus()
command into the script.
Thanks
joe
On Nov 7, 5:35 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
cott...@gmail.com said the following on 11/7/2006 4:23 PM:
is there anyway to force an event, like mouseover?You don't "force" anything on the web.
I have a page that loads, and due to some complex js code (not mine)
it fails to write labels to tabs until the user does a mouseover on
the tabs. Then get better code.
the page load event happens beforre the tabs are loaded. The page onload even fires before the tabs in the page are loaded? No it
doesn't. The onload event doesn't fire until the page is loaded - and
that includes "tabs" - whatever that is.
Once the user mouseovers the tabs, the labels of the tabs appear,
and stay there. call the function programatically that shows the tabs. If it is
showTab() then onload of the "tabs" (whatever you are referring to as a
tab) you call that function via script.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/