[Webkit-unassigned] [Bug 7678] New: JavaScript class changing not supported!
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Mar 9 03:06:31 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7678
Summary: JavaScript class changing not supported!
Product: WebKit
Version: 417.x
Platform: Macintosh
URL: http://www.jabcreations.com/web/browser-bugs.php
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: jab_creations at yahoo.com
My site uses divs as layers to display information only when needed.
JavaScript
function change(id, newClass)
{
identity=document.getElementById(id);
identity.className=newClass;
}
(X)HTML
<div id="layer">
<a href="#" onclick="change('layer', 'hide'); title="Hide this Prompt">Hide
this Prompt</a>
</div>
Use a Presto or Gecko based browser to see the script in working action.
I am a poor college student so naturally since I can't put a Mac together like
a PC (via Newegg IE) I do not have access to one so someone else will have to
test this out.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list