Search results

  1. diabolo

    [WordPress] How to call shortcode function directly and pass $atts

    I am using the Media Library Categories plugin. It does not have much documentation, so I have concluded the way to implement it would be using the shortcode [mediacategories categories="6"]. I want to implement this directly into the theme template. So I have tried: <?php...
  2. diabolo

    jQuery remove() and append() dilemma

    I didn't exactly know how to phrase my problem, so i just wrote dilemma. :] http://jsfiddle.net/imHavoc/kGKJJ/9/ My Dilemma: When you 'delete' any li from the Board or Admin it should go to Uncategorized. Good. When you 'delete' from Uncategorized, it should remove the li entirely...
  3. diabolo

    jQuery LavaLamp broken in Chrome

    LavaLamp does not work correctly in Chrome for me w/o the google analytics code. I copied the source of the website which already included the ga code. Any idea why lavalamp is breaking? No-Analytics Yes-Analytics
  4. diabolo

    Make Art. Save Art. Scholarship

    Hey guys, I'm in need of financial aid and I found this scholarship that the 5 wallpaper designs with the most "shares" will receive a prize and the grand prize is a 1000 dollar scholarship. A share is basically using facebook or twitter to promote my art. There are two "widgets" at the bottom...
  5. diabolo

    Fancybox is very moody

    So fancybox works on one of my machines (XP) and probably works for most of the users out there in the world, but it doesnt work on my other machine (Vista). Javscript is enabled. And it is not only one browser, but across all browsers it would just overlay then and freeze. Does anybody know...
  6. diabolo

    Imagick ThumbnailImage crashe Apache on XAMPP

    I'm testing my script out on my localhost and i just installed the Imagick extension it shows up in PHP info, so I know it is there. Also I ran a test script through (http://valokuva.org/?p=112Z) and that displays the result. But for some reason when I try to thumbnail an image...
  7. diabolo

    PHP Upload Handler

    I am working using the Java Applet JumpLoader. They supplied an Upload Handler to partition files and write them to the correct directory. I also want to create thumbnails so I got Imagick to do it for me, but with the thumbnail script it wont even upload the original image. <?php...
  8. diabolo

    Search for Multi-File Upload Script/Applet

    I am looking for a script/applet that I can select multiple files to upload, similar to the Java Apple Facebook uses to upload photos. well actually Im looking for a free version of that. xD I need it to be able to work with PHP and/or have its own image resizing. I have spent hours googling...
  9. diabolo

    PHP Pagination

    SELECT * FROM `textbook` WHERE `class`=:class ORDER BY `textbook`.`ch` + ---- + ----- + -- + ------ + ------ + | .id. | class | ch | sTitle | fTitle | + ---- + ----- + -- + ------ + ------ + | 6... | CK2.. | 1. | ...... | ...... | | 7... | CK2.. | 3. | ...... | ...... | | 8... |...
  10. diabolo

    Javascript change style attribute of span

    So everyone that has a Facebook knows that there is a feature where you can hide content from 'non-members' of a group/fan page. I, if not many, have found a way to bypass this. Since Facebook does not actually keep the content away from 'non-members' rather it just hides the content with some...
  11. diabolo

    Need Color/Design Ideas

    I have already done a draft, but looking at it again I missed one really big thing. COLOR. so I am asking you guys for any ideas, design elements, whatever that I can incorporate color into it. the people with the ideas I incorporate will receive a prize.
  12. diabolo

    404 Error

    I'm getting a 404 error when I try to access my website.
  13. diabolo

    PHP SQL Query not working correctly

    http://new.monmouthchineseschool.com/curriculum/cantonese/textbook.php if you take a look at 'C1' that is how all the links look like. this is the mysql db for that class CREATE TABLE IF NOT EXISTS `mon_textbook` ( `id` int(11) NOT NULL auto_increment, `class` varchar(255) NOT NULL...
  14. diabolo

    Inserting chinese text into mysql

    <?php define ('ROOT', '../'); include ROOT.'config.php'; if(isset($_POST['submit'])) { $chapters = $_POST['chapters']; $class = $_POST['class']; $chapters = str_replace('課', '課 <br />', $chapters); $chaptersRefined = str_replace('課', '', $chapters); $chaptersRefined =...
  15. diabolo

    Apple iPad

    http://www.apple.com/ipad/ What do you guys think? I might get one of these for college depending on how well it performs. I think it would be really great like an iTouch except bigger and more powerful. Im not sure how I would go around transporting it from classes. It's about 10in by 7in so...
  16. diabolo

    php connecting to db

    I have never worked with PHP classes or PDO before. But I think it is time that I start to learn before things get really outdated. so as I was googling my way trying to find examples/tutorials. two things stood out to me. 1) PDO 2) custom DB classes I was wondering which one is better to use...
  17. diabolo

    PHP converting chinese character to unicode

    Since PHP6 has not come out yet. Unicode Function is not available yet. I found a way by using Javascript to encode the Chinese characters, but I was hoping more of a server-side approach. OR' if converting to unicode is lengthy and confusing. What would be the best way to display chinese...
  18. diabolo

    [PHP] Search a multidimensional array

    $textbook = array( 'cantonese' => array( 'class1' => array( array('1', 'One - Two', 'Chapter 1 to Chapter 2', 'text'), array('3', 'Three - Five', 'Chapter 3 to Chapter5', 'text'), array('6', 'Six - Eight', 'Chapter 6 to...
  19. diabolo

    Web Safe Chinese Font

    I found this website: http://www.kavoir.com/2009/01/what-are-the-chinese-or-mandarin-web-safe-fonts.html but it says for the majority of Chinese browsers. My target audience is Asian-American community in the US, so they would have MSIE, FF, etc. I also found, font-embedding, but im leaning...
  20. diabolo

    Expand div height to fit parent

    <div class="singlewhiteBox_body floatContainer" id="textbook"> <script> $(document).ready(function() { $('.row, .lastRow').hover(function() { var ID = $(this).attr('id'); //alert(ID)...
Top