Activity Stream

Filter
Sort By Time Show
Recent Recent Popular Popular Anytime Anytime Last 24 Hours Last 24 Hours Last 7 Days Last 7 Days Last 30 Days Last 30 Days All All Photos Photos Forum Forums Blog Blogs
  • molendijk's Avatar
    Yesterday, 10:40 PM
    There are many 'tab content scripts' on the web that let you organize hidden DIV contents into a tab interface, with the desired content appearing...
    0 replies | 61 view(s)
  • DyDr's Avatar
    Yesterday, 07:38 PM
    DyDr replied to a thread Index Being Recalculated in PHP
    Speaking of which, there is a typo error in some of the repeated logic, that's causing different spacing between the categories in the menus. The...
    17 replies | 866 view(s)
  • marain's Avatar
    05-28-2016, 04:49 PM
    marain replied to a thread Index Being Recalculated in PHP
    It would have taken me forever, or longer, to figure that out. I vastly prefer elegance to inefficiency. In this case, that preference, of...
    17 replies | 866 view(s)
  • jscheuer1's Avatar
    05-28-2016, 04:11 PM
    jscheuer1 replied to a thread Index Being Recalculated in PHP
    I setup a test page I named: menuitems_h.php - that I put the code from menuCode.txt in. I ran that, and it only made one menu. So it had to be...
    17 replies | 866 view(s)
  • styxlawyer's Avatar
    05-28-2016, 02:53 PM
    styxlawyer replied to a thread Index Being Recalculated in PHP
    OP is a common forum acronym for Original Poster (the member who started the thread) and @OP is simply directing a comment to that member. Hope...
    17 replies | 866 view(s)
  • marain's Avatar
    05-28-2016, 01:56 PM
    marain replied to a thread Index Being Recalculated in PHP
    It works as desired with no discernible issues. What befuddled me was that if the unset ($lemma); command is actually inside of a loop, it is not...
    17 replies | 866 view(s)
  • erguebitox's Avatar
    05-28-2016, 05:54 AM
    Script: Ultimate Fade-in slideshow (v2.6.1) / Guide to Responsive Ultimate Fade In Slideshow ...
    0 replies | 74 view(s)
  • jscheuer1's Avatar
    05-28-2016, 03:33 AM
    jscheuer1 replied to a thread Index Being Recalculated in PHP
    It's not really that complicated, if in fact my suggestion worked without causing any additional problem(s), the most likely possible problem being...
    17 replies | 866 view(s)
  • Beverleyh's Avatar
    05-28-2016, 12:34 AM
    Both are needed to keep both the width and the height of the image responsive.
    2 replies | 262 view(s)
  • molendijk's Avatar
    05-27-2016, 11:10 PM
    Nice! This css gives the image its natural dimensions. So I would think that you don't need both max-width and max-height. Either max-width: 100% or...
    2 replies | 262 view(s)
  • marain's Avatar
    05-27-2016, 10:39 PM
    marain replied to a thread Index Being Recalculated in PHP
    John, Your suggested code does indeed fix it. (As indicated in post #3, I'll now need to decide whether I want it to stay "fixed." Regardless, I...
    17 replies | 866 view(s)
  • jscheuer1's Avatar
    05-27-2016, 05:40 PM
    jscheuer1 replied to a thread Index Being Recalculated in PHP
    This will probably fix it (as highlighted, also as explained in my previous post): $lemma = rand (0, count($quotations) -1); $menuLabelIndex =...
    17 replies | 866 view(s)
  • DyDr's Avatar
    05-27-2016, 05:32 PM
    DyDr replied to a thread Index Being Recalculated in PHP
    Okay, so it's not always the next one now. The supplied code cannot be producing the linked to web page. The supplied code is looping once. It is...
    17 replies | 866 view(s)
  • jscheuer1's Avatar
    05-27-2016, 04:38 PM
    jscheuer1 replied to a thread Index Being Recalculated in PHP
    That's it. The code is being used twice. Once for the side menu when $menuType is 'button' and once for the bottom menu when $menuType is not...
    17 replies | 866 view(s)
  • jscheuer1's Avatar
    05-27-2016, 04:29 PM
    jscheuer1 replied to a thread Index Being Recalculated in PHP
    OK, my diagnosis is that DyDr was right at first when he speculated: "you are calling or including/requiring the posted section of code more than...
    17 replies | 866 view(s)
  • Feznizzle's Avatar
    05-27-2016, 04:23 PM
    Solution found. This call does the trick: <a href="javascript:void(0)" onclick="expandcontent('sc2',...
    4 replies | 174 view(s)
  • jscheuer1's Avatar
    05-27-2016, 04:11 PM
    jscheuer1 replied to a thread Index Being Recalculated in PHP
    No, it is not. Sometimes it is the same, sometimes it is another one not anywhere near being next in the array.
    17 replies | 866 view(s)
  • DyDr's Avatar
    05-27-2016, 03:33 PM
    DyDr replied to a thread Index Being Recalculated in PHP
    Note, the second quotation is always the next entry in the array from the first quotation. The problem is due to this - $i++, on about line 358 in...
    17 replies | 866 view(s)
  • marain's Avatar
    05-27-2016, 02:53 PM
    marain replied to a thread Index Being Recalculated in PHP
    I do not believe any of the situations you describe are happening, but I could be wrong. (I've been maintaining this code for years, but I was not...
    17 replies | 866 view(s)
  • DyDr's Avatar
    05-27-2016, 02:30 PM
    DyDr replied to a thread Index Being Recalculated in PHP
    The only way the index value would be recalculated during one execution/request of the script is if you are calling or including/requiring the posted...
    17 replies | 866 view(s)
  • marain's Avatar
    05-27-2016, 01:48 PM
    marain replied to a thread Index Being Recalculated in PHP
    That IS the post in question. I can provide the full code if you like, although it exceeds 500 lines. (A fair number of those lines are comments.) ...
    17 replies | 866 view(s)
  • jscheuer1's Avatar
    05-27-2016, 01:21 PM
    I'm not familiar with Microsoft Word document format for links. And using Google, all I'm getting is how to use Word to make links, nothing on what...
    3 replies | 164 view(s)
  • jscheuer1's Avatar
    05-27-2016, 01:11 PM
    jscheuer1 replied to a thread Index Being Recalculated in PHP
    Is this the post you're talking about? If so, I would need to see the full code, or at least the fuller code. I would need enough to both run these...
    17 replies | 866 view(s)
  • Feznizzle's Avatar
    05-27-2016, 01:08 PM
    Thanks for the input! Styxlawyer, I think you're on the right track. I just can't figure out the correct way to do that. I just tried this: <a...
    4 replies | 174 view(s)
More Activity