Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.28 seconds.
Search: Posts Made By: rangana
Forum: JavaScript frameworks 10-09-2011, 04:23 PM
Replies: 3
Views: 864
Posted By rangana
This is a little bit trivial, but this happens a...

This is a little bit trivial, but this happens a lot to me that on most cases, setting a border-property to the weird element fixes the issue. I tried it on your end too and it does work.

Try to...
Forum: HTML & CSS 10-06-2011, 11:23 PM
Replies: 4
Views: 571
Posted By rangana
The easiest is to add this: <li...

The easiest is to add this:

<li class="last_child"><a href="working.htm">Working For Us</a></li>


...and on your CSS:

#nav li:nth-child(9), #nav li.last_child {color: #fff;
...
Forum: JavaScript programming 10-06-2011, 12:30 AM
Replies: 2
Views: 435
Posted By rangana
There were extra spaces on your script. It...

There were extra spaces on your script. It existed in at least 4 lines on your script. Find the lines below and remove highlighted:

if (KM1.checked && INCHES2.checked)...
Forum: MySQL 10-05-2011, 08:21 PM
Replies: 1
Views: 515
Posted By rangana
You missed a closing bracket here: ...

You missed a closing bracket here:

if($cpassword == '') {
$errmsg_arr[] = 'Confirm password missing';
$errflag = true;

if($email == '') {
...
Forum: JavaScript programming 10-05-2011, 05:42 PM
Replies: 5
Views: 280
Posted By rangana
Placing the script under window.onload function...

Placing the script under window.onload function is vital so that the script will trigger once the page has fully reload.

...but since you're not taking that suggestion, placing the script after...
Forum: JavaScript programming 10-05-2011, 05:30 PM
Replies: 5
Views: 280
Posted By rangana
well, if you're not taking the first suggestion...

well, if you're not taking the first suggestion which obviously was working, then try:

<html>
<head>
<title>Click the button</title>
</head>
<body>
<form>
<input type="button" value="Click...
Forum: JavaScript programming 10-05-2011, 05:12 PM
Replies: 5
Views: 280
Posted By rangana
window.onload = function() { ...

window.onload = function() {
document.getElementById("y").onclick = x;
}
Forum: JavaScript programming 10-05-2011, 04:14 PM
Replies: 3
Views: 308
Posted By rangana
You need to change this part: var clientinfo...

You need to change this part:

var clientinfo = $(this).attr("clientinfo");


...into your client's website like:

var clientinfo = 'http://codingforums.com';
Forum: JavaScript programming 10-05-2011, 02:41 PM
Replies: 4
Views: 346
Posted By rangana
...then use:...

...then use: location.href='http://www.google.dk/' instead of that window.open()
Forum: JavaScript programming 10-05-2011, 02:23 PM
Replies: 1
Views: 388
Posted By rangana
Please find this modification useful Sam: ...

Please find this modification useful Sam:

$(document).ready(function(){
isSmall = ((screen.width<=1024) && (screen.height<=768));
$("#myController").jFlow({
slides: "#slides",...
Forum: JavaScript programming 10-05-2011, 02:08 PM
Replies: 4
Views: 346
Posted By rangana
Hi Claus, Good day! You can use the top...

Hi Claus,

Good day!

You can use the top and left parameters so the window would open on the top/left values you sent:
...
Forum: HTML & CSS 10-05-2011, 01:53 PM
Replies: 2
Views: 218
Posted By rangana
Just clear the footer div: #footer{ ...

Just clear the footer div:

#footer{
height:41px;
text-align: center;
background-color:red;
width:100%;
clear:both;
}
Forum: JavaScript programming 10-05-2011, 10:42 AM
Replies: 3
Views: 302
Posted By rangana
We couldn't make the script work. It's failing at...

We couldn't make the script work. It's failing at this part:

var rbtn = 'rg'+imgGroup+ptr;
document.getElementById(rbtn).checked = true;


...basically, there's nothing in your markup that...
Forum: PHP 10-05-2011, 10:35 AM
Replies: 10
Views: 657
Posted By rangana
From the PHP manual on setcookie()...

From the PHP manual on setcookie() (http://de3.php.net/setcookie):


...with that said, you might want to try:

setcookie("id", $row['id'], time()+31536000, '/');
setcookie("username",...
Forum: JavaScript programming 10-05-2011, 01:03 AM
Replies: 8
Views: 381
Posted By rangana
Use this script instead: function...

Use this script instead:

function swapImage(el,img_src) {
restoreImage(); // restore all images first
document.getElementById(el).src = img_src;
}

function restoreImage() {
var orig = {...
Forum: JavaScript frameworks 10-05-2011, 12:46 AM
Replies: 6
Views: 1,256
Posted By rangana
This should work: function nextImage() { ...

This should work:

function nextImage() {
var cache='';
cache = cache==''?current+':'+total_images:cache;
if(current < total_images)
$links.eq(current+1).trigger('click');

if(cache ==...
Forum: PHP 10-05-2011, 12:23 AM
Replies: 7
Views: 781
Posted By rangana
The easiest way is to set the dimension via CSS: ...

The easiest way is to set the dimension via CSS:

<img style='padding-right:10px;width:150px;height:100px;' border='0' align='left' alt='' src='<? echo $registry_img1; ?>'
Forum: JavaScript programming 10-05-2011, 12:18 AM
Replies: 10
Views: 396
Posted By rangana
You were missing fields with names "Company",...

You were missing fields with names "Company", "list" and "Message". To fix that, just add another fields in your form with those IDs on them.

Also, on your PHP, you had this:

$to =...
Forum: JavaScript programming 10-05-2011, 12:03 AM
Replies: 10
Views: 396
Posted By rangana
This is the test case I created on my server: ...

This is the test case I created on my server:
...
Forum: JavaScript programming 10-05-2011, 12:01 AM
Replies: 8
Views: 381
Posted By rangana
Alternatively, you might want to use this...

Alternatively, you might want to use this instead:

function swapImage(imgBase, ids_imgs) {
for(var i in ids_imgs)
document.getElementById(i).src = imgBase.imgBase+ids_imgs[i];
}

function...
Forum: JavaScript programming 10-04-2011, 11:50 PM
Replies: 8
Views: 381
Posted By rangana
You have so much brackets going on there. This...

You have so much brackets going on there. This should work:

function swapImage() {
document.getElementById("linkedin").src = "images/glinkedin.png";
document.getElementById("facebook").src =...
Forum: JavaScript programming 10-04-2011, 11:31 PM
Replies: 10
Views: 396
Posted By rangana
Did you modified the values of YOUR_EMAIL and...

Did you modified the values of YOUR_EMAIL and TEST_EMAIL to yours from the link I've given you? I tried it and I did received the email fine.

How about the page where the markup is created? Maybe...
Forum: JavaScript programming 10-04-2011, 09:51 PM
Replies: 10
Views: 396
Posted By rangana
Seemed to work fine for me. I uploaded the script...

Seemed to work fine for me. I uploaded the script you sent immitating the request and got the desired result:
...
Forum: JavaScript programming 10-04-2011, 09:42 PM
Replies: 5
Views: 467
Posted By rangana
Looks good Philip, except from the stylesheet: ...

Looks good Philip, except from the stylesheet:

<style type = "text/css">
.Error {backgroundColor = 'FEF6F4';border = '1px solid #CD0A0A'}
</style>


...should have been:

<style type =...
Forum: JavaScript programming 10-04-2011, 09:34 PM
Replies: 5
Views: 467
Posted By rangana
A very basic one: <style type="text/css"> ...

A very basic one:

<style type="text/css">
.error {
background: #fef6f4;
border:1px solid #cd0a0a;
}
</style>
<script type="text/javascript">
function showErr(el) {
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 02:31 PM.