Jump to content

Toy

Members
  • Posts

    98
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Toy's Achievements

Member

Member (2/5)

0

Reputation

  1. sorry for bad explanation and unrelevant code, Imma try to simplify I have a bunch of instances filtered by checkboxes, an instance can have several "categories" or well, checkboxes... and I just wanna narrow it down using jquery what I do for every checkbox press is hide the ones who does not fit in to the category, but if I then would uncheck the box, it wouldnt take in regard what has already been censored out and this is kind of where I dont really know how to think
  2. sorry, I know function filter(title,status) { $('.listdiv').each(function(){ if($(this).children("img").hasClass(name)) { } else{ if(status == 0) { $(this).css("display", "none"); } else { $(this).css("display", ""); } } }) } basicly I want to do it so that it takes regard of what boxes are already limiting when it unchecks(displays the instances)
  3. hello, im kind of stuck because I can't think clearly,using jquery right now its like, click a checkbox to limit the submissions to that category, and if a submissions lies within multiple categories you can click several check boxes to further nail down the results, but at the moment im just doing like, button calls function to hide all instances not under that category, uncheck the button to show them again, works great but if you would say have a submission that lies beyond 3 categories you could press three boxes and you would find it, but if you now would uncheck one box it'd just show all of the submissions not under that category even if they have been filtered before... it seems like im over complicating it, basicly I just need the thought process for filtering like this
  4. Toy

    create to png?

    it's ok, I solved it, .png didn't base of same quality meter as .jpg&gif and I had to do it slightly different
  5. Toy

    create to png?

    Anyone? I've googled for a while but I can't seem to find out why the png image creating is so different from jpg and gif, did a phpinfo and everything is enabled :/
  6. hi, I'm currently trying to resize and create pictures and .jpg/jpeg & .gif works perfectly but .png just creates an empty 0bit image, why?! $ = imagecreatefrompng(); imagecopyresampled(); imagepng(); I'm doing something like that and it - as said - works great with .jpg and gif but at png it just fucks up. :/
  7. Toy

    beginner to flash

    so I've always loved flash but due to the lack off decent tutorials in the as3 game community I'm kind of slow in the learning process. I'm currently stuck at some kind of character selection screen, there should be multiple choices of characters and when one of these is clicked it'd pass the data onto another frame or event or such, hmm, if you don't want to I don't really need code written for me or anything, I mostly just want to know the logic behind how to do it. also if you would recommend any good game tutorials feel free
  8. Toy

    HELLO GUYS :)

    sorry, I'm not that familiar with all edges off php, anyways thank you all:) much appreciated EDIT: why can't I mark it as solved? :S
  9. Toy

    HELLO GUYS :)

    <?php include("include/connect.php"); if (isset($_GET['value'])) { echo $_GET['value']; // still works and outputs the value fine if (isset($_POST['submit'])) { // here the value of "value" dissapears! mysql_query('insert into test (one, two) values("'.$_GET['value'].'", "normal text")'); } } ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <input type="submit" name="submit"> </form> .php?value=hamburger will now output a lovely onetwo (BLANK FIELD)normal text
  10. Toy

    HELLO GUYS :)

    I'm pretty certain I'm not doing anything wrong, other values such as the session information was successfully inserted, only the GET data that just left a blank... :/ If you still want I can post my code if that would be to any help.
  11. I'm trying to $_GET a value and then input it into my database but this obviously doesn't work, I have no idea why. As soon as I run a "if (isset($_POST['submit']" action the value of the $_GET dissapears completly, I have no idea why, I've tried both XAMPP and WAMP with Apache and MySQL but it doesn't seem to work. Is this simply just not possible or am I doing something wrong...Help me!!!
  12. @sasa, I'd rather not as it would look totally wrong @swharrell, actually I'm not trying to do it on user input Look, there's simply four buttons, when I press button one, div 1 is going to appear, if I then click button three, div 3 is going to appear but div 1 should still be visible, get my drift? Is there any alternative to issets or whatever, because I'd love to not have to use checkboxes
  13. wouldn't that just show all of the boxes :S?
  14. oh, that's sad does anyone know any other ways of doing this if not using issets? it would be helpfull:) edit:oh, I didn't read your post properly, you mean like using text links or things like that?okay,thanks! would still need some help on how!
×
×
  • 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.