Jump to content

dreamwest

Members
  • Posts

    1,223
  • Joined

  • Last visited

    Never

Everything posted by dreamwest

  1. I use http://www.pixlr.com/editor/ for all my logos mainly because of layers and free distort
  2. Im building a custom lightbox which overlays he entire screen. Is it important to use both visibility:hidden; and display:none; ?? Im currently only using display:none; and seems to work in all browsers even in IE6 with all its "unexpected features" Heres is what ive done: <style> .wiz_slide{ background:#000; position:relative;height:100%;width:100%;left:0px;top:0px;display:none;position:absolute;z-index:999;position:fixed;color:#333;overflow:auto; } .wiz_slide.html{ height:100%;overflow:auto; } .wiz_slide_lg{ width:900px;position:relative;background:#000;overflow:auto; } </style> <script> function slider(id){ document.getElementById('wiz_slide').style.display = "block"; document.getElementById('wiz_slide_img').innerHTML = "<img src='/tmb/full/pic.jpg' width='894px' height='520px' />"; } </script> <span id='slide' style='cursor:pointer;' onclick='slider("wiz_slide"); '>Click to enlarge</span> <div id='wiz_slide' align='center' class='wiz_slide'> <div id="wiz_slide_lg" align='center' class='wiz_slide_lg'> <span id="wiz_slide_lg_img"></span> </div> </div>
  3. SELECT * FROM Events WHERE eventid='$eventid' LIMIT 1
  4. Attachments http://www.wizecho.com/nav=php&s=email
  5. Remove the braces {} SELECT * from test_user_data WHERE MATCH streng AGAINST('+dell +6000 +inspiron' IN BOOLEAN MODE) ORDER BY streng LIMIT 5
  6. So you need both words? Just add a "+". You can find all the options here http://www.wizecho.com/nav=php&s=php_mysql_boolean foreach(explode(' ',$title) as $word) $q .= "+{$word}* "; $sql_res = mysql_query("SELECT * from test_user_data WHERE MATCH streng AGAINST('{$q}' IN BOOLEAN MODE) ORDER BY streng LIMIT 5");
  7. foreach(explode(' ',$title) as $word) $q .= "{$word}* "; $sql_res = mysql_query("SELECT * from test_user_data WHERE MATCH streng AGAINST('{$q}' IN BOOLEAN MODE) ORDER BY streng LIMIT 5"); http://www.wizecho.com/nav=php&s=php_mysql_boolean
  8. echo htmlspecialchars("this is & that");
  9. Im trying to position a box in the center of the screen like lightbox does <div style="position:absolute;top:100px;left:140px;width:450px;height:400px;z-index:999;position:fixed;"> This is in the center of the screen</div>
  10. dreamwest

    font-family

    What does something like this mean: font-family:"lucida grande",tahoma,verdana,arial,sans-serif; Im assuming if the browser doent support lucida grande itll use one of the following styles.
  11. dreamwest

    FXV

    Can someone suggest a free or cheap VFX (Video FX) software for windows.
  12. # instruct browser to download multimedia files AddType application/octet-stream .avi AddType application/octet-stream .mpg AddType application/octet-stream .wmv AddType application/octet-stream .mp4 AddType application/octet-stream .mov AddType application/octet-stream .3gp AddType application/octet-stream .zip
  13. Im trying to get an innerhtml value to increment by 1 <script> function up(){ document.getElementById("cnt").innerHTML = document.getElementById('cnt') + 1; } </script> <span id='cnt'>0</span> <span style='cursor:pointer;' onclick='up(); '>Go up</span>
  14. RewriteRule ^$(.*) userprofile.php?username=$1 [L,QSA]
  15. Even if you have the money to buy books, the library is the best place to go because it will have lots of hidden treasures in the same section - and its free
  16. I got a toshiba satellite of ebay for $499, it has 6GB ram , Intel celeron 2.4Ghz processor and 250GB drive - a shite load better than my old desktop ..I sleep with my laptop, it sits in a little nook on the corner of my bed, when i wake up i just open it up without getting up - its a great way to start the day
  17. Its most likely the class. But doing it yourself is easier than you think. http://www.wizecho.com/nav=php&s=email
  18. Why does krsort return the array as "1"? $m = array('34' => 1122, '6' => 1944, '9' => 1710); print_r($m); //outputs: Array ( [34] => 1122 [6] => 1944 [9] => 1710 ) print_r(krsort($m)); //outputs: 1 What i need is the output to be Array ( [6] => 1944 [9] => 1710 [34] => 1122)
  19. as far as i know mysql cant search for corpus pairs, so is used only to retrieve pointers in the inverted doc. so a paired set like {21,4|45,5|78,9} means word "funny" appears in doc 4 at position 21 etc.. Ive read you can also use skipping to make the retrieval faster ..but for now im experimenting all methods
  20. Im trying to create a Sparse index where pairs of numbers point to locations in a document. How would you store this data?
  21. Try this and see if you get an error. Also update dosnt have an WHERE clause to update, itll update the entire table <?php if(!$con = mysql_connect("localhost","dbname","dbpassword")){ die('Could not connect: ' . mysql_error()); }else{ echo 'Connected successfully'; } @mysql_select_db("my_db", $con); mysql_query("UPDATE `msm_content` SET `created` = '2011-01-02 00:00:00', `modified` = '2011-01-01 00:00:00' ")or die(mysql_error()); echo 'Query Updated successfully'; mysql_close($con); ?>
×
×
  • 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.