Posted by
Arnaldo Roman on Nov 4th, 2011 in
Cursos,
Dreamweaver Basico |
Comments Off
Haz una forma de contacto simple usando los siguientes nombres de propiedades:
Name
Email
Message
Crea una pagina php y grabala como sendmail.php
Inserta el siguiente codigo en ese documento.
<?php
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "your@email.com", "Contact Form...
Posted by
Arnaldo Roman on Oct 8th, 2011 in
Dreamweaver Avanzado |
Comments Off
Contact Form
Theis code in the contact.html page
<div id="contact-form">
<?php
if(isset($_POST['submitted'])) {
if($_POST['emailTo'] == '') {
$emailToError = 'You forgot to enter the email address to send to.';
} else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", $_POST['emailTo'])) {
$emailToError = 'Enter a valid...
Posted by
Arnaldo Roman on Sep 30th, 2011 in
Cursos,
Dreamweaver Avanzado |
Comments Off
Lista de Cambios en Carpetas
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
Nivo-Slider
Entrar al folder de Nivo-Slider
Borrar folder Demo, licence y ReadMe
Mover css de Nivo a Folder CSS en el Root del website.
Mover jquery.nivo.slider.js y jquery.nivo.slider.pack.js al folder de JS en el Root.
Entrar al...
Posted by
Arnaldo Roman on Sep 12th, 2011 in
Actionscript 3 |
Comments Off
Make a dynamic field and use the instance name display_txt.
Make an actions layer and insert the next code on it.
stop();
var myURLLoader:URLLoader = new URLLoader();
var myURLRequest:URLRequest = new URLRequest(&amp;amp;amp;amp;amp;quot;content/services.html&amp;amp;amp;amp;amp;quot;);
myURLLoader.load(myURLRequest);
myURLLoader.addEventListener(Event.COMPLETE, dataOK);
function...
Posted by
Arnaldo Roman on Sep 11th, 2011 in
Actionscript 3 |
Comments Off
Insert this code in the first frame of the main Flash movie.
stop();
// This is to Load Navigation
var myLoader:Loader = new Loader(); // create a new instance of the Loader class
var url:URLRequest = new URLRequest("nav.swf"); // in this case both SWFs are in the same folder
myLoader.load(url); // load the SWF file
addChild(myLoader); // add that instance to the display list, adding it to the Stage at...