Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
blur() equivalent in firefox
Sharadha Sankar
Greenhorn
Posts: 20
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello all,
I am using
blur()
in my javascript file which works fine for IE but not for mozilla firefox. I was wondering if there is an equivalent function that would work in firefox?
Thanks in advance
Thanks<br />Sharadha
Eric Pascarello
author
Posts: 15385
6
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
what is the line of code you are using exactly?
Eric
Sharadha Sankar
Greenhorn
Posts: 20
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
function showPane(paneId, activeTab) { // make tab active class // hide other panes (siblings) // make pane visible debugger; for (var con in panes) { activeTab.blur(); activeTab.className = "tab-active"; if (panes[con][paneId] != null) { // tab and pane are members of this container var pane = document.getElementById(paneId); pane.style.display = "block"; var container = document.getElementById(con); var tabs = container.getElementsByTagName("ul")[0]; var tabList = tabs.getElementsByTagName("a") for (var i=0; i<tabList.length; i++ ) { var tab = tabList[i]; if (tab != activeTab) tab.className = "tab-disabled"; } for (var i in panes[con]) { var pane = panes[con][i]; if (pane == undefined) continue; if (pane.id == paneId) continue; pane.style.display = "none" } } } return false; }
Thanks<br />Sharadha
Eric Pascarello
author
Posts: 15385
6
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
And what object is passed into activeTab?
Eric
Sharadha Sankar
Greenhorn
Posts: 20
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<li><a href="#" X="return showPane('pane1', this)" id="tab1">Period 1</a></li>
where X = onClick
Thanks<br />Sharadha
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
need to create a tooltip message
How to send the user back to a field on a long form
Firefox problem
book and release record in B&S
Developer driven
More...