Jump to content

Nic727

Members
  • Posts

    269
  • Joined

  • Last visited

Posts posted by Nic727

  1. Hi,

     

    I have an accordion on my website using a wordpress plugin and I would like to know if it's possible with javascript or php to change tabs position?

     

    I would like my tabs on top of the content with a kind of fade-in/fade-out effect when choosing another tab.

     

    Is it possible?

     

     

    Thank you

  2. Hi,

     

    I don't really know how to call it, but for my wordpress page, I'm looking for something to change the page content without going on another page.

     

    I create something with paint that represent what I'm looking for.

     

    For exemple, when I'm going on the media page, I would like to be on the "Picture" section automatically, but have the option to show "Videos or Interview". Don't know if a plugin exist for this, but could be nice.

     

    If nothing exist, I will do that with TEXT only with links.

     

     

    Thank you

  3. Hi,

     

    For my wordpress website, I have a page with some events and I would like to know how I can add a way to download .ics or .ical files for each events to import in Outlook or Google Calendar. Is it too much complicated?

     

    Thank you

  4. Hi,

     

    I have my first real contract for my school class and the client is from a Therapy company (It's a kind of competition between all students and we can win money at the end). She want a way for people to chat/call with them via Skype and I would like your advice, because I don't really know how it could work. Patient should pay before the appointment.

     

    So my idea was to create a Skype link where it goes on a page explaining how it work and that they need to contact the company first to have a link to pay via paypal and to have the date of the appointment. After that, I don't know how the link to the Skype account should work. I don't want patient to use this link to contact them every days.

     

    Do you have an idea?

     

    I found a plugin to make appointment online and pay at the same times, but I really don't know how I could integrate Skype.

     

    Thank you

     

    PS: I'm using Wordpress.

  5. Hi, I'm a bit better in HTML5 and CSS3 than last time (not enought to start from scratch), but I would like to know how companies are creating their website and newspaper. First of all, website. I started using Wordpress last week (I'm already using Wordpress.com, but now it's from Wordpress.org) and it's easy to post news and add sections to a website. It's a bit complicated to make the template you want, but whatever. Wordpress is using PHP and I'm a bit lost with that. As I know, PHP is to post news and add them dynamically on the website.The problem is that I know that some website are not using Wordpress, so I would like to know what they are using. For exemple, some website I'm following : http://elderscrollsonline.comhttp://riseofflight.com/Blogs/default.aspx Secondly, I would like to know how they are creating awesome newspaper. The Wordpress newspapers have a default design, but do you need to use HTML5 into the email? How do you do that? That's an exemple I received a couple of days ago :1422673269-news.png

     

     

     

    Thank you very much.

     

    I didn't know where to post that and I hope it's clear. :)

  6. hum... The link work for me. Try on my server : http://aqua.nicolas-duclos.com/capture-2My code :

    <div id="carousel-example" class="carousel slide" data-ride="carousel" style="border:2px solid #e1e1e1;">                     <div class="carousel-inner">      <div class="item active">          <a href="img/1.jpg" data-lightbox="image-1" data-title="My caption"><img src="img/1.jpg" alt="" /></a>                                 </div>      <div class="item">          <a href="img/2.jpg" data-lightbox="image-1" data-title="My caption"><img src="img/2.jpg" alt="" /></a>                                </div>      <div class="item">          <a href="img/3.jpg" data-lightbox="image-1" data-title="My caption"><img src="img/3.jpg" alt="" /></a>                                 </div>   </div>         <!--INDICATORS-->            <ol class="carousel-indicators">              <li data-target="#carousel-example" data-slide-to="0" class="active"></li>              <li data-target="#carousel-example" data-slide-to="1"></li>              <li data-target="#carousel-example" data-slide-to="2"></li>            </ol>         <!--PREVIUS-NEXT BUTTONS-->		<a class="left carousel-control" href="#carousel-example" data-slide="prev">		<span class="glyphicon glyphicon-chevron-left"></span>		</a>		<a class="right carousel-control" href="#carousel-example" data-slide="next">		<span class="glyphicon glyphicon-chevron-right"></span>		</a></div>
  7. Thank you very much. I found that too, but I need more explication about that : http://www.freecontactform.com/html_form.php And I tested my contact form another time :http://image.noelshack.com/fichiers/2014/50/1418173249-email3.pnghttp://image.noelshack.com/fichiers/2014/50/1418173250-email2.pnghttp://image.noelshack.com/fichiers/2014/50/1418173250-email1.pngI hope you understand my problem with that. It's my first contact form and I'm not good in php.

  8. Because it's floated you can't move it relative to the line of text. Try having the image inside the same element as the text is. You can even remove the float: left part, it won't be necessary.

    <img id="logo" src="img/logo2.png" width="30px" alt="logo" /> <span class="light">Name</span> Last Name#logo {    vertical-align: middle;}
    Vertical-align can take numeric values as well, if you want to be specific with the vertical positioning of the image relative to the text that's next to it.

     

    Thank you, I just put a <div> to regroup the logo and the text and it worked with your code.Thank you
  9. Hi, I did my first contact form ever and I have a weird problem with my php or the contact form itself. I tested my contact form and that's what I received : From : anonymous@server283.comSubject : message from my website and in the message itself I have : Name : Didn't put a name in my testCity : Didn't put a city in my test Phone number : I don't have a phone number label...Email : ___@hotmail.com So I would like to have something like that : From : email entered in the email formSubject : Subject entered on the form and in the message : Name :City :Email That's what I have in my HTML

    <form method="post" action="insert.php">    <P>Required field*</p>div class="row">		<div class="half left">	    <label>Name*</label>    <input name="prenom" id="name" type="text">	</div>     	<div class="half right">	    <label>Last Name</label>    <input name="nom" id="lastname" type="text">    </div></div>	<div class="row">		<label>Email*</label>	<input name="email" id="email" type="email"></div>	 <div class="row">		<label>Country</label>	<input name="pays" id="country" type="text"></div>	<div class="row">		<label>Subject*</label>    <input name="subject" id="sujet" type="text"></div>	<div class="row">	    <label>Your message*</label>    <textarea name="message"></textarea></div>                <input id="submit" name="submit" type="submit" value="sent">        </form> 
    And my PHP
    <?php $filled = true; $required = array("name", "email", "subject"); //all the required fields// Get values from form$prenom=$_POST['prenom'];$nom=$_POST['nom'];$email=$_POST['email'];$pays=$_POST['pays'];$pays=$_POST['sujet'];$to = "contact@nicolas-duclos.com";$subject = "Message from my website";$message = " Name: " . $name . "rn City: " . $city . "rn Téléhone: " . $phone . "rn Email: " . $email;$from = "Message from my website";$headers = "from:" . $from . "rn";$headers .= "Content-type: text/plain; charset=UTF-8" . "rn"; if(@mail($to,$subject,$message,$headers)){  print "Thank you!"}else{  echo "Sorry, we had a problem.";}?>
    So what's wrong?And how to have the "Thank you!" message under the submit button instead of having another white page with that?How to put required field working?Thank you for your help :)
  10. Hi,

     

    I have a problem with my logo position :

     

    1418065480-logo.png

     

    I want it more on the top to be centered with my name.

    I tried margin-bottom and padding-bottom, but it doesn't work.

     

    Thank you for your help

     

     

     

    My code :

     <div class="logo"><img src="img/logo2.png" width="30px" alt="logo" /></div>  <span class="light">Name</span> Last Name
    .logo{float: left;margin-right: 10px;cursor: pointer;}
  11. Hi, I was looking for a background from Bing and in the source code the picture appear in a link like ://az29176.vo.msecnd.net/videocontent/SiberianChipmunk_shutterstock_v2433068_768_FR-CA1456170433.jpgWhat //az29176.vo.msecnd.net/ mean?

     

    The picture is really cute for my background wallpaper.

  12. Yeah, but I can't find the one I want on google. I'm looking for lightbox gallery, but it's not what I'm looking for. I will try to find something again and I will post back if I have the solution.

  13. ok, but can you help me to understand this :

    $from = 'From: TangledDemo';     $to = 'contact@nicolas-duclos.com';     $subject = 'Hello';    $human = $_POST['human'];			    $body = "From: $namen E-Mail: $emailn Message:n $message";				    if ($_POST['submit'] && $human == '4') {				         if (mail ($to, $subject, $body, $from)) { 	    echo '<p>Your message has been sent!</p>';	} else { 	    echo '<p>Something went wrong, go back and try again!</p>'; 	}     } else if ($_POST['submit'] && $human != '4') {	echo '<p>You answered the anti-spam question incorrectly!</p>';    }?>

    I don't have a php file in my folder, because I don't really know what it suppose to do. I just changed :form method="post" action="index.php">toform method="post" action="index.html">

     

    but I don't know if it's good. If not, I will try to find something easier on the web.

    I'm learning HTML5 and CSS3, but I don't understand PHP yet.

  14. Hi,

     

    I would like to have help, because I'm trying to create a contact form and was following this tutorial, but now I'm lost with php...

     

    That's what I have :

     

    1416511173-broken.png

     

    First of all, my submit button is weird. I'm supposed to have a text inside, but it's only show the blue background.

    It's supposed to be like that :

    http://image.noelshack.com/fichiers/2014/47/1416511250-envoyer.gif but smaller

     

    My goal is to have something like that :

    1416511173-form.png

     

    That's my HTML5 and my CSS3 :

    <form method="post" action="index.html">    <P>Les champs sont obligatoires*</p>		    <label>Prénom*</label>    <input name="prenom" type="text">                <label>Nom</label>    <input name="nom" type="text">    	<label>Email*</label>	<input name="email" type="email">	 	<label>Pays</label>	<input name="pays" type="text">	 	<label>Sujet*</label>    <input name="sujet" type="text">	    <label>Votre message*</label>    <textarea name="message"></textarea>                <input id="submit" name="submit" type="submit" value="envoyer">        </form><?php    $premon = $_POST['prenom'];	$nom = $_POST['nom'];	$email = $_POST['email'];	$pays = $_POST['pays'];    $message = $_POST['message'];    $from = 'From: TangledDemo';     $to = 'contact@nicolas-duclos.com';     $subject = 'Hello';    $human = $_POST['human'];			    $body = "From: $namen E-Mail: $emailn Message:n $message";				    if ($_POST['submit'] && $human == '4') {				         if (mail ($to, $subject, $body, $from)) { 	    echo '<p>Your message has been sent!</p>';	} else { 	    echo '<p>Something went wrong, go back and try again!</p>'; 	}     } else if ($_POST['submit'] && $human != '4') {	echo '<p>You answered the anti-spam question incorrectly!</p>';    }?>
    nput, textarea {	width:439px;	height:27px;	background:#F7F7F7;	border:1px solid #dedede;	padding:10px;	margin-top:3px;	font-size:0.9em;	color:#3a3a3a;	font-style: italic;	border-radius:2px;}textarea {	height:213px;	resize:none;}input:focus, textarea:focus {    border:1px solid blue;}#submit {    width:127px;    height:38px;    background:url(../img/envoyer.gif);    text-indent:-9999px;    border:none;    margin-top:20px;    cursor:pointer;}	#submit:hover {	    opacity:.9;	}

    What I would like to know is how to make that when you click on the submit button, you have a message appearing and the form disappearing?

    For the moment, when I click on my weird submit button, it's going on the top of the page.

     

    In the php, I don't understand what to do with $from = 'From: TangledDemo'; and $subject = 'Hello';

    How to make fields required?

     

    Thank you for your help ;)

  15. Thank youEDIT:I know that with <select> you can make stuffs appearing like you want, but with <datalist>, I'm looking into a better dynamic search option when you write and you have to options matching the letter. All work fine, but when you click to write, you have the full list, but I would like to have only the top 5 option and a scroll bar and be able to write what you are looking for at the same time. I tried with IE11 and Chrome; With Chrome, you don't have a scroll bar, but with IE11, but you have about 11 options listed. Whatever, I found that : http://harvesthq.github.io/chosen

     

    But it could be nice if someone who are working to develop HTML5 to be able to add CSS styles and more option to <datalist>, because it's a great dynamic tag, but we can't do what we want. :(

    Thank you

×
×
  • Create New...