samd102's Profile
Reputation: 0
Neutral
- Group:
- Members
- Active Posts:
- 146 (0.09 per day)
- Joined:
- 20-November 07
- Profile Views:
- 3,805
- Last Active:
Nov 20 2011 05:53 PM- Currently:
- Offline
My Information
- Member Title:
- Dedicated Member
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
Male
- Location:
- Norfolk
Contact Information
- E-mail:
- Private
- Website URL:
-
http://www.samdelara.co.uk/
- Skype:
-
sam.de.lara
Users Experience
- Experience:
- Intermediate
- Area of Expertise:
- Designer/Coder
Latest Visitors
-
mteam 
30 Jan 2011 - 20:43 -
admin-jag 
18 Jan 2011 - 07:24 -
SkyteMedia 
25 Nov 2010 - 16:10 -
brendon28 
07 Nov 2010 - 17:51 -
darrenbale 
24 Jun 2010 - 22:59
Topics I've Started
-
Javascript slider issue
20 November 2011 - 03:55 PM
Hi - I am having real trouble customising a Javascript slider I am integrating into a new design. I have managed to customise everything so far except that the image (the first image that slides will not sit properly within the list item it is contained in. I have tried setting the padding and margin to 0 for both the ul and the li in the specific styles but no joy. I am now completely stumped. There seems to be some sort of padding or space within the list item (according to firebug) that stops the image from sitting 100% within the li (that is set to the correct height of 980px x 233px).
The link is here: http://samdelara.co....sign/index.html
Can anyone offer any help or pointers? Would be a massive help!!
Sam -
Javascript help
16 June 2011 - 01:30 PM
Hi, I am a total noob when it comes to Javascript (and server-side languages). I am trying to add some fields to a form that is then validated by Javascript. The form to email script is done in php. The problem is whenever I try to add code to the below script, such as: && isPostcode() the form fails and just calls the sendquote.php script.
Can anyone offer any reasons as to why this is? I am unsure is it is a problem with the Javascript or the php script...
Any help would be greatly appreciated. For reference the link is here: http://banquetinghir...tation-form.htm (I didn't design the site!)
Sam
function checkAvailibility()
{
// re-calculate...
calculate ();
if ( isName() && isAddress1() && isTown() && isCounty() && isTel() && isYourEmail() && isFuncDate() && isFuncAdd1() && isFuncTown() && somethingToQuoteFor() && isYourEmailValid() ) {
document.ordersummary.emailQuote.value = "No";
setValue();
return true;
}
else
{
return false;
}
}
function isName() { if (document.ordersummary.Name.value=="") { alert ("\n Please Enter Your Name")
document.ordersummary.Name.focus(); return false; } return true; }
function isAddress1() { if (document.ordersummary.Address1.value=="") { alert ("\n Please Enter Your Address")
document.ordersummary.Address1.focus(); return false; } return true; }
function isTown() { if (document.ordersummary.Town.value=="") { alert ("\n Please Enter Your Town")
document.ordersummary.Town.focus(); return false; } return true; }
function isCounty() { if (document.ordersummary.County.value=="") { alert ("\n Please Enter Your County")
document.ordersummary.County.focus(); return false; } return true; }
//function isPostcode() { if (document.ordersummary.Postcode.value=="") { alert ("\n Please Enter Your Postcode")
//document.ordersummary.Postcode.focus(); return false; } return true; }
function isTel() { if (document.ordersummary.Tel.value=="") { alert ("\n Please Enter Your Telephone Number")
document.ordersummary.Tel.focus(); return false; } return true; }
function isYourEmail() { if (document.ordersummary.YourEmail.value=="") { alert ("\n Please Enter Your Email")
document.ordersummary.YourEmail.focus(); return false; } return true; }
function isFuncDate() { if (document.ordersummary.FuncDate.value=="") { alert ("\n Please Enter Your Function Date")
document.ordersummary.FuncDate.focus(); return false; } return true; }
function isFuncAdd1() { if (document.ordersummary.FuncAdd1.value=="") { alert ("\n Please Enter Your Function Address")
document.ordersummary.FuncAdd1.focus(); return false; } return true; }
function isFuncTown() { if (document.ordersummary.FuncTown.value=="") { alert ("\n Please Enter Your Function Town")
document.ordersummary.FuncTown.focus(); return false; } return true; }
//function isFuncPostcode() { if (document.ordersummary.FuncPostcode.value=="") { alert ("\n Please Enter Your Function Postcode")
//document.ordersummary.FuncPostcode.focus(); return false; } return true; }
function isemailonly() { if (document.ordersummary.emailonly.value=="") { alert ("\n Please Enter Your Email Address")
document.ordersummary.emailonly.focus(); return false; } return true; }
Help




Find My Content
Display name history
Comments
Ben
17 Mar 2008 - 23:03