Jump to content

stevehossy

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

stevehossy's Achievements

Member

Member (2/5)

0

Reputation

  1. I have the windows 7 beta and im using the ie there, im guessing its ie 8. Why wont ie read this script? On mozilla the popup box appears and i can read the text inside, but for ie i only see the box and no words. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;OtherUA=4" /> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <head> <title>test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css" media="screen"> <!-- .linkpopup { position: relative; } .linkpopup span { background-color: #ccc; border: 1px solid #000; display: block; left: 0; padding: .25em; position: absolute; top: -1.75em; } .linkpopup:link span, .linkpopup:visited span { visibility: hidden; } .linkpopup:hover span, .linkpopup:focus span, .linkpopup:active span { color: #000; text-decoration: none; visibility: visible; } --> </style> </head> <body> <br /><br /><br /><br /><br /><br /><br /><br /><br /> <a href="blah.html" class="linkpopup">Link text <span>Description text</span></a> </body> </html>
  2. oh sorry i did not know that
  3. I got this script, when you mouseover a link a popup box appears. THis is what i want, but can someone please redo this script for me so that it doesnt have to be a link? I tried to just remove the </a> but it messes up the script. Here it is. Thanks! <!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" xml:lang="en" lang="en"> <head> <title>test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css" media="screen"> <!-- .linkpopup { position: relative; } .linkpopup span { background-color: #ccc; border: 1px solid #000; display: block; left: 0; padding: .25em; position: absolute; top: -1.75em; } .linkpopup:link span, .linkpopup:visited span { visibility: hidden; } .linkpopup:hover span, .linkpopup:focus span, .linkpopup:active span { color: #000; text-decoration: none; visibility: visible; } --> </style> </head> <body> <br /><br /><br /><br /><br /><br /><br /><br /><br /> <a href="blah.html" class="linkpopup">Link text <span>Description text</span></a> </body> </html>
  4. i found a solution of just using &nbsp, but if its possible to still use margins please tell me.
  5. I have text inside a image, i did tr align="left", but the problem is that it goes all the way to the left, and that is a problem for me. how can i set like a 1cm margin from left?
  6. so simple. Thanks thats exactly what i needed.
  7. WHat i want is to have something like user print is 3 so like print echo 3 times, repeat it as many times as the user has set. if user has 2, echo 'Hi'; shows up 2x, if user has 3 then it shows up 3x, long story why i need it but is it possible?
  8. What i want to do is, when someone scrolls over the item, a popup box comes up and shows more information about the item. I found many scripts on this, but the problem is that when i try to do this for 2 items, the same info comes up for both.
  9. The form where the user logins. Say the input name for the password box is password. YOu would put where password='{$_POST['password']}' so it should be mysql_query("SELECT * FROM `officers` WHERE password='{$_POST['password']}' ");
  10. ("SELECT * FROM `officers` WHERE username=postedusername"); ? your query just wants to get data from ever user in officers table. you need to limit it by putting WHERE the username or password equals the posted pass or username in login page.
  11. would md5 decryption be much better than if i set up my own? What ive done is string replace, and for example the letter a turns into f42ihnfnb or whatever.. Is there anyway someone can find out the combination, i mean the only way they can find out what replaces the letters is by hacking cpanel, so md5 wont help anyway. Is this safe or should i use md5. Main reason why i want this is for pass resend, you cannot decrpyt md5...
  12. sasa thats exactly what i needed.. Thank you!
  13. Heres example $code_entities_match = array('a','b'); $code_entities_replace = array('cb','de'); If i type ab i want it to be cbde... but, because when cb replaces a, theres a b, and the b gets replaced to de. so if you dont understand, i want the outcome of this to be cbde, but it turns out to be cde. how can i fix this?
  14. I need a php script that counts the number of words. This is to prevent a certain loop in my textbox that causes scrolling. What i want is to search the number of words used. For example $_POST['text'] if ($_POST['text'] < 5 words) { error }
×
×
  • 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.