Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Emary Echo

Pages: [1]
1
JavaScript Operators / Re: ASSIGNMENT OPERATORS
« on: October 18, 2017, 09:05:55 pm »
Simple assignment operator which assigns a value to a variable. The assignment operation evaluates to the assigned value. Chaining the assignment operator is possible in order to assign a single value to multiple variables. See the example.

2
JavaScript Operators / Re: ARITHMETIC OPERATORS
« on: October 18, 2017, 09:02:21 pm »
I want to know how can I achieve an arithmetic operation in CSS.

For example: I want to align two divs side by side each having width of 50% and I want to give border on these divs. I want to write my rule like this.

#container {
    width: 50% - 1px; // I know this does not work.
}
Why do browsers not support such arithmetic operations in CSS ?

And, How can I get this to work ?

3
JavaScript Operators / Re: STRING OPERATORS
« on: October 18, 2017, 08:56:38 pm »
What is the difference between string concat and the + operator in java??

To March,

There's no difference in this particular case; however, they're not the same in general.

str1 += str2 is equivalent to doing the following:

str1 = new StringBuilder().append(str1).append(str2).toString();
To prove this to yourself, just make a simple method that takes two strings and +='s the first string to the second, then examine the disassembled bytecode.

By contrast, str1.concat(str2) simply makes a new string that's the concatenation of str1 and str2, which is less expensive for a small number of concatenated strings (but will lose to the first approach with a larger number).

Additionally, if str1 is null, notice that str1.concat(str2) throws a NPE, but str1 += str2 will simply treat str1 as if it were null without throwing an exception. (That is, it yields "null" concatenated with the value of str2. If str2 were, say, "foo", you would wind up with "nullfoo".)

4
CSS Fonts, Icons, Links / Re: CSS LINKS
« on: October 18, 2017, 08:54:21 pm »
How do you put a link in CSS??

Hi!!!! March
Steps:

 Attach following code to your image/link/button which would be clicked to launch chat widget, following attaches javascript to a html-link (which can wrap an image or icon -- button)
//to attach to a html link
<a href="javascript:$zopim.livechat.window.show();">
<img src="yourbutton.png" alt="Chat Button" />
</a>
Add following in your JavaScript code (General > Customize Design > JS). This code hides the chat widget, so it doesn't show up by default on page load.
$zopim(function() {
$zopim.livechat.hideAll();
});
  hope this can help  :)

5
JavaScript Operators / Re: ASSIGNMENT OPERATORS
« on: October 18, 2017, 04:48:54 am »
Assignment operation code or commands carry out assignment operations. Simple assignment operations consist of taking the value on the right side of the operator and assigning it to the variable on the left, as in this example:

6
JavaScript Operators / Re: ARITHMETIC OPERATORS
« on: October 18, 2017, 04:44:38 am »
Arithmetic operators take numerical values (either literals or variables) as their operands and return a single numerical value. The standard arithmetic operators are addition (+), subtraction (-), multiplication (*), and division (/).

7
JavaScript Operators / Re: LOGICAL OPERATORS
« on: October 18, 2017, 04:43:09 am »
base in my research...... logical operator. Most of these operations can take more than two inputs, except for the NOT operation which takes only one input. Below are examples using only one or two inputs, which is what usually happens inside a computer.

8
CSS Fonts, Icons, Links / Re: CSS LINKS
« on: October 18, 2017, 04:39:25 am »
:link signifies unvisited hyperlinks.

The :visited signifies visited hyperlinks.

The :hover signifies an element that currently has the user's mouse pointer hovering over it.

Is this sample properties?????? that we can use ????

9
JavaScript Operators / Re: COMPARISON OPERATORS
« on: October 18, 2017, 04:17:35 am »
These operators compare two expressions to determine whether or not they are equal, and if not, how they differ. Is, IsNot, and Like are discussed in detail on separate Help pages. The relational comparison operators are discussed in detail on this page....... ex.result = expression1 comparisonoperator expression2 
result = object1 [Is | IsNot] object2 
result = string Like pattern  ..... Did i may right or not if im not correct can you make it right ???????

10
JavaScript Operators / Re: LOGICAL OPERATORS
« on: October 18, 2017, 04:10:40 am »
what is logical operator generally?????.....and what are the fundamental of logical operator that i should learn .....????????

11
JavaScript Operators / Re: BITWISE OPERATORS
« on: October 18, 2017, 04:07:06 am »
In computer programming, a bitwise operation operates on one or two bit patterns or binary numerals at the level of their individual bits. On many computers, bitwise operations are slightly faster than addition and subtraction operations and significantly faster than multiplication and division operations....right  Can you give me example of pattern that i can use in bit wise cuz you know im a little confuse with it...

12
CSS Fonts, Icons, Links / Re: CSSFonts
« on: October 18, 2017, 03:56:46 am »
Which of the following value is supposed to be a slightly bolder weight that standard bold in font attribute???????????

13
CSS Fonts, Icons, Links / Re: CSS ICONS
« on: October 18, 2017, 03:55:29 am »
Is it possible to add CSS values to alter the image?????? rather than changing the image itself and uploading a new copy to data_dir to reference? Such as adding an outline or doing more than just adjusting the size????

Pages: [1]