ELATED: All Forums http://www.elated.com/ ELATED.com Webmaster Forums: Free Help with HTML, CSS, JavaScript, PHP and Photoshop from ELATED.com en-us Wed, 20 Sep 2017 12:56:22 GMT Wed, 20 Sep 2017 12:56:22 GMT http://blogs.law.harvard.edu/tech/rss ELATED.com feeder [Authoring and Programming] I'd like some help making a button trigger some scripts. http://www.elated.com/forums/topic/6378/#post26837 From: sac396


I can't seem to figure out how to do this. I am making a google chrome extension and I'd like the button to add text to a google doc. Any help would be appreciated!

View » | Reply »

]]>
Wed, 20 Sep 2017 04:21:04 GMT http://www.elated.com/forums/topic/6378#post26837
Re: [Authoring and Programming] Problem in inserting partial data from dropdown to mysql using PHP http://www.elated.com/forums/topic/6376/#post26836 From: chrishirst


A space character is a delimiter for HTTP form data so you need to URL Encode the data before sending it.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Tue, 19 Sep 2017 12:11:58 GMT http://www.elated.com/forums/topic/6376#post26836
Re: [Authoring and Programming] Auto button click http://www.elated.com/forums/topic/6377/#post26835 From: chrishirst


"Please, tell me the solution to make above change, "

Use a timer;
https://www.elated.com/articles/javascript-timers-with-settimeout-and-setinterval/

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Tue, 19 Sep 2017 12:07:25 GMT http://www.elated.com/forums/topic/6377#post26835
[Authoring and Programming] Auto button click http://www.elated.com/forums/topic/6377/#post26834 From: sebarian87


i have following index file, it has recording stop and start button to record voice.

I want the recording to begin automatically after 9 seconds as the page is loaded and closes itself after 20 seconds.

Please, tell me the solution to make above change,


--

<!DOCTYPE html>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Live input record and playback</title>
<style type='text/css'>
ul { list-style: none; }
#recordingslist audio { display: block; margin-bottom: 10px; }
</style>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>

<h1>Record to MP3 Test</h1>

<button onclick="startRecording(this);">record</button>
<button onclick="stopRecording(this);" disabled>stop</button>

<h2>Recordings</h2>
<ul id="recordingslist"></ul>

<h2>Log</h2>
<pre id="log"></pre>

<script>
function __log(e, data) {
log.innerHTML += "\n" + e + " " + (data || '');
}

var audio_context;
var recorder;

function startUserMedia(stream) {
var input = audio_context.createMediaStreamSource(stream);
__log('Media stream created.' );
__log("input sample rate " +input.context.sampleRate);

// Feedback!
//input.connect(audio_context.destination);
__log('Input connected to audio context destination.');

recorder = new Recorder(input, {
numChannels: 1
});
__log('Recorder initialised.');
}

function startRecording(button) {
recorder && recorder.record();
button.disabled = true;
button.nextElementSibling.disabled = false;
__log('Recording...');
setTimeout(stopRecording, 50);
}

function stopRecording(button) {
recorder && recorder.stop();
button.disabled = true;
button.previousElementSibling.disabled = false;
__log('Stopped recording.');

// create WAV download link using audio data blob
createDownloadLink();

recorder.clear();
}

function createDownloadLink() {
recorder && recorder.exportWAV(function(blob) {
/*var url = URL.createObjectURL(blob);
var li = document.createElement('li');
var au = document.createElement('audio');
var hf = document.createElement('a');

au.controls = true;
au.src = url;
hf.href = url;
hf.download = new Date().toISOString() + '.wav';
hf.innerHTML = hf.download;
li.appendChild(au);
li.appendChild(hf);
recordingslist.appendChild(li);*/
});
}

window.onload = function init() {
try {
// webkit shim
window.AudioContext = window.AudioContext || window.webkitAudioContext;
navigator.getUserMedia = ( navigator.getUserMedia ||
navigator.webkitGetUserMedia ||
navigator.mozGetUserMedia ||
navigator.msGetUserMedia);
window.URL = window.URL || window.webkitURL;

audio_context = new AudioContext;
__log('Audio context set up.');
__log('navigator.getUserMedia ' + (navigator.getUserMedia ? 'available.' : 'not present!'));
} catch (e) {
alert('No web audio support in this browser!');
}

navigator.getUserMedia({audio: true}, startUserMedia, function(e) {
__log('No live audio input: ' + e);
});
};
</script>

<script src="js/jquery-1.11.0.min.js"></script>
<script src="recordmp3.js"></script>
</body>
</html>

View » | Reply »

]]>
Tue, 19 Sep 2017 05:32:04 GMT http://www.elated.com/forums/topic/6377#post26834
Re: [Authoring and Programming] Build a CMS in an Afternoon with PHP and MySQL http://www.elated.com/forums/topic/5114/#post26833 From: BusyWitch


Hi Matt...

I am starting from the beginning and re-writing the code and came across a little snag... and I would appreciate your help.

In the new code, "id" is now "article_id", "publicationDate" is "article_date", "title" is "article_title", and so on. Yes, I have updated the entire code, unless I have missed something.

Here is the problem... upon logging in to admin and entering the very first article, when I hit submit, I get the following error: Fatal error: Article::insert(): Attempt to insert an Article object that already has its ID property set (to 0). in /home/xxxxx/public_html/test-5/classes/Article.php on line 110

Any ideas?

View » | Reply »

]]>
Sun, 17 Sep 2017 21:06:20 GMT http://www.elated.com/forums/topic/5114#post26833
[Authoring and Programming] Problem in inserting partial data from dropdown to mysql using PHP http://www.elated.com/forums/topic/6376/#post26832 From: maideen5


Hi
I have an issue to insert data from dropdown to mysql.
It is inserting the partial data to database
Example: if selection is Account Dept, but inserted only Account. missing Dept
if selection is Non Active, inserted only Non. missing Active.
whatever coming after space, it cannot be inserted. It happens only in dropdown control.

In Database, using varchar(30) for column

Pls advice where I did wrong.
Thank you
Maideen

Here is my HTML code


Code:
--------------------
<label>Status</label>
<select class="form-control" data-placeholder="Choose a Category" name="status">
<option></option>
<?php
$sql = "select * from tbl_parameter where paramhead ='STATUS' order by paramdetails";
$stmt = $pdo->prepare($sql);
$stmt->execute();
while ($row = $stmt->fetch())
{
$optvalue = $row['paramdetails'];
print '<option value ='.$optvalue.'>' .$row['paramdetails']. '</option>';

}

?>
</select>
--------------------


php code

Code:
--------------------
if(isset($_POST['add']))
{
if($_SERVER["REQUEST_METHOD"] == "POST")
{
$staffid =$_POST['staffid'];
$staffname =$_POST['staffname'];
$gender =$_POST['gender'];
$department=$_POST['department'];
$emailid=$_POST['emailid'];
$hpno=$_POST['hpno'];
$address=$_POST['address'];
$city=$_POST['city'];
$state=$_POST['state'];
$country=$_POST['country'];
$status=$_POST['status'];
$createdby=$_COOKIE['username'];
$time = strftime("%X");
$date = strftime("%B %d,%Y");
$createdon = date("Y-m-d H:i:s");
$terminal=$_COOKIE['terminal'];

$bool = true;
$sql="insert into tbl_staff_master(staffid,staffname,gender,department,emailid,hpno,address,city,state,country,status,createdby,createdon,terminal)
values ('$staffid','$staffname','$gender','$department','$emailid','$hpno','$address','$city','$state','$country','$status','$createdby','$createdon','$terminal')";
$stmt=$pdo->prepare($sql);
$stmt->execute();
$pdo = null;
print '<script>alert("Saved");</script>';
header("location:staff_add.php");
}
}
--------------------


View » | Reply »

]]>
Sun, 17 Sep 2017 09:43:38 GMT http://www.elated.com/forums/topic/6376#post26832
Re: [Authoring and Programming] Neophyte JS seeking help to complete exercise http://www.elated.com/forums/topic/6374/#post26831 From: chrishirst


Your function definition requires two parameters

Code:
--------------------
function calculateFoodOrder(numAnimals, avgFood)
--------------------



Your function call passes none.

Code:
--------------------
calculateFoodOrder();
--------------------


*******************************************************************


"I did not understand how to return an array of objects that contain the animals' information,"



Code:
--------------------
return ArrayName;
--------------------


[Edited by chrishirst on 15-Sep-17 17:54]

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Fri, 15 Sep 2017 22:54:32 GMT http://www.elated.com/forums/topic/6374#post26831
Re: [Authoring and Programming] How do I move my form to center http://www.elated.com/forums/topic/6375/#post26830 From: chrishirst


"How can I move the form to the center of the page?"


Give it a width that is less than the width of the parent, set left and right margin to auto;

"Also, I would like to change the color of the submit button to red, and the text to white."



Code:
--------------------
{
background-color: red;
color: white;
}
--------------------


[Edited by chrishirst on 15-Sep-17 17:46]

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Fri, 15 Sep 2017 22:45:10 GMT http://www.elated.com/forums/topic/6375#post26830
Re: [Authoring and Programming] Inline Style Of A Slider Doesn't Change Permanently http://www.elated.com/forums/topic/6373/#post26829 From: chrishirst


"Is there any way to change PERMANENTLY the max-width of the specific div?"

Assuming that "using javascript" is implied, the answer is ... No.


Your option is to make the 'slide-change' routine query the current max-width property and then set it to that value.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Fri, 15 Sep 2017 22:36:59 GMT http://www.elated.com/forums/topic/6373#post26829
[Authoring and Programming] How do I move my form to center http://www.elated.com/forums/topic/6375/#post26828 From: cinque8


Hello,

I am trying to create a squeeze page. I downloaded the code for my form from Aweber and placed it into my PageBreeze HTML editor. But the form is on the left side of the page. How can I move the form to the center of the page?

Also, I would like to change the color of the submit button to red, and the text to white.

Any help that you can give me will be greatly appreciated.

Thank you



Code:
--------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
<meta content="PageBreeze Pro HTML Editor (http://www.pagebreeze.com)" name="GENERATOR" />
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" />
</head>
<body bgcolor="#ffffff">
<h1>&nbsp;</h1>

<h2 align="left">&nbsp;</h2>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <!-- AWeber Web Form Generator 3.0.1 --></p>

<p>&nbsp;</p>

<form accept-charset="UTF-8" action="https://www.aweber.com/scripts/addlead.pl" class="af-form-wrapper" method="post" target="_blank">
<div style="display: none"><input name="meta_web_form_id" type="hidden" value="1991411101" /> <input name="meta_split_id" type="hidden" /> <input name="listname" type="hidden" value="awlist4806168" /> <input id="redirect_41e503e55e268d841032ed3217e9f27e" name="redirect" type="hidden" value="http://launchpointforgrowingtaller.info/thankyou.html" /> <input name="meta_adtracking" type="hidden" value="Grow_Taller_Form" /> <input name="meta_message" type="hidden" value="1" /> <input name="meta_required" type="hidden" value="name,email" /> <input name="meta_tooltip" type="hidden" /></div>

<div class="af-form" id="af-form-1991411101">
<div class="af-header" id="af-header-1991411101">
<div class="bodyText">
<p>&nbsp;</p>
</div>
</div>

<div class="af-body af-standards" id="af-body-1991411101">
<div class="af-element"><span style="font-size: 26px"><strong><span style="color: #ff0000"><label class="previewLabel" for="awf_field-93026630">First Name: </label></span></strong></span>

<div class="af-textWrap"><input class="text" id="awf_field-93026630" name="name" onblur="if (this.value == '') { this.value='';} " onfocus=" if (this.value == '') { this.value = ''; }" size="16" style="height: 34px; width: 254px" tabindex="500" type="text" /></div>

<div class="af-clear">&nbsp;</div>
</div>

<div class="af-element"><span style="font-size: 26px"><strong><span style="color: #ff0000"><label class="previewLabel" for="awf_field-93026631">Email: </label></span></strong></span>

<div class="af-textWrap"><input class="text" id="awf_field-93026631" name="email" onblur="if (this.value == '') { this.value='';} " onfocus=" if (this.value == '') { this.value = ''; }" style="height: 35px; width: 254px" tabindex="501" type="text" /></div>

<div class="af-clear">&nbsp;</div>
</div>

<div class="af-element buttonContainer">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<div class="af-clear">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<span style="color: #ff0000"><input class="submit" name="submit" size="1" style="height: 51px; width: 143px" tabindex="502" type="submit" value="Submit" /></span></div>
</div>

<div class="af-element privacyPolicy" style="text-align: center">
<div class="af-clear">&nbsp;</div>
</div>
</div>

<div class="af-footer" id="af-footer-1991411101">
<div class="bodyText">
<p>&nbsp;</p>
</div>
</div>
</div>

<div style="display: none"><img alt="" src="https://forms.aweber.com/form/displays.htm?id=jJycjCyMjIwMjA==" /></div>
</form>
<script type="text/javascript">
<!--
(function() {
var IE = /*@cc_on!@*/false;
if (!IE) { return; }
if (document.compatMode && document.compatMode == 'BackCompat') {
if (document.getElementById("af-form-1991411101")) {
document.getElementById("af-form-1991411101").className = 'af-form af-quirksMode';
}
if (document.getElementById("af-body-1991411101")) {
document.getElementById("af-body-1991411101").className = "af-body inline af-quirksMode";
}
if (document.getElementById("af-header-1991411101")) {
document.getElementById("af-header-1991411101").className = "af-header af-quirksMode";
}
if (document.getElementById("af-footer-1991411101")) {
document.getElementById("af-footer-1991411101").className = "af-footer af-quirksMode";
}
}
})();
-->
</script><!-- /AWeber Web Form Generator 3.0.1 -->

<p align="center">&nbsp;</p>
</body>
</html>


--------------------


View » | Reply »

]]>
Fri, 15 Sep 2017 16:51:38 GMT http://www.elated.com/forums/topic/6375#post26828
Re: [Authoring and Programming] Inline Style Of A Slider Doesn't Change Permanently http://www.elated.com/forums/topic/6373/#post26827 From: leandros21


Any idea?

--
To be or not to be

View » | Reply »

]]>
Fri, 15 Sep 2017 16:17:01 GMT http://www.elated.com/forums/topic/6373#post26827
[Authoring and Programming] Neophyte JS seeking help to complete exercise http://www.elated.com/forums/topic/6374/#post26826 From: aury


I'm learning JS and I have to do the following exercise, something I wrote, though incorrect, the important thing is to try it. Now, if someone can kindly help me to understand better how to properly complete exercise, so to understand and learn. At some points I'm locked up, I wrote the pseudocode, but I do not know how to turn it into code, I've also made syntax mistakes, but as I said I'm learning js alone and forum communities are my only support.

The first problem is in the first function. I'm not sure I developed it properly, both as a reasoning and as a syntax. to see console what was coming out I had written off the function:
calculateFoodOrder ();
It tells me that tokens are missing.


Code:
--------------------
/**
* This function should calculate the total amount of pet food that should be
* ordered for the upcoming week.
* @param numAnimals the number of animals in the store
* @param avgFood the average amount of food (in kilograms) eaten by the animals
* each week
* @return the total amount of pet food that should be ordered for the upcoming
* week, or -1 if the numAnimals or avgFood are less than 0 or non-numeric
*/
function calculateFoodOrder(numAnimals, avgFood) {
var numAnimals = 10;
var avgFood = numAnimals/7;
var total = avgFood*7;

if (Number(numAnimals || avgFood) < 0) and (isNaN(numAnimals || avgFood)){
console.log(-1);
}

return total;
}
calculateFoodOrder();
--------------------


The second is number 2 function.
Exercise says this function determines which day of the week had the most number of people visiting the pet store.
I wrote an array with the days of the week, a cycle for returning the days of the week and an if statment.

I know I'm wrong, I did not understand how to use the prototype for input that is an array of Weekday objects, which are created using the prototype function defined below, and how to determine which day has more traffic other days.


Code:
--------------------
/**
* Determines which day of the week had the most number of people visiting the
* pet store. If more than one day of the week has the same, highest amount of
* traffic, an array containing the days (in any order) should be returned.
* (ex. ["Wednesday", "Thursday"]). If the input is null or an empty array, the function
* should return null.
* @param week an array of Weekday objects
* @return a string containing the name of the most popular day of the week if there is only one most popular day, and an array of the strings containing the names of the most popular days if there are more than one that are most popular
*/
function mostPopularDays(week) {
week = [Monday,Tuesday, Wednesday, Thursday, Friday,Saturday, Sunday];
var weekdays = "";

for (i=0; i<week.length; i++) {
weekdays += week[i] + "<br>";
}

if (typeof week[i] === [] || week[i] === null) {
return null;
}

/*if there is only one most popular day return "dayname";
if there are more days than one that are most popular
return ["dayname","dayname","dayname"]*/

}

/**
* A prototype to create Weekday objects
*/
function Weekday (name, traffic) {
this.name = name;
this.traffic = traffic;
}
--------------------


In the development of the third function I did not understand how to return an array of objects that contain the animals' information, or an empty array if the array's lengths are unequal or zero, or if any array is null.


Code:
--------------------
/ **
* Given three arrays of equal length containing information about a list of
* animals - where names[i], types[i], and breeds[i] all relate to a single
* animal - return an array of Animal objects constructed from the provided
* info.
* @param names the array of animal names
* @param types the array of animal types (ex. "Dog", "Cat", "Bird")
* @param breeds the array of animal breeds
* @return an array of Animal objects containing the animals' information, or an
* empty array if the array's lengths are unequal or zero, or if any array is null.
*/
function createAnimalObjects(names, types, breeds) {
names = ["Lola", "Joy", "Elohim"];
types = ["Dog", "Cat", "Bird"];
breeds = ["Labrador", "Siamese", "Falco"];

return {
Animal = [["Lola", "Joy", "Elohim"], ["Dog", "Cat", "Bird"], ["Labrador", "Siamese", "Falco"]];
}
}

/**
* A prototype to create Animal objects
*/
function Animal (name, type, breed) {
this.name = name;
this.type = type;
this.breed = breed;
}
--------------------

Thanks!!

[Edited by aury on 15-Sep-17 08:05]

--
Aurora Ruggieri

View » | Reply »

]]>
Fri, 15 Sep 2017 06:39:48 GMT http://www.elated.com/forums/topic/6374#post26826
[Authoring and Programming] Inline Style Of A Slider Doesn't Change Permanently http://www.elated.com/forums/topic/6373/#post26825 From: leandros21


There's a default div's max-width 335.16px and when visitors click on an icon this max-width becomes 100% using jquery.
The problem is that when somebody clicks on the arrows to change the slide, max-width becomes again 335.16px.

Is there any way to change PERMANENTLY the max-width of the specific div?
The link to the test site is: http://www.onlineforextradingaccount.com/vangelis/

[Edited by leandros21 on 14-Sep-17 14:30]

--
To be or not to be

View » | Reply »

]]>
Thu, 14 Sep 2017 19:30:28 GMT http://www.elated.com/forums/topic/6373#post26825
Re: [Authoring and Programming] Javascript question - which variable? http://www.elated.com/forums/topic/6367/#post26822 From: chrishirst


"Are there any experienced developers here?"

Sure there are, but do we all have the time to debug somebody else's compressed code is an entirely different matter.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Thu, 14 Sep 2017 00:08:49 GMT http://www.elated.com/forums/topic/6367#post26822
Re: [Authoring and Programming] spans and inline style http://www.elated.com/forums/topic/6371/#post26821 From: chrishirst


"span" and "inline style" are not even close to being equal.

A span is an HTML inline level container.

"inline style" refers to specifying the CSS in the style attribute of an element rather than in a style sheet.

"inline style element" is not even a meaningful term used in HTML or CSS.

And using 'inline styles' is a laborious and inflexible way of presentation. As such it should be used very, very sparingly, if at all.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Wed, 13 Sep 2017 23:57:20 GMT http://www.elated.com/forums/topic/6371#post26821
Re: [Authoring and Programming] HTML Icon font awesome http://www.elated.com/forums/topic/6368/#post26820 From: chrishirst


Nothing in this;


Code:
--------------------<i class="fa fa-pinterest-p" aria-hidden="true"></i> --------------------


Has anything to do with icons or images.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Wed, 13 Sep 2017 23:47:08 GMT http://www.elated.com/forums/topic/6368#post26820
[Authoring and Programming] Arrows don't show http://www.elated.com/forums/topic/6372/#post26819 From: leandros21


Hi, i have a wp custom site and i wanted to add a clickable icon, when the visitor clicks on it the slideshow be expanded(larger width+height).
I tried a lot of times to do it but without success. Can you help please?

The link to the test site is: http://www.onlineforextradingaccount.com/vangelis/


PS: The right slideshow

--
To be or not to be

View » | Reply »

]]>
Wed, 13 Sep 2017 09:05:02 GMT http://www.elated.com/forums/topic/6372#post26819
[Authoring and Programming] spans and inline style http://www.elated.com/forums/topic/6371/#post26818 From: newbie1022


When is a span a better tool than an inline style element?
I see a span, and wonder what it is for, when I can do an inline style just as easily.

--
Jim Williams

View » | Reply »

]]>
Wed, 13 Sep 2017 02:58:40 GMT http://www.elated.com/forums/topic/6371#post26818
[Authoring and Programming] problem to call data json using javascript http://www.elated.com/forums/topic/6369/#post26816 From: azlin


i have a json data and coding it thru javascript. it don't appear. how to solve it?

javascript


Code:
--------------------
//1. Declare API KEY
//2. Declare API ID LISTING

var API_KEY = "f01bc0bf59c98e28ccb2ac36c54f982860ba76cb"
var API_UNILIST = 6717

var page = $('.ListPage')

var apiCall = undefined

//3. Communicate with API Manager
callApi(API_UNILIST,API_KEY,"get")
.then(function (result) {
if(!(result.data instanceof Array)) {
alert("Gagal muat turun senarai universiti. Sila cuba lagi.")
} else if(!result.data.length) {
page.append("<div class=\"emptyText\">Tiada rekod universiti anda</div>")
updateScroller()
} else {
result.data.forEach(function (tblpakar) {
//4. Manipulate data
var idpakar = tblpakar.idpakar


var newBlock = $("<div class='block'>")

.append("<div class='row officialName custom_fontTitle'>"+tblpakar.idpakar+"</div>")

.append("<div class='row officialName custom_fontTitle'><hr></div>")
page.append(newBlock)

})

updateScroller()
}
},
function (result) {
alert("Gagal muat turun senarai universiti. Sila cuba lagi.")
}
)

--------------------



Code:
--------------------
$("#yourForm").submit(function(event) {

/* stop form from submitting normally */
event.preventDefault();

/* get some values from elements on the page: */
var apikey = 'f01bc0bf59c98e28ccb2ac36c54f982860ba76cb';

/* Send the data using get */
var request = request = $.ajax({
url: http://api.gamma.malaysia.gov.my/id/6723,
type: GET,
data: {},
dataType: "html",
beforeSend:
function (xhr) {
xhr.setRequestHeader('Authorization', apikey)
; }
});

request.done(function(data) {
var response = JSON.parse(data, undefined, 2);
$( "#yourResult" ).html(response);
});

/* callback handler that will be called on failure */
request.fail(function( jqXHR, textStatus ) {
alert( "Request failed: " + textStatus );
});

});

--------------------


View » | Reply »

]]>
Mon, 11 Sep 2017 23:46:18 GMT http://www.elated.com/forums/topic/6369#post26816
[Authoring and Programming] HTML Icon font awesome http://www.elated.com/forums/topic/6368/#post26815 From: Annexl


I can't seem to add instagram and pinterest url/ account to font awesome logo <i class="fa fa-pinterest-p" aria-hidden="true"></i> I've placed on website. Any help with this will be really appreciated.

View » | Reply »

]]>
Mon, 11 Sep 2017 17:35:34 GMT http://www.elated.com/forums/topic/6368#post26815
Re: [Authoring and Programming] Javascript question - which variable? http://www.elated.com/forums/topic/6367/#post26814 From: michaelanderson


Well if I knew how to do that, I would have never posted the question here... I tried to figure that out for a few hours yesterday but didn't make any progress. I figured that an experienced developer could look at the page and tell me in about 60 seconds what variable controlled the volume. Are there any experienced developers here?

View » | Reply »

]]>
Sat, 09 Sep 2017 16:30:12 GMT http://www.elated.com/forums/topic/6367#post26814
Re: [Authoring and Programming] Javascript question - which variable? http://www.elated.com/forums/topic/6367/#post26813 From: chrishirst


You possibly could use the javascript console in Google Chrome or Firefox.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Sat, 09 Sep 2017 10:34:38 GMT http://www.elated.com/forums/topic/6367#post26813
Re: [Authoring and Programming] Javascript question - which variable? http://www.elated.com/forums/topic/6367/#post26811 From: michaelanderson


The developers of the software don't officially support this, so they won't help out at all. Isn't there a way to monitor all variables to see which ones changes when the built-in volume button is used?

View » | Reply »

]]>
Sat, 09 Sep 2017 00:49:24 GMT http://www.elated.com/forums/topic/6367#post26811
Re: [Authoring and Programming] Javascript question - which variable? http://www.elated.com/forums/topic/6367/#post26810 From: chrishirst


Ask whomever designed it, because it will be somewhere in the mass of compressed code.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Fri, 08 Sep 2017 22:32:04 GMT http://www.elated.com/forums/topic/6367#post26810
[Authoring and Programming] Javascript question - which variable? http://www.elated.com/forums/topic/6367/#post26809 From: michaelanderson


I'm developing in software (Articulate Storyline) that generates it's own html and javascript code to display a webpage. The software has it's own built-in volume button, and I would like to duplicate the functionality of that button with my own button. I can't figure out which variable they are using to control the volume though. Can someone take a look at the page below and tell me what javascript variable I need to change in order to control the volume of the video? Thanks!

http://storyline.host22.com/MuteTest/story.html

View » | Reply »

]]>
Fri, 08 Sep 2017 19:15:43 GMT http://www.elated.com/forums/topic/6367#post26809
Re: [Authoring and Programming] Weight Converter debugging http://www.elated.com/forums/topic/6365/#post26807 From: chrishirst


"it was working yesterday. But today it just converting grams."

And what changed in between those times?

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Wed, 06 Sep 2017 13:29:36 GMT http://www.elated.com/forums/topic/6365#post26807
[Authoring and Programming] Weight Converter debugging http://www.elated.com/forums/topic/6365/#post26805 From: tavaksk


Hello. I was making Weight Converter (using tutorial) that should convert pounds to grams, kilograms and ounces and it was working yesterday. But today it just converting grams.
Here is a code:


Code:
--------------------
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<style>
body {
margin-top: 70px;
background: #333;
color: #fff
}
</style>
<title>Weight Converter</title>
</head>
<body>
<div call="container">
<div class="row">
<div class="col-md-6 offset-md-3">
<h1 class="display-4 text-center mb-3">Weight Converter</h1>
<form>
<div class="form-group">
<input id="lbsInput" type="number" class="form-control form-control-lg" placeholder="Enter Pounds">
</form>
<div id="output">
<div class="card card-primary">
<div class="card-block">
<h4>Grams: </h4>
<div id="gramsOutput">
</div>
</div>

<div class="card card-success">
<div class="card-block">
<h4>Kilograms: </h4>
<div id="kgkOutput">
</div>
</div>

<div class="card card-danger">
<div class="card-block">
<h4>Ounces: </h4>
<div id="ozOutput">
</div>
</div>
</div>
</div>
</div>
</div>


<script>
document.getElementById('output').style.visibility = 'hidden';
document.getElementById('lbsInput').addEventListener('input', function(e) {
document.getElementById('output').style.visibility = 'visible';
let lbs = e.target.value;
document.getElementById('gramsOutput').innerHTML = lbs/0.0022046;
document.getElementById('kgOutput').innerHTML = lbs/2.2046;
document.getElementById('ozOutput').innerHTML = lbs*16;
});
</script>
</body>
</html>
--------------------


View » | Reply »

]]>
Sun, 03 Sep 2017 15:30:58 GMT http://www.elated.com/forums/topic/6365#post26805
Re: [Authoring and Programming] javascript - array.push(newItem) is breaking the function. http://www.elated.com/forums/topic/6364/#post26804 From: lostCause


I figured it out, i should have been using:


Code:
--------------------
myRearrangedArray = myArray.slice(selectedItemIndex).concat(myArray.slice(0, selectedItemIndex));
--------------------


What i didn't realize is that the "+" was adding the last element and the first one (D and A), and somehow was hurting it.

Sorry for posting such a trivial issue, I didn't mean to spam a bunch of code... but it was driving me crazy!

Anyways thanks for having me and sorry again.

[Edited by lostCause on 02-Sep-17 07:37]

View » | Reply »

]]>
Sat, 02 Sep 2017 12:33:54 GMT http://www.elated.com/forums/topic/6364#post26804
[Authoring and Programming] javascript - array.push(newItem) is breaking the function. http://www.elated.com/forums/topic/6364/#post26803 From: lostCause


Hi all, I am new to javascript, and I'm having an issue with a dropdown box in html (<select>).

The problem is that I need to re-arrange an array the add the first value on the end. However, whenever I try adding the first item to the end the whole function breaks! Here is what I'm working with:

HTML:


Code:
--------------------
<p id="selectedItemLabel"></p>
<select id="dropDownItems">
<option value="a">A</option>
<option value="b">B</option>
<option value="c" selected>C</option>
<option value="d">D</option>
</select>
--------------------


The JS:

Code:
--------------------
function rearrangeAndDisplay() {
var myArray = ["A", "B", "C", "D"];
var selectedDropDown = document.getElementById("dropDownItems");
var selectedItemIndex = selectedDropDown.selectedIndex;
var selectedItemFromDropDown = selectedDropDown.options[selectedItemIndex].text;

document.getElementById("selectedItemLabel").innerHTML = "Selected Item is: " + selectedItemFromDropDown;

var myRearrangedArray = myArray.slice(selectedItemIndex) + myArray.slice(0, selectedItemIndex);

// This is the line that messes everything up:
myRearrangedArray.push(selectedItemFromDropDown);

alert(myRearrangedArray);
}

rearrangeAndDisplay();
document.getElementById("dropDownItems").addEventListener("change", rearrangeAndDisplay);
--------------------


Without the line with the push() function everything works like its supposed to, however none of the function works with the line.

So with default selected it should be C, D, A, B, C (the first value added on the end), but it doesnt work.

If I take out the push() function I get C, D, A, B like i should, and when a different item is chosen from drop-down menu it changes and displays everything like it should.

I am relatively new to javascript and just doing a little script to learn and practice (actually porting a python terminal program to JS for better UI, so I have written a functioning version in python, but syntax and functionality is different in JS). If anyone could shed some light on what i'm doing wrong i would greatly appreciate it.

EDIT: Heres a jsfiddle to see it in action - https://jsfiddle.net/lostCause211/1wj7kmew/

[Edited by lostCause on 02-Sep-17 07:19]

View » | Reply »

]]>
Sat, 02 Sep 2017 11:36:30 GMT http://www.elated.com/forums/topic/6364#post26803
Re: [Authoring and Programming] JavaScript Timers with setTimeout and setInterval http://www.elated.com/forums/topic/4682/#post26801 From: sajjadhira


This is an example of JavaScript automatic popup closing after 10 seconds with countdown,



Code:
--------------------
<p style="text-align:center">This window will close automatically within <span id="counter">10</span> second(s).</p>
<script type="text/javascript">



function countdown() {

var i = document.getElementById('counter');

i.innerHTML = parseInt(i.innerHTML)-1;

if (parseInt(i.innerHTML)<=0) {

window.close();

}

}

setInterval(function(){ countdown(); },1000);

</script>
--------------------


I have found it into PHPAns Forum. Hope this will be helpful for you.

[Edited by sajjadhira on 30-Aug-17 06:25]

--
Programming is my passion, this site I love most.
http://phpans.com


View » | Reply »

]]>
Wed, 30 Aug 2017 11:24:59 GMT http://www.elated.com/forums/topic/4682#post26801
[Website Marketing] Are You An Online Activist? Then, You Must Need It! http://www.elated.com/forums/topic/6363/#post26800 From: chandlerbong


The main reason of creating content is to drive traffic either in your blog or in your sales page. If you want to sell more, you need to increase the volume of popular content. Here, the PLR Jackpot review shows the positive result on increasing leads, sales as well as pageviews. The PLR product is very necessary for the following people in the internet.

Blogger
Email marketer
Ebook seller
Presentation creator
Social Media Marketer
Tutorial Mentors
Entrepreneurs
Reporters

Also, anyone who wants to generate regular contents for the site, can use the product. It is an ensured source of niche articles. http://plrjackpot-review.com/

--
3124213123

View » | Reply »

]]>
Tue, 29 Aug 2017 14:23:52 GMT http://www.elated.com/forums/topic/6363#post26800
Re: [Website Management] Understanding Permissions http://www.elated.com/forums/topic/4605/#post26799 From: acanais96


I think especially that we must always post everything that we lived here. So we can always see the updates.
http://www.comparateur-mutuelle-assurance-sante.com/mutuelle-entreprise

View » | Reply »

]]>
Tue, 29 Aug 2017 11:44:24 GMT http://www.elated.com/forums/topic/4605#post26799
[Authoring and Programming] Javascript - help finding the highest value http://www.elated.com/forums/topic/6362/#post26798 From: gemini25


Let me start by saying I'm an absolute beginner at this and am at the point of pulling my hair out!! I would really appreciate if someone could point me in the right direction please.

I have a script that requires the user to enter 4 x Currency Codes, Amounts and Exchange Rates and displays them in a table. I have a Constructor Object in the Head and rest of the code is in the Body.

The bit I'm struggling with is in finding the largest AUD amount and then putting a "*" in the last column named Largest Amount.


Code:
--------------------
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Exchange Rate</title>
<style>
table, td, th {
padding: 10px;
text-align: left;
}
</style>

<script>
function Money(){ // Constructor function for the Money object
this.currency // Establishes a container for the currency abbreviation.
this.amount // Establishes a container for the amount in a certain currency.
this.exchangeRate // Establishes a container for the exchange rate.
this.ausDollars // Establishes a container for the converted AUD amount.
this.lgstAmount // Establishes a contained for the "*" character to show the largest amount listed in ausDollars

this.currency = prompt("Please enter a 3-letter currency abbreviation", ""); // Asks the user to input a currency abbreviation.
this.currency = this.currency.toUpperCase(); // Converts the user input to Uppercase.
while(this.currency.length <3){ // limits characters input to 3 and converts to Uppercase.
this.currency = prompt("Sorry, that was invalid. Please enter a 3-letter currency abbreviation.","");
this.currency = this.currency.toUpperCase();
}
while(this.currency.length >3){
this.currency = prompt("Sorry, that was invalid. Please enter a 3-letter currency abbreviation.","");
this.currency = this.currency.toUpperCase();
} // End of while statements to verify a 3 character input.

this.amount = prompt("Please enter an amount of money in that currency", ""); // Asks the user to input an amount for that particular currency.
this.amount = parseFloat (this.amount); // Converts a numeric value into a number and anything else into a string.
while (isNaN(this.amount) || this.amount <= 0) { // Checks to see if the input is a valid number and is not empty.
this.amount = prompt("That is not a valid amount. Please enter an amount of money in that currency.", ""); // When entry is not a valid number, will prompt user repeatedly until a number is entered.
this.amount = parseFloat(this.amount); // Checks to see if the input is a valid number and is not empty.
}

this.exchangeRate = prompt("Please enter the AUD exchange rate for this currency", ""); // Asks the user to input the exchange rate to convert to AUD.
this.exchangeRate = parseFloat (this.exchangeRate); // Converts a numeric value into a number and anything else into a string.
while (isNaN(this.exchangeRate) || this.exchangeRate <= 0) { // Checks to see if the input is a valid number and is not empty.
this.exchangeRate = prompt("That entry is not a valid. Please enter the AUD exchange rate for this currency.", ""); // When entry is not a valid number, will prompt user repeatedly until a number is entered.
this.exchangeRate = parseFloat(this.exchangeRate); // Checks to see if the input is a valid number and is not empty.
}


this.ausDollars = Math.floor (this.amount * this.exchangeRate); // Calculates the conversion into AUD.


this.lgstAmount = ""; // has not been defined yet, not sure how to get the largest value from the array and disply "*" in this column if that ausDollars amount is the highest.

}



</script>
</head>

<body>

<h1>Currency exchange</h1>

<script>

document.writeln("<table>"); // Sets up the table.

document.writeln(" <tr>"); // Sets up a header row in the table.
document.writeln(" <th>Currency abbreviation</th>"); // Heading cell.
document.writeln(" <th>Amount</th>"); // Heading cell.
document.writeln(" <th>Exchange rate</th>"); // Heading cell.
document.writeln(" <th>Equivalent Australian dollars</th>"); // Heading cell.
document.writeln(" <th>Largest amount</th>"); // Heading cell.
document.writeln(" </tr>"); // Closes the header row in the table.




for(i=0;i<4;i++){ // Repeats a loop to capture information for each currency 4 times.
var outputData = []; // Define an array.
outputData = new Money(); // Array data is populated with the constructor object function of Money.

document.writeln(" <tr>"); // Starts a new row for each currency.
document.writeln(" <td>" + outputData.currency + "</td>");
document.writeln(" <td>" + outputData.amount + "</td>");
document.writeln(" <td>" + outputData.exchangeRate + "</td>");
document.writeln(" <td>" + outputData.ausDollars + "</td>");
document.writeln(" <td>" + outputData.lgstAmount + "</td>");
document.writeln(" </tr>"); // Closes off the row for each currency.

}

document.writeln("</table>"); // Closes off the table.

</script>
</body>
--------------------


--
Sidonie Cromb

View » | Reply »

]]>
Mon, 28 Aug 2017 08:58:50 GMT http://www.elated.com/forums/topic/6362#post26798
Re: [Graphics and Design] How to change css of Drop Down menu http://www.elated.com/forums/topic/6274/#post26797 From: Molithery


The way to do it is:



Code:
--------------------
.yourClass:active, .yourClass.focus {
property:value;
}
--------------------


View » | Reply »

]]>
Mon, 28 Aug 2017 08:56:24 GMT http://www.elated.com/forums/topic/6274#post26797
Re: [Graphics and Design] Help with css media queries http://www.elated.com/forums/topic/6342/#post26796 From: Molithery


There is not a universal media query sizes. When you are done with your site, you have to test it and code the responsive design. With like google dev tools or online like responsinator you can check where your site/elements breaks and make a query for them to fix it. That is the proper way to do it. Also nothing is comapred to real devices tests, but this is more difficult because you have to buy them.

View » | Reply »

]]>
Mon, 28 Aug 2017 08:52:43 GMT http://www.elated.com/forums/topic/6342#post26796
Re: [Authoring and Programming] Build a CMS in an Afternoon with PHP and MySQL http://www.elated.com/forums/topic/5114/#post26795 From: thinzar


I already add the following code in config.php
define( "DB_DSN", "mysql:host=localhost;dbname=yakiniku_cms;charset=utf8" );
and i newly added code is

mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
mb_http_input('UTF-8');
mb_regex_encoding('UTF-8');

and i change the database and table of collation with utf8_general_ci

please help me!
Sorry for my bad english

[Edited by thinzar on 27-Aug-17 23:40]

--
thinzar

View » | Reply »

]]>
Mon, 28 Aug 2017 04:38:45 GMT http://www.elated.com/forums/topic/5114#post26795
[Authoring and Programming] Expanding sidebar menu using materialize css http://www.elated.com/forums/topic/6361/#post26794 From: vishal8860


I want to implement the expanding sidebar menu as done in the below link https://www.uplabs.com/posts/expanding-sidebar-menu using materialize css.

i have used sidenav from materialize css but could not get the final result. any help is much appreciated.



Code:
--------------------
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/css/materialize.min.css" media="screen,projection"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

<style type="text/css">

main{
margin-left:-200px;
transition: margin-left .3s;
}

#sidenav-overlay {
opacity:0 !important;
}

</style>
</head>

<body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/js/materialize.min.js"></script>

<ul id="slide-out" class="side-nav">
<li>
<div class="user-view">
<div class="background">
</div></li>
<li><a href="#!">First Link</a></li>
<li><a href="#!">Second Link</a></li>
<li><a href="#!">Third Link</a></li>
<li><a href="#!">Fourth Link</a></li>
</ul>


<a href="#" data-activates="slide-out" class="button-collapse"><i class="material-icons">menu</i></a>
<main id="main">
<div class="section">
<div class="container">
<div class="row">
<div class="col s12 m7">
<h1 class="header center-on-small-only">Main section</h1>
</div>
</div>
</div>
</div>
</main>


<script type="text/javascript">
$(".button-collapse").sideNav({
menuWidth: 200,
onOpen:function(){
document.getElementById("main").style.marginLeft = "0px";

},
onClose:function(){
document.getElementById("main").style.marginLeft = "-200px";
},
});
//$('.collapsible').collapsible();
</script>

</body>
</html>
--------------------


View » | Reply »

]]>
Mon, 28 Aug 2017 03:59:23 GMT http://www.elated.com/forums/topic/6361#post26794
Re: [Authoring and Programming] Linking to other website (within a plugin) http://www.elated.com/forums/topic/6360/#post26793 From: selmaporobic


Hi Chris,

Thanks for your reply!

At first it didn't work, but then I deleted the " in your code and it worked!! Great!


Code:
--------------------
href=http://<%= event.url %> <% }
--------------------


This above is what I used now instead of this:


Code:
--------------------
href="<%=event.url %>" <% }
--------------------


Thanks a lot again

View » | Reply »

]]>
Sun, 27 Aug 2017 01:22:41 GMT http://www.elated.com/forums/topic/6360#post26793
Re: [Authoring and Programming] Linking to other website (within a plugin) http://www.elated.com/forums/topic/6360/#post26792 From: chrishirst


The links are missing the protocol (http://) so browsers will normalise it to being 'internal'

so this


Code:
--------------------
href="<%= event.url %>" <% }
--------------------


should be



Code:
--------------------
href=http://"<%= event.url %>" <% } else { %><div <% } %>
--------------------


--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Sat, 26 Aug 2017 22:17:27 GMT http://www.elated.com/forums/topic/6360#post26792
[Authoring and Programming] Linking to other website (within a plugin) http://www.elated.com/forums/topic/6360/#post26791 From: selmaporobic


Hi guys,

I'm quite new to this so I have no idea if this is a really silly question (sorry if it is!).

I set up an event calendar on this page: http://okconnection.world/construction/book-a-date/

using this plugin:
https://wordpress.org/plugins/event-clndr/

The plugin is working great. On the website where I set up the event calendar, the events are listed on the side next to the calendar. When you click on any of those events, it takes you to a link which you can add when editing an event. However, the link always takes you to a link within your own website, it always links to e.g. http://okconnection.world/construction/www.facebook.com instead of just going to www.facebook.com. I have no idea how to change this.

The form where you can add the event link doesn't allow any code, so that's something I already tried.

I looked inside the coding of the plugin and I found this line:
<% if (event.url) { %><a target="<%= event.url_target %>" href="<%= event.url %>" <% } else { %><div <% } %>

Of course, I have no idea what any of this does or means, but maybe the trick is to change something in here.

I would love to hear your ideas on this! Thanks in advance for your time

Kind regards,
Selma

[Edited by selmaporobic on 26-Aug-17 13:18]

View » | Reply »

]]>
Sat, 26 Aug 2017 18:18:37 GMT http://www.elated.com/forums/topic/6360#post26791
Re: [Authoring and Programming] form validation http://www.elated.com/forums/topic/6357/#post26790 From: webchambers


Hi there,

really sorry my head mashed with figures.

I have managed to get this working but i am now stuck on this. If someone types in 600 in the width i want the php if statement to say " is this a oven housing unit. Then two check boxes. Yes and no if yes this statement if no this statement.

Thanks

--
m chambers

View » | Reply »

]]>
Fri, 25 Aug 2017 19:38:20 GMT http://www.elated.com/forums/topic/6357#post26790
Re: [Authoring and Programming] form validation http://www.elated.com/forums/topic/6357/#post26789 From: ChrisGreenwalt


Although it is somehow difficult task but I will try to solve the issue.

View » | Reply »

]]>
Fri, 25 Aug 2017 18:30:02 GMT http://www.elated.com/forums/topic/6357#post26789
Re: [Authoring and Programming] Build a CMS in an Afternoon with PHP and MySQL http://www.elated.com/forums/topic/5114/#post26788 From: chrishirst


Change the character set and the database collation/character set to suit whatever character set you need.

http://php.net/manual/en/function.mb-internal-encoding.php

http://php.net/manual/en/mysqlinfo.concepts.charset.php

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Fri, 25 Aug 2017 17:24:35 GMT http://www.elated.com/forums/topic/5114#post26788
Re: [Authoring and Programming] Build a CMS in an Afternoon with PHP and MySQL http://www.elated.com/forums/topic/5114/#post26786 From: thinzar


I want to ask some question
please answer me

I want to input japanese text but
this demo is not carry japanese text
to database
please answer me!!!

--
thinzar

View » | Reply »

]]>
Fri, 25 Aug 2017 10:39:09 GMT http://www.elated.com/forums/topic/5114#post26786
Re: [Website Management] How to manage a website? http://www.elated.com/forums/topic/5898/#post26785 From: Ronald09


Comment faire une chose pareille?
[url=http://www.rachat-de-credit-simulation.com/budget-surendettement] obtenir crédit [/url]

View » | Reply »

]]>
Wed, 23 Aug 2017 02:08:39 GMT http://www.elated.com/forums/topic/5898#post26785
Re: [Authoring and Programming] Build a CMS in an Afternoon with PHP and MySQL http://www.elated.com/forums/topic/5114/#post26783 From: retard


nevermind guys, after few days of hard nonstop thinking i figured it out, im a genius

View » | Reply »

]]>
Mon, 21 Aug 2017 11:49:56 GMT http://www.elated.com/forums/topic/5114#post26783
Re: [Authoring and Programming] form validation http://www.elated.com/forums/topic/6357/#post26782 From: webchambers


Apologies my brain mashed with figures its the width - 36

--
m chambers

View » | Reply »

]]>
Sat, 19 Aug 2017 05:47:03 GMT http://www.elated.com/forums/topic/6357#post26782
Re: [Authoring and Programming] form validation http://www.elated.com/forums/topic/6357/#post26781 From: chrishirst


Oh! and, how exactly does 500 - 64 = 464????????????????


"if i type in 720 for height and 500 for width" .... ....


... ...
"
1 base 520 x 464 (which is the width -64)
1 top 150 x 464 (which is the width -64)
1 shelf 440 x 464 (which is the width -64)
1 back 702 x 464 (which is the width -64)
"

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Sat, 19 Aug 2017 01:39:34 GMT http://www.elated.com/forums/topic/6357#post26781
Re: [Authoring and Programming] form validation http://www.elated.com/forums/topic/6357/#post26780 From: chrishirst


And the actual PHP code you are using is, ... ...????


AND define "nothing works"

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Sat, 19 Aug 2017 01:32:12 GMT http://www.elated.com/forums/topic/6357#post26780
Re: [Authoring and Programming] Hiding Links....? http://www.elated.com/forums/topic/6358/#post26779 From: chrishirst


https://support.google.com/news/publisher/answer/40543?hl=en-GB

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/


View » | Reply »

]]>
Sat, 19 Aug 2017 01:27:43 GMT http://www.elated.com/forums/topic/6358#post26779