-
Dance Studio Site
Just launched a web site for Step by Step Dance Studio. What do you think? Link: http://www.sbsd.info/
-
Feedback on Hiking Website
I just changed the color of the text in the footer. Thanks for all of the feedback!
-
Feedback on Hiking Website
Hi everyone, I just finished an informational hiking website with a friend focusing around hikes in San Diego County in California. I know most of you are NOT from California and would just like some feedback on the design itself. Thank you to all who respond! Edit: I realize it doesn't look to swell in IE 6. I'm still working on that. Link: San Diego Outside
-
Javascripts Files Conflicting.... HELP!
Thanks for the advice. I found a jQuery plugin.
-
Javascripts Files Conflicting.... HELP!
Hey Web Designers, I'm currently using jQuery and a javascript file called newsticker.js which gives me a fading news ticker on my site. Before uploading jQuery, the newticker worked perfectly. As soon as I uploaded jQuery to use in another part of my site, the newsticker stopped functioning. I'm guessing they are screwing each other up some how... any idea? I have copied the newsticker.js file below. I'm guessing I shouldn't mess with the jQuery javascript file. Thanks. // Create namespace if (at == undefined) var at = {}; if (at.bartelme == undefined) at.bartelme = {}; // Newsticker Class at.bartelme.newsticker = Class.create(); at.bartelme.newsticker.prototype = { initialize: function() { // Get elements this.interval = 10000; this.container = $("newsticker"); this.messages = $A(this.container.getElementsByTagName("li")); this.number_of_messages = this.messages.length; if (this.number_of_messages == 0) { this.showError(); return false; } this.current_message = 0; this.previous_message = null; // Create toggle button this.toggle_button = document.createElement("a"); this.toggle_button.href = "#"; this.toggle_button.id = "togglenewsticker"; this.toggle_button.innerHTML = "Toggle"; Event.observe(this.toggle_button, "click", this.toggle.bindAsEventListener(this), false); this.container.appendChild(this.toggle_button); this.hideMessages(); this.showMessage(); // Install timer this.timer = setInterval(this.showMessage.bind(this), this.interval); }, showMessage: function() { Effect.Appear(this.messages[this.current_message]); setTimeout(this.fadeMessage.bind(this), this.interval-2000); if (this.current_message < this.number_of_messages-1) { this.previous_message = this.current_message; this.current_message = this.current_message + 1; } else { this.current_message = 0; this.previous_message = this.number_of_messages - 1; } }, fadeMessage: function() { Effect.Fade(this.messages[this.previous_message]); }, hideMessages: function() { this.messages.each(function(message) { Element.hide(message); }) }, toggle: function() { Effect.BlindUp(this.container, 1000); }, showError: function() { if (this.container.getElementsByTagName("ul").length == 0) { this.list = document.createElement("ul"); this.container.appendChild(this.list); } else { this.list = this.container.getElementsByTagName("ul")[0]; } this.errorMessage = document.createElement("li"); this.errorMessage.className = "error"; this.errorMessage.innerHTML = "Could not retrieve data"; this.list.appendChild(this.errorMessage); } } Event.observe(window, "load", function(){new at.bartelme.newsticker()}, false);
-
Encrypt/Protect Password in PhpMyAdmin
The encruption worked perfectly, but when I tried to log in again, I keep getting "Wrong user name or password". What am I doing wrong? <?php session_start(); $host="****"; // Host name $username="***"; // Mysql username $password="***"; // Mysql password $db_name="***"; // Database name $tbl_name="users"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $NickName=$_POST['NickName']; $Password=$_POST['Password']; // To protect MySQL injection (more detail about MySQL injection) $NickName = stripslashes($NickName); $Password = stripslashes($Password); $NickName = mysql_real_escape_string($NickName); $Password = mysql_real_escape_string($Password); $sql="SELECT * FROM $tbl_name WHERE NickName='$NickName' and Password=MD5('$Password')"; $result=mysql_query($sql); // Mysql_num_row is counting table row $count=mysql_num_rows($result); // If result matched $myusername and $mypassword, table row must be 1 row if($count==1){ // Register $myusername, $mypassword and redirect to file "login_success.php" while($row=mysql_fetch_array($result)) { extract($row); $_SESSION['ID']=$ID; $_SESSION['FirstName']=$FirstName; $_SESSION['LastName']=$LastName; $_SESSION['NickName']=$NickName; $_SESSION['Email']=$Email; $_SESSION['UserType']=$UserType; } header('Location: /member/'); } else { echo "Wrong Username or Password"; } ?>
-
Encrypt/Protect Password in PhpMyAdmin
Just what I was looking for. Thank you!
-
Encrypt/Protect Password in PhpMyAdmin
Hello, I have a table with a Password field that I want to be encrypted so that I won't be able to see everyone's passwords. I've seen it done before but can no longer find the site that explained how to do it. Can anyone help? Thanks, Adam
-
Reliable Shopping Cart?
Hello world, Can anyone suggest a really great shopping cart? I am looking for one that is completely customizable and is safely secured. Thank you.
-
CSS Wrapper Stretch
I'm trying to get the #wrapper to stretch to the top and bottom of the browser window.... but no cigar. the site is www.sdsuama.com and the css for the wrapper is: #wrapper { width: 900px; margin: 0 auto; background:url(../images/bkg-ama.gif); background-repeat:repeat-y; overflow:auto; z-index:1; padding-left: 20px; padding-right: 20px; padding-top:11px; vertical-align:top; }
-
CSS Navbar Help
Thank you. But how would I get the effect of the background image changing when you hover over it?
-
CSS Navbar Help
Hello. I'm trying to make a completely CSS navbar and am encountering some issues. So far it looks like this: link But I want it to look like this: link Below is the code, thanks in advance. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> <style type="text/css"> #nav { height: 51px; width: 800px; } #nav li { list-style-type: none; display:inline; padding:0; margin:0; } #nav-home a { font-family:Arial, Helvetica, sans-serif; color:#666666; font-size:14px; font-weight:700; background:url(../files/navbar_r1_c1.gif); background-repeat:no-repeat; width: 141px; height: 51; text-decoration:none; margin: 20px; } #nav-home a:hover { font-family:Arial, Helvetica, sans-serif; color:#F4F4F4; font-size:14px; font-weight:700; background:url(../files/navbar_r1_c1_f2.gif); background-repeat:no-repeat; width: 141px; height: 51; text-decoration:none; } #nav-rest a { font-family:Arial, Helvetica, sans-serif; color:#666666; font-size:14px; font-weight:700; background:url(../files/navbar-temp-over.gif); background-repeat:repeat-x; height: 51; text-decoration:none; margin: 10px; } #nav-rest a:hover { font-family:Arial, Helvetica, sans-serif; color:#F4F4F4; font-size:14px; font-weight:700; background:url(../files/navbar_r1_c2_f2.gif); background-repeat:repeat-x; width: 141px; height: 51; text-decoration:none; } #nav-aboutus a { font-family:Arial, Helvetica, sans-serif; color:#666666; font-size:14px; font-weight:700; background:url(../files/navbar_r1_c8.gif); width: 181px; height: 51; text-decoration:none; margin: 20px; } #nav-aboutus a:hover { font-family:Arial, Helvetica, sans-serif; color:#F4F4F4; font-size:14px; font-weight:700; background:url(../files/navbar_r1_c8_f2.gif); background-repeat:no-repeat; width: 181px; height: 51; text-decoration:none; } </style> </head> <body> <div id="nav"> <ul> <li id="nav-home"><a href="#">home</a></li> <li id="nav-rest"><a href="#">info</a></li> <li id="nav-rest"><a href="#">news</a></li> <li id="nav-rest"><a href="#">events</a></li> <li id="nav-rest"><a href="#">blog</a></li> <li id="nav-rest"><a href="#">message board</a></li> <li id="nav-rest"><a href="#">alumni</a></li> <li id="nav-rest"><a href="#">media</a></li> <li id="nav-aboutus"><a href="#">about us</a></li> </ul> </div> </body> </html>
-
Looking for feedback
Thank you notbanksy. After posting this, I have a completely different perspective on the site. I have always believed that the first idea is always the worst. That was my first idea, thank you for the rest.
-
Looking for feedback
Rachael, Thank you but I think I just fixed them. The code looks better but I am still having problems with validation. I keep getting this warning: Error Line 33, Column 17: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
-
Looking for feedback
Wow! This is just what I needed. Thank you all for contributing. Yes, I am new to CSS. I have been trying to use "php include" in my files which I now know that it is not letting my site validate. It adds extra "<html>" and such. What do you think I should use instead? Again, thank you all.