Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About andostini

  • Rank
  1. hey guys, I want to have several divs width: 100% aligned side by side and a menue, with wich you can navigate through the different divs (internal anchors). Everything works so far but I don't manage to get an horizontal scroll animation with jQuery. I have absolutly no jQuery experience so far. I would be very greatful if you could help me out. Fabian <!DOCTYPE html><html> <head> <title>Franconia-Film</title> <style type="text/css"> html { height: 100%; padding: 0; margin: 0; } body { height: 100%; padding: 0; margin:
  2. The first code snippet comes after checking the password. So it will only be executed, if the login data the user typed in was correct.
  3. Hey guys, I'm programming a very tiny CMS and I just wanted to ask, if you think that this login system is secure enough. The user data is stored in a MySQL Database. Logging the user in after verifying his login data: $_SESSION['username'] = $usernameinput;$_SESSION['addr'] = $_SERVER['REMOTE_ADDR'];session_name("sid");session_set_cookie_params(1800);session_cache_expire(1800); Checking if the user is logged in: if (isset($_SESSION['username'] and $_SESSION['addr'] == $_SERVER['REMOTE_ADDR'])) { //SHOW WEBSITE {else { //SHOW LOGIN FORM } To logout a user, I simpl
  4. Hey Guys, I want an horizontal menue to be centered. The different <li>-tags Have an variable width. Here is an example page: http://www.berkemann.com/ : Here is an example code: <div id="navi"> <ul> <li>Home</li> <li>BiBaBo</li> <li>Tesssst<li> <li>Beeeep</li> </ul></div> #navi { width: 990px; margin: 0 auto; }ul { list-style: none;}ul li { float: left; padding: 20px; border-left: solid 1px;} Of course it would work with width: 25%; but I have an variable amount of list-items and I want
  • Create New...