Jump to content

KeithF

New Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

KeithF's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, i am trying to set up a couple of icons that when clicked slide a div on and another off screen. Like seen here http://www.vogue.co.uk/spy/celebrity-photos/2014/02/04/david-bailey-exhibition-opening when clicking on the men and article icons to the left. This is what i have: http://www.keithfrenchdesigns.com/RunwayMag/index.html My JS: var boxes = $('ul.topLevelNavigation'); $(document).ready(function() { $('.button').click(function(e) { e.preventDefault(); var box = $($(this).attr('href')); if (!box.hasClass("topLevelNavigation")) { var current = $('ul.topLevelNavigation'); current.stop().animate({left: '-25%',}, 500 ).removeClass('topLevelNavigation'); box.stop().animate({left: '25%',}, 500 ).addClass('topLevelNavigation'); } }); }); As you can see i get one partially on screen, but then when i start toggling the icons things began to slide on and off. Another issue is, the first navigation is not even showing correctly on load of the page.. I'm new to JavaScript, so i've gotten a little confused on why it's acting the way it is. Thanks in advance for any help.
  2. Ah, cool. Got it, thanks! ANy idea why i can't move the text lower on the two left watchmarks? I've tried padding them and a margin and nothing.
  3. whoops, i meant to post this nickv2002+demo@gmail.com demoUser I have them set for ":hover" my issue is, since they are separate divs the hover triggers separately, and i'd like them to all trigger at once.
  4. Hello, I have a set of divs inside a main div, the one's inside are links with a hover set. The issue i am having is i would like to have them all change when any of them are scrolled over. You can see what i'm talking about here on the Watchmark Actions icons and the icons beneath them; http://keith.towatchlist.com/marks Also, the text that comes up i cannot seem to get even on the Watchmark Actions and i'm not sure why. Thanks in advance for any help on this!
  5. KeithF

    Error 1064

    Ok, like i said i'm totally new at this :-\ and i thought to set up a password/login system for your website that you had to place your database php in your MySQL on your server. Have i got this totally wrong?
  6. KeithF

    Error 1064

    I'm new at working with MySQL, and while uploading my database to the server i recieved the following error; #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<? $conn = mysql_connect("localhost", "root", "D3f14nc3") or die(mysql_error()' at line 1 <? /** * Connect to the mysql database. */ $conn = mysql_connect("localhost", "username", "password") or die(mysql_error()); mysql_select_db('Defiance', $conn) or die(mysql_error()); ?> Obviously where i have the words username and password, i have my username and password. What's wrong with my code? Thanks in advance for any help.
  7. I'm still kind of lost on how to implement this system. Do i place the pear folder in the root folder through dreamweaver or do i place it somewhere on the server itself through my control panel?
  8. Ok so i read through most of the Pear download instructions and i do not understand where to place the Pear folder i downloaded. Told you i was new at this! Can someone help me out with this, please.
  9. So, first off i am completely new to PHP, i am more into the design side of web development. I have a client that is needing an email form with a upload file script. Currently i am getting this error; Warning: mail() [function.mail]: SMTP server response: 503 RCPT first (#5.5.1) in D:\Hosting\5080907\html\englishlaundry\send-email-form.php on line 27 We encountered an error sending your mail, please notify webmaster@YourCompany.com This is the link; http://www.stealthstyledesigns.com/englishlaundry/approvals.html Here is my code; <?php $sendTo = "tkfrench1@gmail.com"; $subject = "Approval"; $to = $_REQUEST['sendto'] ; $from = $_REQUEST['Email'] ; $name = $_REQUEST['Name'] ; $headers = "From: $from"; $subject = "Web Contact Data"; $fields = array(); $fields{"Name"} = "Name"; $fields{"Company"} = "Company"; $fields{"Email"} = "Email"; $fields{"Project ID"} = "Project ID"; $fields{"Comments"} = "Comments"; $body = "We have received the following information:\n\n"; foreach($fields as $a => $b){ $body .= sprintf("%20s: %s\n",$b,$_REQUEST[$a]); } $headers2 = "From: noreply@YourCompany.com"; $subject2 = "Thank you for contacting us"; $autoreply = "Thank you for contacting us. Somebody will get back to you as soon as possible. If you have any more questions, please feel free to contact us at"; if($from == '') {print "You have not entered an email, please go back and try again";} else { if($name == '') {print "You have not entered a name, please go back and try again";} else { $send = mail($to, $subject, $body, $headers); $send2 = mail($from, $subject2, $autoreply, $headers2); if($send) {header( "Location: http://www.stealthstyledesigns.com/englishlaundry.com/englishlaundry/thanks.html" );} else {print "We encountered an error sending your mail, please notify webmaster@YourCompany.com"; } } } ?> The $autoreply = "Thank you for contacting us. Somebody will get back to you as soon as possible. If you have any more questions, please feel free to contact us at"; is working, but i am not receiving an email at the send to email. You will probably have to explain this to me in layman's terms as this is the first time i have tried this. I am sure it is something simple. Thanks in advance for any help.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.