dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: cybercampbell

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    824

    jQuery jQuery slide in menu animation bug

    I have written a script to have a slide in top bar (branding) and a menu that site above and below a slider (or banner). When they scroll back in it's just the branding and the menu.. no slider or...
  2. Worked perfectly!!!! Thanks again.

    Worked perfectly!!!!

    Thanks again.
  3. Hi NogDog I need a little help with a further...

    Hi NogDog

    I need a little help with a further customization of this script. The search for 'Tag' is perfect but I need another function that searches through the:

    [title]
    [album]...
  4. Awesome..all working thanks loads!! ...

    Awesome..all working thanks loads!!

    Unfortuanatly the data is coming from a third party api so I can only get it as a serialized php array, json or xml. I figured php was the easiest for me as...
  5. hmmm works with your array but not mine... I only...

    hmmm works with your array but not mine... I only get results from the first album. Strange thing is my array is the exact same format as the example one I used here.

    Can I PM you my actual array...
  6. Also need to make sure it only matches in the...

    Also need to make sure it only matches in the tags array and not any other.

    eg:

    wouldn't want it to match the word cybercampbell in the album name:


    [0] => Array
    (...
  7. ok.. I read that in_array doesn't support...

    ok.. I read that in_array doesn't support multidimensional arrays so I found a recursive function.

    I know have this but it only returns 2 results even though I know it should return more.

    ...
  8. actually... thats not right and not working... I...

    actually... thats not right and not working... I feel it should be this:


    foreach($albumInfo as $album) {
    foreach($album['videos'] as $video) {
    if(in_array($searchTag, $video)) {
    ...
  9. ok.. i think i worked this out. It seems to be...

    ok.. i think i worked this out. It seems to be working.

    Can you see anything wrong with this:


    $matches = array();

    foreach($albumInfo as $album) {
    foreach($album['videos'] as $video)...
  10. Thanks Nog Dog there was a missing bracket on...

    Thanks Nog Dog

    there was a missing bracket on line 4 but even when I put that in I didn't get any results.

    just this:


    Array
    (
    )
  11. Search multidimensional array and return new array

    Hi all

    I'm stuck on this an i'm hopping to get some help.

    I need to search an array of albums and videos (videos are child arrays of the album) for a value (in my case a tag) and then return...
  12. Replies
    2
    Views
    732

    if this is not possible then someone please tell...

    if this is not possible then someone please tell me so i can rethink this.

    Any advice is much appreciated
  13. Replies
    2
    Views
    732

    I did play a little with ajax for this but still...

    I did play a little with ajax for this but still didnt work.

    should have read

    I did play a little with jquery for this but still didnt work.

    it was late, sorry :(
  14. Replies
    2
    Views
    732

    Tile 2 popup windows

    Hi all

    I have struggled with this for a week now and seem to hit walls everywhere I go...so here i am looking for some help with this....hopfuly it is possible.

    I need to TILE 2 popup...
  15. Replies
    4
    Views
    849

    Get a $variable inside my function

    Hi all

    I have some variables set at the top on my script...

    eg:


    $myName = 'Jack';
    $myEmail = 'jack.campbell@hotmail.com';
    $myMessage = 'Be good to all';
  16. Replies
    16
    Views
    2,219

    arrrr!!!! This is killing me...I have tried...

    arrrr!!!!

    This is killing me...I have tried loads of thing and I make it work. :(

    Any help would be much appreciated.

    C
  17. Replies
    16
    Views
    2,219

    this is what I have now:

    this is what I have now:



    <?php

    function modFilesRecursive($topDirectory)
    {
    if(!is_dir($topDirectory) or !is_readable($topDirectory))
    {
  18. Replies
    16
    Views
    2,219

    this works: $movFiles =...

    this works:


    $movFiles = array_merge(glob("$topDirectory/*.mov"),glob("$topDirectory/*.mp4"),glob("$topDirectory/*.mpg"));

    But is it the best way?
  19. Replies
    16
    Views
    2,219

    YEAH!!! thats working now. any ideas...

    YEAH!!! thats working now.

    any ideas regarding post #5 in this thread?

    Cheers
    C
  20. Replies
    16
    Views
    2,219

    I found this...I think it might help with the...

    I found this...I think it might help with the checking if the conversion worked and logging it to a log file:


    I wanted my script to:

    * execute an external command.
    * check if the execution...
  21. Replies
    16
    Views
    2,219

    I can't get Nogdog's script to work...please...

    I can't get Nogdog's script to work...please .....anyone!!
  22. Replies
    16
    Views
    2,219

    Hi NogDog Any chance you can see what i'm...

    Hi NogDog

    Any chance you can see what i'm doing wrong with your script?

    Cheers
    Chris
  23. Replies
    16
    Views
    2,219

    Arrrr!!!! I tried some logging stuff but It...

    Arrrr!!!!

    I tried some logging stuff but It messed up...I don't quite get it...

    Any takers on this?

    Cheers
    C
  24. Replies
    16
    Views
    2,219

    This doesn't work for me...maybe I'm doing...

    This doesn't work for me...maybe I'm doing something wrong.

    this is what I have:



    <?php

    function modFilesRecursive($topDirectory)
    {
  25. Replies
    16
    Views
    2,219

    thats the easy part...its the looping through the...

    thats the easy part...its the looping through the directories, if exists, logging and error handling that I'm having trouble with.

    any more advice along those lines?

    Cheers
    C
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles