Member Avatar
Sanjay_23 Replied To a Post in Table with Angular
Topic by davy_yg in Web Development
I have a solution but when I post solution, getting following error.
Curly braces { } may only be used when posting code. Reply by Sanjay_23
Member Avatar
Topic by sumansingh in Search Engine Strategies
Backlinks are fundamental to the success of any SEO campaign.

Social Bookmarking
Web2.0
Forum Posting
Social Media Marketing
Article submission Reply by Gilchrist21
Member Avatar
Topic by Newspiderman888 in Search Engine Strategies
Content: Make sure your website content is optimized. Good content can continue to drive clicks for your website.
Social Media: Use popular social media sites. It’s not only about posting, you should be used in a more creative way to prompt them to visit your website.
Email Marketing: It refers … Reply by Gilchrist21
Member Avatar
happygeek 2,172 Replied To a Post in border-collapse
Topic by davy_yg in UI / UX Design
css
Bugs can be reported over in [Community Feedback](https://www.daniweb.com/community-center/daniweb-community-feedback/26) using a 'bug' tag, or in [Area 51](https://www.daniweb.com/community-center/daniweb-community-feedback/area-51/44) if you have access (I know it used to be an invite only place, but I think it was made open to all? Shame I can't get my personal memory bug fixed :-) Reply by happygeek
Member Avatar
pty 588 Replied To a Post in border-collapse
Topic by davy_yg in UI / UX Design
css
Ah, one of my posts is editable and one isn't.

![Screen_Shot_2018-04-26_at_09_43_11.png](/attachments/large/0/70fd9d93ca03eba2a2a620f374255d8e.png)


The difference is that the first was made on my phone and the second on a computer.

If there was a bug tracker I'd raise one. Reply by pty
Member Avatar
pty 588 Replied To a Post in border-collapse
Topic by davy_yg in UI / UX Design
css
Has the edit button disappeared? My last post doesn't make sense, it should say 'your failing css'. Reply by pty
Member Avatar
pty 588 Replied To a Post in border-collapse
Topic by davy_yg in UI / UX Design
css
Learn how to combine CSS selectors. Clue, your failing for is looking for a `table` within `#profitlosstbl`.

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors Reply by pty
Member Avatar
davy_yg 2 Created border-collapse

Hello,

I am trying to border-collapse on a specific table.

#profitlosstbl table {

width: 200px;
border-collapse: collapse;
}

#profitlosstbl td {

border-collapse: collapse;
width: 100%;
padding: 10px;
font-size: 12px;
border: 1px solid black;
}

the border-collapse: collapse;

It only works if I use

table {
border-collapse: collapse;
}

but I … Topic by davy_yg in UI / UX Design
css
Member Avatar
Clara_2 Replied To a Post in About SEO
Topic by Mahbub_2 in Search Engine Strategies
SEO is the process of affecting the visibility of website or webpage in the web search engine unpaid result, SEO may target different kind of search such as image search, video search and academic search. It optimises the website and gives it’s ranking in webpage. It includes on-page technique and … Reply by Clara_2
Member Avatar
ryantroop 115 Replied To a Post in bar chart and table
Topic by davy_yg in Programming
So fusion charts requires their data in a specific format. You can choose to parse that data (as they have), or you can write a conversion script to output the format they expect from the data you have.

You gotta do some of this on your own. I get fusionCharts … Reply by ryantroop
Member Avatar


bar_chart.html

<html>
<head>

<script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script>
<script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>

</head>
<body>

<script>
FusionCharts.ready(function () {
var revenueChart = new FusionCharts({
type: 'doughnut2d',
renderAt: 'chart-container',
width: '450',
height: '450',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "",
"subCaption": "",
"numberPrefix": "$",
"paletteColors": "#5b9bd5,#ed7d31,#f2c500,#f45b00,#8e0000",
"bgColor": "#ffffff",
"showBorder": "0",
"use3DLighting": "0", … Topic by davy_yg in Programming
Member Avatar
Hello,

I am trying to prevent my form, from submitting if the file is not an image type file but i keep failing, the array that i am using keeps displaying regardless of the files type.
Any help would be grateful.


<?php

$Manufacturer = $_POST['Manufacturer'];
$Brand = $_POST['Brand'];
$Model = … Topic by Anthony_22 in Web Development
Member Avatar
ryantroop 115 Replied To a Post in Customizing Color Fusion Chart
Topic by davy_yg in Web Development
When dealing with fusion charts, I encourage you to just go striaght to their fiddles.
http://jsfiddle.net/s7t8F/5379/

I made that with a color change to one column. You likely forgot the comma. Reply by ryantroop
Member Avatar
Featured Christine_9 Replied To a Post in What is the Best SEO tool?
Topic by oliversmith in Search Engine Strategies
I want to know which one is best tools for my website Reply by Christine_9
Member Avatar
Krishna_30 Replied To a Post in XML to XML transformation
Topic by rat1973 in Software Development
xml
Try this in **.xsl** file


<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <root> <xsl:for-each select="catalog/cd"> <singer><xsl:value-of select = "artist" /></singer> </xsl:for-each> </root> </xsl:template> </xsl:stylesheet> Reply by Krishna_30
Member Avatar
Featured Daniel_87 Replied To a Post in Display and hide div based on if statement
Topic by Mr.M in Web Development
Hi,

I would like to answer question display and hide div based on if statement you can use following code

This is the complete soln for future users






@if (Model.als == -1)

{
<div style="float: left; width: 80px; visibility:hidden">S139a:</div>
}
@if (Model.als == 0)
{
<div style="float: left; width: 80px;">S139a:</div> … Reply by Daniel_87
Member Avatar

I wonder how to create a table in angular where the data is taken from Json or xml (must be seperated file)? Topic by davy_yg in Programming
Member Avatar

This time, I am trying to customize color in bar chart.

https://www.fusioncharts.com/dev/chart-guide/chart-configurations/data-plot

bar_chart.html

<html>
<head>

<script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script>
<script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script>

<script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script>

</head>
<body>


<script type="text/javascript">
FusionCharts.ready(function() {
var revenueChart = new FusionCharts({
"type": "doughnut2d",
"renderAt": "chartContainer",
"width": "500",
"height": "300",
"dataFormat": "json",
"dataSource": {
"chart": {
"caption": … Topic by davy_yg in Web Development
Member Avatar
davy_yg 2 Marked Solved Status for Chart with Angular
Hello,

I am trying to create a bar chart with angular. I am following the following guidance:

https://www.fusioncharts.com/angularjs-charts/

I wonder why it does not works. I only see a blank screen when running bar_chart.html

bar_chart.html

<html>
<head>

<script src="barchart_data.js"></script>
<script src="angular-fusioncharts.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>

</head>
<body>

<div ng-app="myApp">...</div>

<div ng-controller="MyController">

<div … Topic by davy_yg in Web Development
Member Avatar
Hello,

I have been experimenting with Fusion Chart.

I have been following this tutorial: https://www.fusioncharts.com/dev/chart-guide/getting-started/using-xml-as-data-format

and trying to take the chart data from xml yet it does not works.

bar_chart_xml.html

<html>
<head>

<!--<script src="angularjs-plugin/wrappers/angularjs/angular-fusioncharts.min.js"></script>
<script src="angular.js"></script>
-->
<script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script>
<script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script>

<script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script>
<script type="text/javascript">
FusionCharts.ready( function … Topic by davy_yg in Web Development
Member Avatar
I've been listening to various debates on the potential impact of AI and the two sides seem to boil their arguments down to

1. AI is dangerous because it will mean the extinction of humanity as machines that can improve themselves will do it so rapidly as to quickly make … Topic by Reverend Jim in Community Center
Member Avatar
Hello,

I am following this tutorial:

https://valor-software.com/ng2-charts/

I try to set up the barchart. I copy exactly from the demo script:

new.html

<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script src="node_modules/chart.js/src/chart.js"></script>
<script src="bar.js"></script>
</head>

<body>

<div>
<div style="display: block">
<canvas baseChart
[datasets]="barChartData"
[labels]="barChartLabels"
[options]="barChartOptions"
[legend]="barChartLegend"
[chartType]="barChartType"
(chartHover)="chartHovered($event)"
(chartClick)="chartClicked($event)"></canvas>
</div>
<button (click)="randomize()">Update</button>
</div>

</body> … Topic by davy_yg in Web Development
Member Avatar
davy_yg 2 Replied To a Post in Table with Angular
Topic by davy_yg in Web Development
What the API file could be look like? Any example ? (an API file that's readable to produce a table consist of name and country.

Since I have a create a table using angular (the data in the table is provided), I only see the result. So I wonder what's … Reply by davy_yg
Member Avatar
s3xandch0c0late Replied To a Post in Table with Angular
Topic by davy_yg in Web Development
Most probably it contains the API that returns the data in the form of an array with Customer Name and Country. This data might be hardcoded in the file, or it is requesting from a table somewhere. Reply by s3xandch0c0late
Member Avatar
davy_yg 2 Created Table with Angular

Hello,

I am trying to follow the following tutorials:

https://www.w3schools.com/angular/angular_tables.asp

<div ng-app="myApp" ng-controller="customersCtrl">

<table>
<tr ng-repeat="x in names">
<td>{{ x.Name }}</td>
<td>{{ x.Country }}</td>
</tr>
</table>

</div>

<script>
var app = angular.module('myApp', []);
app.controller('customersCtrl', function($scope, $http) {
$http.get("customers.php")
.then(function (response) {$scope.names = response.data.records;});
});
</script>

It produces a customer table. … Topic by davy_yg in Web Development
Member Avatar
davy_yg 2 Created Chart with Angular
Hello,

I am trying to create a bar chart with angular. I am following the following guidance:

https://www.fusioncharts.com/angularjs-charts/

I wonder why it does not works. I only see a blank screen when running bar_chart.html

bar_chart.html

<html>
<head>

<script src="barchart_data.js"></script>
<script src="angular-fusioncharts.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>

</head>
<body>

<div ng-app="myApp">...</div>

<div ng-controller="MyController">

<div … Topic by davy_yg in Web Development
Member Avatar
Featured happygeek 2,172 Created Tutorial .Net v4.0 framework installing error
Hi guys!
i think this is usefull, a lot of the users have problems with .Net Framework installation,
Error code: HRESULT 0xc8000222
Do these to solve:

a: Click Start > Run.
b: Type cmd and press Enter.
Please run the following command in the opened window.
net stop WuAuServ
c: … Topic by Hanif1993 in Software Development
Member Avatar
Rachana_3 Replied To a Post in strategies for build backlinks
Topic by agustina in Search Engine Strategies
Methods to get backlinks to a website:
Social networking site profile
Article marketing
Press release
Link exchange
Document sharing sites
Guest blogging
Commenting Reply by Rachana_3
Member Avatar
Featured Reverend Jim 2,253 Replied To a Post in CUDA GPU Programming on AMD/Radeon
Topic by Reverend Jim in Software Development
Tried to build an exe from one of the OpenCL sample projects. I got 258 errors. I was referred to the first AMD SDK documents which started with

The AMDAPPSDKROOT variable must be set to:

C:\Program Files\AMD APP SDK\ (for 32-bit systems)
C:\Program Files (x86)\AMD APP SDK\ (for 64-bit systems) … Reply by Reverend Jim
Member Avatar
Featured lewashby 25 Marked Solved Status for Keyboard Layout for French
Linux Mint

So I'm trying to learn French but I'm running into some complications when it comes to finding a good keyboard layout. Here are the layouts that I've tried so far:

English (US)
English (international Alt Gr dead keys)
English (UK, international with dead keys)
English (UK, extended WinKeys) … Topic by lewashby in Linux and Unix