07-31-2018
Quote:
Originally Posted by
Don Cragun
It seems to be fixed. I'm always curious about what caused one of these intermittent problems... What did you find?
Hey.
There was a vB conditional statement inside the DOM span element which set the element attribute
"style="display:none;" based on a PHP variable to hide the thumbs-up icon.
For some odd reason, it did not work properly.
So, I got rid of the vB conditional in the DOM element and moved the if statement outside the entire
<span></span> element and removed the attribute
"style="display:none;" code inside the element.
On the surface, it should have done the same thing, but this way seems to work without any glitches.
This User Gave Thanks to Neo For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
Is there a way to change the behavior of the gnome desktop manager so that when your iconify a window it will be place on the desktop intead on on the task manager (gnome-panel)? It gets confusing having to loook throught the gnome-panle for the window I want when you have alot of... (1 Reply)
Discussion started by: larry
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Can you guys please enable the "dotted" icon option, so that the thread icon for a thread in which a user has posted in will appear with a dot in it?
Thanks,
Aaron (2 Replies)
Discussion started by: Spetnik
2 Replies
3. Solaris
Hey everybody!
I'd like to get a second Window for my program Icons,
any Idea how to solve this problem?? :confused:
thanks, Tom (3 Replies)
Discussion started by: TomStyria
3 Replies
4. Red Hat
Hi All,
I created an RPM for my application.
After clicking the rpm, I managed to place the files in repective locations also I have "JServer" menus in the "Application" menu (The redhat one).
But the problem is the icons are not appearing in that menu.
I placed my icons/images in... (0 Replies)
Discussion started by: jw_amp
0 Replies
5. AIX
Why my cde show no icons?
I have installed
X11.Dt.ToolTalk 7.1.3.15 C F AIX CDE ToolTalk Support
X11.Dt.adt 7.1.3.0 C F AIX CDE Application
X11.Dt.bitmaps 7.1.0.0 C F AIX CDE Bitmaps
X11.Dt.compat ... (8 Replies)
Discussion started by: Linusolaradm1
8 Replies
6. What is on Your Mind?
Just changed the mobile site to use Font Awesome icons.
Here is the new top navbar view (unregistered users)
https://www.unix.com/members/1-albums214-picture903.jpeg (2 Replies)
Discussion started by: Neo
2 Replies
7. Web Development
Working on the Quick Reply Editor, I have replaced a number of icons (see image below) with Font Awesome Icons. Was planning to replace all of them, but for some reason, replacing a few of them causes the script / template to break (which is odd) so I left them for now.
... (6 Replies)
Discussion started by: Neo
6 Replies
8. What is on Your Mind?
Here is an update on the site renovation:
After a lot of analysis and example programming, including testing out a number of Javascript framework and libraries, in the short term, we are getting the most bang-for-the-buck from these three basic, core tech areas:
Bootstrap (CSS and... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT DEBIAN
xml::dom::attr
XML::DOM::Attr(3pm) User Contributed Perl Documentation XML::DOM::Attr(3pm)
NAME
XML::DOM::Attr - An XML attribute in XML::DOM
DESCRIPTION
XML::DOM::Attr extends XML::DOM::Node.
The Attr nodes built by the XML::DOM::Parser always have one child node which is a Text node containing the expanded string value (i.e.
EntityReferences are always expanded.) EntityReferences may be added when modifying or creating a new Document.
The Attr interface represents an attribute in an Element object. Typically the allowable values for the attribute are defined in a docu-
ment type definition.
Attr objects inherit the Node interface, but since they are not actually child nodes of the element they describe, the DOM does not con-
sider them part of the document tree. Thus, the Node attributes parentNode, previousSibling, and nextSibling have a undef value for Attr
objects. The DOM takes the view that attributes are properties of elements rather than having a separate identity from the elements they
are associated with; this should make it more efficient to implement such features as default attributes associated with all elements of a
given type. Furthermore, Attr nodes may not be immediate children of a DocumentFragment. However, they can be associated with Element nodes
contained within a DocumentFragment. In short, users and implementors of the DOM need to be aware that Attr nodes have some things in com-
mon with other objects inheriting the Node interface, but they also are quite distinct.
The attribute's effective value is determined as follows: if this attribute has been explicitly assigned any value, that value is the
attribute's effective value; otherwise, if there is a declaration for this attribute, and that declaration includes a default value, then
that default value is the attribute's effective value; otherwise, the attribute does not exist on this element in the structure model until
it has been explicitly added. Note that the nodeValue attribute on the Attr instance can also be used to retrieve the string version of the
attribute's value(s).
In XML, where the value of an attribute can contain entity references, the child nodes of the Attr node provide a representation in which
entity references are not expanded. These child nodes may be either Text or EntityReference nodes. Because the attribute type may be
unknown, there are no tokenized attribute values.
METHODS
getValue
On retrieval, the value of the attribute is returned as a string. Character and general entity references are replaced with their val-
ues.
setValue (str)
DOM Spec: On setting, this creates a Text node with the unparsed contents of the string.
getName
Returns the name of this attribute.
perl v5.8.8 2008-02-03 XML::DOM::Attr(3pm)