Forum Replies Created

Page 23 of 54
  • Curtis Thompson

    April 4, 2011 at 3:17 pm in reply to: Advice for jquery video gallery/player

    hello…

    well – a very good html 5 video player is videojs:

    https://videojs.com/

    he doesn’t have a playlist, but if you had enough html and jquery knowledge, you could add one in pretty easily…

    not exactly what you want, but the video playing part is handled nicely.

    sitruc

  • Curtis Thompson

    March 31, 2011 at 2:57 am in reply to: FLV, F4V, SWF Which format is best?

    hello…

    it depends on your content – you should also consider rendering other formats as well, such as ogg or webm so that you are covered for non-flash visitors as well…

    (if possible, that is – if you have a few hundred then that might be too much to take on)

    as for which one is better, it really depends on which produces the smallest file size and best quality – i would probably start with flv, though – but if you want the hd quality, then you might need that. pick one movie and run it through all of ’em to see which you happen to like best…

    hope that helps…

    sitruc

  • hello…

    short answer is it’s their own custom-created skin over a mp4 video…so basically html5 video in most cases…

    html5 video is a complex thing that is beyond explanation here in a simple post. your best bet is to google it and learn, or here is a good starting point:

    https://camendesign.com/code/video_for_everybody

    in html5 video, you can ultimately use css to customize a skin (what you see them doing over the video) – here’s an open-source tool that you can use to do that:

    https://videojs.com/

    but again – the apple one is a custom implementation, but certainly something you could replicate…

    hope that helps!

    sitruc

  • Curtis Thompson

    February 17, 2011 at 4:34 pm in reply to: Social Media Site-templates and coding?

    hello…

    ooh – not sure if you’ve done this already, but if not, i would really have a more detailed conversation with your client as to what their needs are and see if something like their own social network site is really the solution to their goal. this is definitely not a case of “build it and they will come.”

    why wouldn’t leveraging the existing king (for better or for worse) of social media (facebook) be desirable? you can build the best custom site in the world, but users won’t come to it if they are already using another site to do the same thing…

    as to templates, etc. – i’d start using a basic forum such as phpbb or the likes. it won’t be a “social media site”, but it will offer a lot of the same functionality, such as posts, commenting, media uploads, etc…

    hope that helps!

    sitruc

  • Curtis Thompson

    February 13, 2011 at 4:00 pm in reply to: Any idea how this effect is achieved

    hello…

    it’s a custom version of a javascript accordion effect. here’s an article on a typical one:

    https://solutoire.com/2006/11/29/mootools-horizontal-accordions-explained/

    it has a few examples such as this:

    https://www.solutoire.com/experiments/mootools10/acc_ex3.html

    they just made it horizontal and didn’t collapse the sections the entire way when they were selected…

    hope that helps!

    sitruc

  • Curtis Thompson

    February 11, 2011 at 3:29 pm in reply to: load content in div on same page

    hello…

    it’s hard to explain, so i just made a simpler example which should get you started. it’s just using name links in a scrollable div…

    https://sitruc.com/cow/div_jump/

    hope that helps…

    sitruc

  • Curtis Thompson

    January 26, 2011 at 9:55 pm in reply to: Repeat Regions

    hello…

    well – yup. you would add the code that i posted in the first response in your do -> while loop and just start a new box after the counter reached your threshold.

    but alas, i don’t use dreamweaver, so i can’t tell you how you would use their interface to do that…but this is the rough model for it:

    <?php
    $break_at = 10; // show this many products per box
    $bt = 1; // our tally tracker
    ?>

    <?php do { ?>
    ... existing html code
    <?php
    $bt++;
    if ($bt == $break_at) {
    ?>
    ... box code closer
    .... box code opener
    <?php
    $bt = 1; // start the tally over
    ?>
    <?php
    }
    ?>
    <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>

    sorry i can’t be of more help in dreamweaver itself… :-/

    sitruc

  • Curtis Thompson

    January 26, 2011 at 9:31 pm in reply to: Repeat Regions

    hello…

    well – w/o knowing exactly what you mean by “recordset” (and i mean in terms of what that represents in your code – an item in an array, i assume?) it’s tough to say…but…

    the same advice i had before would still apply – so i guess that a recordset means something else in your code. but the same logic applies. if you are looping through your records and drawing them in a box, you can just set up a variable to say “after X items, stop this box, draw a new box and then continue rendering in that new box”…

    does that seem to apply to your setup at all?

    sitruc

  • Curtis Thompson

    January 26, 2011 at 9:03 pm in reply to: Repeat Regions

    ooh – sorry. with the screenshot and additional info, it got more confusing as to what you want to achieve… :-/

  • Curtis Thompson

    January 26, 2011 at 8:22 pm in reply to: Repeat Regions

    hello…

    [Richard Williams] “Ive said flat out NO.. since it is dynamic content this just is not possible… Everyone agree???”

    unfortunately, nope – can’t agree… 🙂

    not sure if you mean another page after 10 items, or literally just another box – so like:

    —–
    |p1 |
    |p2 |
    |…|
    |p10|
    —–

    —–
    |p11|
    |p12|
    |…|
    |p20|
    —–

    but either one is possible. if you mean the example above, then you’d do this:

    i assume that you have your products showing in a loop. if so, then it’s probably like:

    // echo box code opener

    foreach ($prod as $p) {
    // echo product $p to screen
    }

    // echo box code closer

    you can alter that to restart a box in the loop at any given point – so like:

    $break_at = 10; // show this many products per box
    $bt = 1; // our tally tracker

    // echo box code opener

    foreach ($prod as $p) {
    // echo product $p to screen
    $bt++;
    if ($bt == $break_at) {
    // echo box code closer
    // echo box code opener
    $bt = 1; // start the tally over
    }
    }

    // echo box code closer

    rough example, but that’s how you’d do it…make sense? or is that not what you mean?

    sitruc

Page 23 of 54

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy